]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/de/menu/generic_menu_entries.xml
Menu XML rewritten to not have attributes
[shipsimu.git] / application / ship-simu / templates / de / menu / generic_menu_entries.xml
index beb9c4865a7ca69e3a0ddcca5c9ad685d12e6f7f..be74a9d7e22c4459fd9d42698ba9713b880d58a1 100644 (file)
 <?xml version="1.0" encoding="UTF-8" ?>
-<!--@TODO Later versions: <menu extends="base_menu">//-->
+<!--
+Generic menu entries. You should leave this template for smooth upgrades.
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
 <menu>
-       <header>
-               <title id="home" class="menu_title_home">
-                       <![CDATA[Home:]]>
-               </title>
-       </header>
-       <entries>
-               <entry id="home">
-                       <anchor id="menu_home" link="Home" title="Home">
-                               <![CDATA[index.php?app={?app_short_name?}]]>
-                       </anchor>
-               </entry>
-               <entry id="login">
-                       <anchor id="menu_login" link="Einloggen" title="Zum Spiel {?app_name?} einloggen">
-                               <![CDATA[index.php?app={?app_short_name?}&amp;page=login]]>
-                       </anchor>
-               </entry>
-               <entry id="register">
-                       <anchor id="menu_register" link="Home" title="Zur Anmeldeseite">
-                               <![CDATA[index.php?app={?app_short_name?}&amp;page=register]]>
-                       </anchor>
-               </entry>
-       </entries>
-       <header>
-               <title id="law" class="menu_title_law">
-                       <![CDATA[Rechtliches:]]>
-               </title>
-       </header>
-       <entries>
-               <entry id="imprint">
-                       <anchor id="menu_imprint" link="Impressum" title="Impressum">
-                               <![CDATA[index.php?app={?app_short_name?}&amp;page=imprint]]>
-                       </anchor>
-               </entry>
-               <entry id="terms">
-                       <anchor id="menu_terms" link="ANBs" title="Allgemeine Nutzungsbedingungen">
-                               <![CDATA[index.php?app={?app_short_name?}&amp;page=terms]]>
-                       </anchor>
-               </entry>
-               <entry id="pillory">
-                       <anchor id="menu_pillory" link="Pranger" title="Zum Pranger">
-                               <![CDATA[index.php?app={?app_short_name?}&amp;page=pillory]]>
-                       </anchor>
-               </entry>
-               <!--
-               <entry id="">
-                       <anchor id="menu_" link="" title="" target="" rel="">
-                               <![CDATA[index.php?app={?app_short_name?}&amp;page=]]>
-                       </anchor>
-               </entry>
-               //-->
-       </entries>
-       <footer id="generic_menu_footer">
-               <text class="menu_footer">
-                       <![CDATA[Leer]]>
-               </text>
-       </footer>
+       <block-list>
+               <block>
+                       <block-header>
+                               <title>
+                                       <title-id><![CDATA[home_menu_title]]></title-id>
+                                       <title-class><![CDATA[menu_title]]></title-class>
+                                       <title-text><![CDATA[Home:]]></title-text>
+                               </title>
+                       </block-header>
+                       <entry-list>
+                               <entry>
+                                       <entry-id><![CDATA[home]]></entry-id>
+                                       <anchor>
+                                               <anchor-id><![CDATA[menu_home]]></anchor-id>
+                                               <anchor-text><![CDATA[Home]]></anchor-text>
+                                               <anchor-title><![CDATA[Zur Startseite]]></anchor-title>
+                                               <anchor-href><![CDATA[index.php?app={?app_short_name?}]]></anchor-href>
+                                       </anchor>
+                               </entry>
+                               <entry>
+                                       <entry-id><![CDATA[login]]></entry-id>
+                                       <anchor>
+                                               <anchor-id><![CDATA[menu_login]]></anchor-id>
+                                               <anchor-text><![CDATA[Einloggen]]></anchor-text>
+                                               <anchor-title><![CDATA[Zum Spiel {?app_name?} einloggen]]></anchor-title>
+                                               <anchor-href><![CDATA[index.php?app={?app_short_name?}&amp;page=login]]></anchor-href>
+                                       </anchor>
+                               </entry>
+                               <entry>
+                                       <entry-id><![CDATA[register]]></entry-id>
+                                       <anchor>
+                                               <anchor-id><![CDATA[menu_register]]></anchor-id>
+                                               <anchor-text><![CDATA[Anmeldung]]></anchor-text>
+                                               <anchor-title><![CDATA[Zur Anmeldeseite]]></anchor-title>
+                                               <anchor-href><![CDATA[index.php?app={?app_short_name?}&amp;page=register]]></anchor-href>
+                                       </anchor>
+                               </entry>
+                               <entry>
+                                       <entry-id><![CDATA[pillory]]></entry-id>
+                                       <anchor>
+                                               <anchor-id><![CDATA[menu_pillory]]></anchor-id>
+                                               <anchor-text><![CDATA[Pranger]]></anchor-text>
+                                               <anchor-title><![CDATA[Zum Pranger]]></anchor-title>
+                                               <anchor-href><![CDATA[index.php?app={?app_short_name?}&amp;page=pillory]]></anchor-href>
+                                       </anchor>
+                               </entry>
+                       </entry-list>
+                       <block-footer>
+                               <footer-id><![CDATA[home_menu_footer]]></footer-id>
+                               <footer-class><![CDATA[menu_footer]]></footer-class>
+                               <footer-text><![CDATA[Leer]]></footer-text>
+                       </block-footer>
+               </block>
+               <block>
+                       <block-header>
+                               <title>
+                                       <title-id><![CDATA[law_menu_title]]></title-id>
+                                       <title-class><![CDATA[menu_title]]></title-class>
+                                       <title-text><![CDATA[Rechtliches:]]></title-text>
+                               </title>
+                       </block-header>
+                       <entry-list>
+                               <entry>
+                                       <entry-id><![CDATA[imprint]]></entry-id>
+                                       <anchor>
+                                               <anchor-id><![CDATA[menu_imprint]]></anchor-id>
+                                               <anchor-text><![CDATA[Impressum]]></anchor-text>
+                                               <anchor-title><![CDATA[Impressum]]></anchor-title>
+                                               <anchor-href><![CDATA[index.php?app={?app_short_name?}&amp;page=imprint]]></anchor-href>
+                                       </anchor>
+                               </entry>
+                               <entry>
+                                       <entry-id><![CDATA[terms]]></entry-id>
+                                       <anchor>
+                                               <anchor-id><![CDATA[menu_terms]]></anchor-id>
+                                               <anchor-text><![CDATA[ANBs]]></anchor-text>
+                                               <anchor-title><![CDATA[Allgemeine Nutzungsbedingungen]]></anchor-title>
+                                               <anchor-href><![CDATA[index.php?app={?app_short_name?}&amp;page=terms]]></anchor-href>
+                                       </anchor>
+                               </entry>
+                       </entry-list>
+                       <block-footer>
+                               <footer-id><![CDATA[law_menu_footer]]></footer-id>
+                               <footer-class><![CDATA[menu_footer]]></footer-class>
+                               <footer-text><![CDATA[Leer]]></footer-text>
+                       </block-footer>
+               </block>
+       </block-list>
 </menu>