Changeset 569 in t29-www for lib/menu.php


Ignore:
Timestamp:
Jun 6, 2014, 11:11:52 AM (5 years ago)
Author:
sven
Message:

Sitemap hinzugefügt (Demonstration)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/menu.php

    r390 r569  
    1616        // Bevor es eine ordentliche Dev-Moeglichkeit gibt: Der magische
    1717        // Schalter zum Ausblenden der Geraeteseiten im Menue
    18         const hide_geraete_seiten = true;
     18        public $hide_geraete_seiten = true;
    1919
    2020        // jeweils relativ zum lang_path
     
    7171         **/
    7272        function convert_news_data($host=null) {
    73                 require $this->conf['lib'].'/spyc.php';
     73                require_once $this->conf['lib'].'/spyc.php';
    7474                $data = Spyc::YAMLLoad($this->load_news_data());
    7575                $fields = array('titel', 'text', 'link', /*'bild'*/);
     
    295295
    296296                // Geraete-Seiten entfernen
    297                 if(self::hide_geraete_seiten) {
     297                if($this->hide_geraete_seiten) {
    298298                        $geraete_uls = $xml->xpath("//ul[contains(@class, 'geraete')]");
    299299                        foreach($geraete_uls as $ul) {
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