* \n to PHP_EOL * add phpdoc for autocomplete * try to unify indentations * stop mixing quotation marks if possible
53 lines
1.1 KiB
PHP
53 lines
1.1 KiB
PHP
<?php
|
|
namespace Aowow\Template;
|
|
|
|
use \Aowow\Lang;
|
|
|
|
/** @var PageTemplate $this */
|
|
|
|
$this->brick('header');
|
|
?>
|
|
|
|
<div class="main" id="main">
|
|
<div class="main-precontents" id="main-precontents"></div>
|
|
<div class="main-contents" id="main-contents">
|
|
|
|
<?php
|
|
$this->brick('announcement');
|
|
|
|
$this->brick('pageTemplate');
|
|
|
|
$this->brick('infobox');
|
|
?>
|
|
|
|
<div class="text">
|
|
|
|
<?php
|
|
$this->brick('redButtons');
|
|
?>
|
|
|
|
<h1><?=$this->h1; ?></h1>
|
|
<div id="h1-icon-0" class="h1-icon"></div>
|
|
<script type="text/javascript">//<![CDATA[
|
|
$WH.ge('h1-icon-0').appendChild(Icon.create("<?=$this->icon;?>", 2));
|
|
//]]></script>
|
|
|
|
<?php
|
|
$this->brick('markup', ['markup' => $this->article]);
|
|
?>
|
|
|
|
<div class="clear"></div>
|
|
<h2 class="clear"><?=Lang::main('related'); ?></h2>
|
|
</div>
|
|
|
|
<?php
|
|
$this->brick('lvTabs');
|
|
|
|
$this->brick('contribute');
|
|
?>
|
|
|
|
<div class="clear"></div>
|
|
</div><!-- main-contents -->
|
|
</div><!-- main -->
|
|
|
|
<?php $this->brick('footer'); ?>
|