Changeset 307 in t29-www


Ignore:
Timestamp:
Oct 10, 2012, 2:07:53 AM (7 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
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • lib/404.php

    r297 r307  
    6161}
    6262
     63require_once "$lib/client.php";
     64if(t29Client::getLanguage() == "de") {
    6365?>
    6466<h2>404 Seite nicht gefunden</h2>
    65 
    66 <p>Die gewünschte Adresse
    67 
    6867<address><?=$wanted_page; ?></address>
    69 
    70 <p>konnte nicht geladen werden. Probieren Sie folgendes... blabla ...
     68<p>Unsere Website wurde im Herbst 2012 neugestartet. Sie können unsere Suche oder
     69die Navigation verwenden, um vielleicht doch noch an die gewünschten Informationen
     70zu kommen.</p>
     71<?php
     72} else { // language
     73?>
     74<h2>404 Page not found</h2>
     75<address><?=$wanted_page; ?></address>
     76<p>Our website was reconstructed in autumn 2012. Maybe you find your wanted website
     77in the navigation or our new search form.</p>
     78<?php
     79} // language
  • 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",
  • robots.txt

    r153 r307  
    44Disallow: /dev/
    55Disallow: /en/dev/
     6Disallow: /logs/
    67Allow: /de/
    78Allow: /en/
     
    1112Disallow: /klima-laerm/
    1213Disallow: /schule/
    13 Disallow: /klasse10a
    14 Disallow: /physik-gk
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