Changeset 307 in t29-www for lib/template.php


Ignore:
Timestamp:
Oct 10, 2012, 2:07:53 AM (11 years ago)
Author:
sven
Message:
  • Fehlerseite (404) mit besserem Text (mehrsprachig) bestückt
  • t29Client PHP-Klasse hinzugefügt (noch keine große Verwendung)
  • Kleines Design für Tablet-Computer und schmale Bildschirme geschrieben
  • Fixes in robots.txt (piwik-Logging-Mountpoint nicht erschliessen)
  • template.php: Klassendurchreichen einer Information ueber leere Footer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/template.php

    r306 r307  
    264264    </header>
    265265        <hr>
    266     <footer class="in-sheet">
     266        <?php
     267                // only print menu when in sidebar where it applies
     268                $print_footer_menu = ($this->conf['seite_in_nav'] == 'side');
     269        ?>
     270    <footer class="in-sheet <? if(!$print_footer_menu) print "empty-footer"; ?>">
    267271                <nav class="guide">
    268272                        <!-- hier wird nav.side die Liste per JS reinkopiert -->
     
    271275                <ul>
    272276                        <?php
    273                           // only print menu when in sidebar where it applies
    274                           if($this->conf['seite_in_nav'] == 'side')
     277                          if($print_footer_menu)
    275278                                foreach($this->page_relations as $rel => $a) {
    276279                                        printf("\t<li class='%s'><a href='%s' title='%s'>%s <strong>%s</strong></a>\n",
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License