Changeset 1491 in t29-www


Ignore:
Timestamp:
Feb 4, 2019, 1:08:16 PM (7 months ago)
Author:
sven
Message:

Adding a small blog (incl. first post), fixing english imprint.

Files:
13 added
5 edited

Legend:

Unmodified
Added
Removed
  • README.txt

    r335 r1491  
    1515
    1616Das Verzeichnis /shared/cache muss fuer den Webserver writable sein.
     17
     18Benoetigte PHP-Packete
     19----------------------
     20
     21* SimpleXML (php-xml)
     22
     23
  • de/navigation.xml

    r1479 r1491  
    2525                </ul>
    2626        </li>
     27        <li><a seiten_id="blog" href="/blog/">Blog</a></li>
    2728        <li class="has-submenu"><a href="/de/lernprojekte/">Projekte</a>
    2829                <ul class="u2">
  • en/contact.php

    r1489 r1491  
    1111?>
    1212    <h2>Contact</h2>
     13    <p>Since the sudden <a href="/heribert-mueller/">pass away of Heribert Müller</a> in April
     14    2018, the provisional lead of the museum is up to the community of heirs as well as
     15    friends and volunteers of the museum. We are reachable via:
    1316
    1417    <div class="vcard" id="address">
    1518                <div class="org hidden">technikum29 Computer Museum</div>
    16                 <div class="fn">Dipl. Phys. H. M&uuml;ller</div>
     19                <div class="fn">Dipl. Phys. H. M&uuml;ller, Community of Heirs</div>
    1720                <div class="adr">
    1821                        <div class="street-address hidden">Am Flachsland 29</div>
     
    2023                        <span class="country-name">Germany</span>
    2124                </div>
    22                 <div>e-mail: <a class="email" href="mailto:post@technikum29.de">post@technikum29.de</a></div>
     25                <div>e-mail: <a class="email" href="mailto:contact@technikum29.de">contact@technikum29.de</a></div>
     26                <div>phone (mail box): <a href="tel:00496195805777">0049-6195-805777</a></div>
    2327                <div>internet: <a class="url" href="http://www.technikum29.de/">www.technikum29.de</a></div>
    2428                <div class="hidden">Photo: <img class="photo" src="/shared/photos/start/museum.jpg" alt="Photography of the museum building" /></div>
  • en/navigation.xml

    r1483 r1491  
    2121                </ul>
    2222        </li>
     23        <li><a seiten_id="blog" href="/blog/">Blog</a></li>
    2324        <!--<li><a seiten_id="termine" href="/en/events.php">Events</a></li>-->
    2425        <li class="has-submenu"><a href="/en/development-projects.php">Projects</a>
  • lib/menu.php

    r1074 r1491  
    3737                // will fetch them with libxml_get_errors later.
    3838                //libxml_use_internal_errors(true);
    39 
    40                 // load xml file
    41                 $this->xml = simplexml_load_file($this->conf['webroot'].$this->conf['lang_path'] . '/' . self::navigation_file);
    42                 if($this->xml_is_defective()) {
    43                         trigger_error("Kann Navigationsdatei nicht verwenden, da das XML nicht sauber ist. Bitte reparieren!");
     39               
     40                if(!function_exists("simplexml_load_file")) {
     41                        trigger_error("t29Menu: Require SimpleXML PHP extension to load menu.");
     42                } else {
     43                        // load xml file
     44                        $this->xml = simplexml_load_file($this->conf['webroot'].$this->conf['lang_path'] . '/' . self::navigation_file);
     45                        if($this->xml_is_defective()) {
     46                                trigger_error("Kann Navigationsdatei nicht verwenden, da das XML nicht sauber ist. Bitte reparieren!");
     47                        }
    4448                }
    4549        }
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