Files
aowow/template/pages/text-page-generic.tpl.php
Sarjuuk ebc7a9bee8 implemented user page
well .. most of it anyway
2015-05-20 22:36:42 +02:00

53 lines
1.3 KiB
PHP

<?php $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');
if (isset($this->notFound)):
?>
<div class="pad3"></div>
<div class="inputbox">
<h1><?php echo $this->notFound['title']; ?></h1>
<div id="inputbox-error"><?php echo $this->notFound['msg']; ?></div>
<?php
else:
?>
<div class="text">
<h1><?php echo $this->name; ?></h1>
<?php
$this->brick('article');
if (isset($this->extraText)):
?>
<div id="text-generic" class="left"></div>
<script type="text/javascript">//<![CDATA[
Markup.printHtml("<?php echo Util::jsEscape($this->extraText); ?>", "text-generic", {
allow: Markup.CLASS_ADMIN,
dbpage: true
});
//]]></script>
<div class="pad2"></div>
<?php
endif;
if (isset($this->extraHTML)):
echo $this->extraHTML;
endif;
endif;
?>
</div>
</div><!-- main-contents -->
</div><!-- main -->
<?php $this->brick('footer'); ?>