diff options
author | neoraider <devnull@localhost> | 2006-12-09 02:18:00 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2006-12-09 02:18:00 +0100 |
commit | 7be63518bdb86fb747dda20918ef6eab3d30e40c (patch) | |
tree | e9239af6d9efa6d7a2129adb71ca77fb25a0f59d /pages/content/Pages:Handle.xml | |
parent | fa39bfd963d7d05335d968b0efdfd9bb9a40f132 (diff) | |
download | neon-7be63518bdb86fb747dda20918ef6eab3d30e40c.tar neon-7be63518bdb86fb747dda20918ef6eab3d30e40c.zip |
?bersetzung vereinfacht; alle Seiten ?bersetzt
Diffstat (limited to 'pages/content/Pages:Handle.xml')
-rw-r--r-- | pages/content/Pages:Handle.xml | 59 |
1 files changed, 29 insertions, 30 deletions
diff --git a/pages/content/Pages:Handle.xml b/pages/content/Pages:Handle.xml index 173eec7..9abc7d9 100644 --- a/pages/content/Pages:Handle.xml +++ b/pages/content/Pages:Handle.xml @@ -23,21 +23,21 @@ } } elseif(isset($_POST['new'])) { - $title = 'Neue Seite'; + $title = '{{New page}}'; ?> - <h2>Neue Seite</h2> + <h2>{{New page}}</h2> <form method="post" action="<?PHP echo $GLOBALS['links']->GetNeonLink('Pages:New'); ?>"> <input type="hidden" name="type" value="<?PHP echo $_POST['type']; ?>" /> - Name: <input type="text" id="pagename" name="name" size="70" /><br /> - Template: <select type="text" class="spaced-top" name="template" size="1" /> + {{Name}}: <input type="text" id="pagename" name="name" size="70" /><br /> + {{Template}}: <select type="text" class="spaced-top" name="template" size="1" /> <?PHP foreach(array_keys($GLOBALS['templates']) as $key) echo '<option>' . $key . '</option>'; ?> </select><br /> - <input type="submit" class="spaced-top" value="Neu" /> - <input type="submit" class="spaced-top" name="back" value="Zurück" /> + <input type="submit" class="spaced-top" value="{{New}}" /> + <input type="submit" class="spaced-top" name="back" value="{{Back}}" /> </form> <?PHP } @@ -54,14 +54,14 @@ if($_POST['name']) { $name = htmlspecialchars(Unquote($_POST['name'])); - $title = 'Rechte von \'' . $name . '\' ändern'; + $title = '{{Change access to \'' . $name . '\'}}'; - echo '<h2>Rechte von \'' . $name . '\' ändern</h2>'; + echo '<h2>{{Change access to \'' . $name . '\'}}</h2>'; $access = $GLOBALS['pages']->GetAccess(Unquote($_POST['name']), $_POST['type']); $groups = $GLOBALS['user']->ListGroups(); - array_unshift($groups, array(0, 'Gast')); + array_unshift($groups, array(0, '{{Guest}}')); echo '<form action="' . $GLOBALS['links']->GetNeonLink('Pages:Privs') . '" method="post">'; @@ -77,25 +77,25 @@ echo '<option value="0"'; if((hexdec($access[0][$group[0]/4]) & (1 << ($group[0]%4))) == 0) echo ' selected="selected"'; - echo '>Kein Zugriff</option>'; + echo '>{{No access}}</option>'; echo '<option value="1"'; if(((hexdec($access[0][$group[0]/4]) & (1 << ($group[0]%4))) != 0) && ((hexdec($access[1][$group[0]/4]) & (1 << ($group[0]%4))) == 0)) echo ' selected="selected"'; - echo '>Nur lesen</option>'; + echo '>{{Read only}}</option>'; echo '<option value="2"'; if((hexdec($access[1][$group[0]/4]) & (1 << ($group[0]%4))) != 0) echo ' selected="selected"'; - echo '>Lesen und schreiben</option>'; + echo '>{{Read and write}}</option>'; echo '</select></td></tr>'; } echo '</table>'; - echo '<input type="submit" class="spaced-top" value="Ändern" /> '; - echo '<input type="submit" class="spaced-top" name="back" value="Zurück" />'; + echo '<input type="submit" class="spaced-top" value="{{Change}}" /> '; + echo '<input type="submit" class="spaced-top" name="back" value="{{Back}}" />'; echo '</form>'; } @@ -104,16 +104,16 @@ if($_POST['name']) { $name = htmlspecialchars(Unquote($_POST['name'])); - $title = '\'' . $name . '\' kopieren'; + $title = '{{Copy \'' . $name . '\'}}'; - echo '<h2>\'' . $name . '\' kopieren</h2>'; + echo '<h2>{{Copy \'' . $name . '\'}}</h2>'; echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Copy') . '">'; echo '<input type="hidden" name="name" value="' . $name . '" />'; echo '<input type="hidden" name="type" value="' . $_POST['type'] . '" />'; - echo 'Neuer Name: <input type="text" name="newname" value="' . $name . '" size="70" /><br />'; - echo '<input type="submit" class="spaced-top" value="Kopieren" /> '; - echo '<input type="submit" class="spaced-top" name="back" value="Zurück" />'; + echo '{{New name}}: <input type="text" name="newname" value="' . $name . '" size="70" /><br />'; + echo '<input type="submit" class="spaced-top" value="{{Copy}}" /> '; + echo '<input type="submit" class="spaced-top" name="back" value="{{Back}}" />'; echo '</form>'; } } @@ -121,17 +121,16 @@ if($_POST['name']) { $name = htmlspecialchars(Unquote($_POST['name'])); - $title = '\'' . $name . '\' umbenennen'; + $title = '{{Rename \'' . $name . '\'}}'; - echo '<h2>\'' . $name . '\' umbenennen</h2>'; + echo '<h2>{{Rename \'' . $name . '\'}}</h2>'; echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Rename') . '">'; echo '<input type="hidden" name="name" value="' . $name . '" />'; echo '<input type="hidden" name="type" value="' . $_POST['type'] . '" />'; - echo 'Neuer Name:<br />'; - echo '<input type="text" name="newname" value="' . $name . '" size="70" /><br />'; - echo '<input type="submit" class="spaced-top" value="Umbenennen" /> '; - echo '<input type="submit" class="spaced-top" name="back" value="Zurück" />'; + echo '{{New name}}: <input type="text" name="newname" value="' . $name . '" size="70" /><br />'; + echo '<input type="submit" class="spaced-top" value="{{Rename}}" /> '; + echo '<input type="submit" class="spaced-top" name="back" value="{{Back}}" />'; echo '</form>'; } } @@ -139,16 +138,16 @@ if($_POST['name']) { $name = htmlspecialchars(Unquote($_POST['name'])); - $title = '\'' . $name . '\' löschen'; + $title = '{{Delete \'' . $name . '\'}}'; - echo '<h2>\'' . $name . '\' löschen</h2>'; + echo '<h2>{{Delete \'' . $name . '\'}}</h2>'; echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Delete') . '">'; echo '<input type="hidden" name="name" value="' . $name . '" />'; echo '<input type="hidden" name="type" value="' . $_POST['type'] . '" />'; - echo 'Wollen Sie die Seite \'' . $name . '\' wirklich löschen?<br />'; - echo '<input type="submit" class="spaced-top" value="Löschen" /> '; - echo '<input type="submit" class="spaced-top" name="back" value="Zurück" />'; + echo '{{Do you really want to delete the page \'' . $name . '\'?}}<br />'; + echo '<input type="submit" class="spaced-top" value="{{Delete}}" /> '; + echo '<input type="submit" class="spaced-top" name="back" value="{{Back}}" />'; echo '</form>'; } } |