- Timestamp:
- Jun 5, 2014, 11:54:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/template.php
r561 r567 399 399 $show_rel_prev = in_array('show-rel-prev', $this->current_link_classes); 400 400 401 // Footer-String, um Footer je nach Footer-Menue "da" oder "nicht da" einbinden zu koennen 402 $footer_text = <<<FOOTER 403 404 FOOTER; 401 405 ?> 402 406 <footer class="in-sheet <?php if(!$print_footer_menu) print "empty-footer"; ?>"> … … 404 408 <!-- hier wird nav.side die Liste per JS reinkopiert --> 405 409 </nav> 406 <nav class="rel clearfix ">410 <nav class="rel clearfix <?php if(!$print_footer_menu) print "empty"; ?>"> 407 411 <ul> 408 412 <?php … … 424 428 </ul> 425 429 </nav> 430 <?php 431 // packe Bigfooter bei leerem Footer-Menue in footer.in-sheet 432 if(!$print_footer_menu) 433 $this->print_footer_text(); 434 ?> 426 435 <div class="right"> 427 436 <!-- text der rechts unten steht --> … … 430 439 </div> <!--! end of #container --> 431 440 <footer class="attached"> 432 <div class="legacy"><?php $p('footer-legacy-text'); ?></div> 433 <!-- 434 <ul class="clearfix"> 435 <li class="logo"> 436 <a href="<?php $href($p('footer-legal-file')); ?>" class="img" title="technikum29 Logo">Logo</a> 437 <p><?php $p('footer-copyright-tag'); ?> 438 <br><?php printf('<a href="%s">%s</a>', $href($_('footer-legal-file')), $_('footer-legal-link')); ?> 439 </p> 440 </li> 441 <li class="copy"> 442 <a href="<?php $href($p('footer-legal-file')); ?>#image-copyright" class="img">CC</a> 443 <p>Viele Bilder können unter einer <a href="<?php $href($p('footer-legal-file')); ?>#image-copyright">CreativeCommons-Lizenz</a> 444 verwendet werden. <a href="<?php $href($p('footer-legal-file')); ?>#image-copyright">Erkundigen Sie sich</a>.</p> 445 </li> 446 </ul> 447 --> 441 <!--<div class="legacy"><?php $p('footer-legacy-text'); ?></div>--> 448 442 <?php 443 // packe Bigfooter bei gefuelltem footer.in-sheet nach footer.attached. 444 if($print_footer_menu) 445 $this->print_footer_text(); 446 449 447 // pending log messages 450 448 if(!$this->log->is_empty()) { … … 455 453 ?> 456 454 </footer> 457 < /div><!-- end of div id="footer-background-container" helper -->455 <?php /*</div><!-- end of div id="footer-background-container" helper -->*/ // seems misplaced ?> 458 456 459 457 <?php /* JavaScript at the bottom for fast page loading */ ?> … … 474 472 } // function print_footer() 475 473 474 /** 475 * Den "Bigfooter"-Text ausgeben. 476 * Hilfsfunktion fuer print_footer(). 477 * (Grund: Implementierung als langer String in print_footer() ist unbequem) 478 **/ 479 private function print_footer_text() { 480 $p = $this->msg->get_shorthand_printer(); // t29Messages gettext printer 481 $_ = $this->msg->get_shorthand_returner(); // t29Messages gettext 482 $href = $this->conf['host']->get_shorthand_link_returner(); // t29Host link rewriter 483 484 ?><div class="bigfooter"> 485 <ul class="clearfix"> 486 <li class="logo"><a href="<?php print $href($_('footer-legal-file')); ?>" class="clearfix"><!-- FIXME: clearfix should be semantically performed --> 487 <i title="technikum29 Logo">Logo</i> 488 <span class="p"><?php $p('footer-copyright-tag'); ?> 489 <br><u><?php $p('footer-legal-link'); ?></u> 490 </span> 491 </a></li> 492 <li class="copy"><a href="<?php print $href($_('footer-legal-file')); ?>#image-copyright" class="clearfix"> 493 <i>CC</i> 494 <span class="p">Viele Bilder können unter einer <u>CreativeCommons-Lizenz</u> 495 verwendet werden. <u>Erkundigen Sie sich</u>.</span> 496 </a></li> 497 </ul> 498 </div><?php 499 } 500 476 501 // Hilfsfunktionen 477 502 private function relational_link_to_string($a) {
Note: See TracChangeset
for help on using the changeset viewer.