Template/Home

* update footer to current year
 * display current revision
This commit is contained in:
Sarjuuk
2016-01-31 18:58:15 +01:00
parent f076a30180
commit 0220587637
4 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<?php <?php
define('AOWOW_REVISION', 15); define('AOWOW_REVISION', 16);
define('CLI', PHP_SAPI === 'cli'); define('CLI', PHP_SAPI === 'cli');

View File

@@ -4,25 +4,25 @@
<?php $this->brick('head'); ?> <?php $this->brick('head'); ?>
</head> </head>
<body<?php echo User::isPremium() ? ' class="premium-logo"' : null; ?>> <body<?=(User::isPremium() ? ' class="premium-logo"' : null); ?>>
<div id="layers"></div> <div id="layers"></div>
<div class="layout nosidebar" id="layout"> <div class="layout nosidebar" id="layout">
<div class="layout-inner" id="layout-inner"> <div class="layout-inner" id="layout-inner">
<div class="header" id="header"> <div class="header" id="header">
<div id="header-logo"> <div id="header-logo">
<a class="header-logo" href="."></a> <a class="header-logo" href="."></a>
<h1><?php echo htmlentities($this->name); ?></h1> <h1><?=htmlentities($this->name); ?></h1>
</div> </div>
</div> </div>
<div id="wrapper" class="wrapper"> <div id="wrapper" class="wrapper">
<div class="toplinks linklist"><?php $this->brick('headerMenu'); ?></div> <div class="toplinks linklist"><?php $this->brick('headerMenu'); ?></div>
<div class="toptabs" id="toptabs"></div> <div class="toptabs" id="toptabs"></div>
<div class="topbar" id="topbar"> <div class="topbar" id="topbar">
<div class="topbar-search"><form action="."><a href="javascript:;"></a><input name="search" size="35" id="livesearch-generic" value="<?php echo isset($this->search) ? $this->search : ''; ?>" /></form></div> <div class="topbar-search"><form action="."><a href="javascript:;"></a><input name="search" size="35" id="livesearch-generic" value="<?=(isset($this->search) ? $this->search : ''); ?>" /></form></div>
<div class="topbar-browse" id="topbar-browse"></div> <div class="topbar-browse" id="topbar-browse"></div>
<div class="topbar-buttons" id="topbar-buttons"></div> <div class="topbar-buttons" id="topbar-buttons"></div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
<?php echo $this->writeGlobalVars(); ?> <?=$this->writeGlobalVars(); ?>
</script> </script>

View File

@@ -6,5 +6,4 @@ else:
echo '<a href="?account=signin">'.Lang::main('signIn').'</a>'; echo '<a href="?account=signin">'.Lang::main('signIn').'</a>';
endif; endif;
?> ?>
|<a href="#" id="toplinks-feedback" class="icon-email"><?php echo Lang::main('feedback'); ?></a> |<a href="#" id="toplinks-feedback" class="icon-email"><?=Lang::main('feedback'); ?></a>|<a href="javascript:;" id="toplinks-language"><?=Lang::main('language'); ?></a>
|<a href="javascript:;" id="toplinks-language"><?php echo Lang::main('language'); ?></a>

View File

@@ -68,10 +68,11 @@ endif;
<div class="footer"> <div class="footer">
<div class="footer-links linklist"> <div class="footer-links linklist">
<a href="?aboutus"><?=Lang::main('aboutUs'); ?></a>| <a href="?aboutus"><?=Lang::main('aboutUs'); ?></a>|<a href="#" id="footer-links-language"><?=Lang::main('language'); ?></a>
<a href="#" id="footer-links-language"><?=Lang::main('language'); ?></a> </div>
<div class="footer-copy">
&#12484; 2016 Aowow<br />rev. <?=AOWOW_REVISION; ?>
</div> </div>
<div class="footer-copy">&#12484; 2015 Aowow</div>
</div> </div>
<?php $this->brick('pageTemplate'); ?> <?php $this->brick('pageTemplate'); ?>