summaryrefslogtreecommitdiffstats
path: root/pages/content/Users:Handle.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pages/content/Users:Handle.xml')
-rw-r--r--pages/content/Users:Handle.xml62
1 files changed, 30 insertions, 32 deletions
diff --git a/pages/content/Users:Handle.xml b/pages/content/Users:Handle.xml
index 27b5a3e..9e949c1 100644
--- a/pages/content/Users:Handle.xml
+++ b/pages/content/Users:Handle.xml
@@ -14,29 +14,28 @@
if(isset($_POST['new'])) {
- $title = 'Neuer Benutzer';
+ $title = '{{New user}}';
?>
- <h2>Neuer Benutzer</h2>
+ <h2>{{New user}}</h2>
<form method="post" action="<?PHP echo $GLOBALS['links']->GetNeonLink('Users:New'); ?>">
<div class="spaced-bottom">Name: <input type="text" id="username" name="name" size="70" /></div>
- Gruppe:<br />
+ {{Group}}:<br />
<select name="gid" size="15" class="grouplist spaced-bottom">
- <option value="0">Administrator</option>
<?PHP
- $res = $GLOBALS['db']->Execute('SELECT * FROM groups ORDER BY name');
+ $res = $GLOBALS['db']->Execute('SELECT * FROM groups ORDER BY id');
while($group = $res->FetchRow()) {
echo '<option value="' . $group[0] . '">' . htmlspecialchars($group[1]) . '</option>';
}
?>
</select><br />
- Passwort:<br />
+ {{Password}}:<br />
<input type="password" class="spaced-bottom" name="password" size="30" /><br />
- Bestätigen:<br />
+ {{Confirm}}:<br />
<input type="password" class="spaced-bottom" name="password2" size="30" /><br />
- <input type="submit" value="Neu" />
- <input type="submit" name="back" value="Zurück" />
+ <input type="submit" value="{{New}}" />
+ <input type="submit" name="back" value="{{Back}}" />
</form>
<?PHP
}
@@ -45,19 +44,18 @@
$name = htmlspecialchars($GLOBALS['user']->GetName($_POST['id']));
$gid = $GLOBALS['user']->GetGid($_POST['id']);
- $title = 'Gruppe von \'' . $name . '\' ändern';
+ $title = '{{Change group of \'' . $name . '\'}}';
- echo '<h2>Gruppe von \'' . $name . '\' ändern</h2>';
+ echo '<h2>{{Change group of \'' . $name . '\'}}</h2>';
echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Users:Group') . '">';
echo '<input type="hidden" name="id" value="' . $_POST['id'] . '" />';
- echo 'Neue Gruppe:<br />';
+ echo '{{New group}}:<br />';
echo '<select name="gid" size="15" class="grouplist spaced-bottom">';
- $res = $GLOBALS['db']->Execute('SELECT * FROM groups ORDER BY name');
+ $res = $GLOBALS['db']->Execute('SELECT * FROM groups ORDER BY id');
$groups = $res->GetArray();
- array_unshift($groups, array(0, 'Administrator'));
foreach($groups as $group) {
echo '<option value="' . $group[0] . '"';
@@ -67,8 +65,8 @@
echo '</select><br />';
- echo '<input type="submit" value="Ändern" /> ';
- echo '<input type="submit" name="back" value="Zurück" />';
+ echo '<input type="submit" value="{{Change}}" /> ';
+ echo '<input type="submit" name="back" value="{{Back}}" />';
echo '</form>';
}
}
@@ -76,18 +74,18 @@
if($_POST['id']) {
$name = htmlspecialchars($GLOBALS['user']->GetName($_POST['id']));
- $title = 'Passwort von \'' . $name . '\' ändern';
+ $title = '{{Change password of \'' . $name . '\'}}';
- echo '<h2>Passwort von \'' . $name . '\' ändern</h2>';
+ echo '<h2>{{Change password of \'' . $name . '\'}}</h2>';
echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Users:Password') . '">';
echo '<input type="hidden" name="id" value="' . $_POST['id'] . '" />';
- echo 'Neues Passwort:<br />';
+ echo '{{New password}}:<br />';
echo '<input type="password" name="password" class="spaced-bottom" size="30" /><br />';
- echo 'Bestätigen:<br />';
+ echo '{{Confirm}}:<br />';
echo '<input type="password" name="password2" class="spaced-bottom" size="30" /><br />';
- echo '<input type="submit" value="Ändern" /> ';
- echo '<input type="submit" name="back" value="Zurück" />';
+ echo '<input type="submit" value="{{Change}}" /> ';
+ echo '<input type="submit" name="back" value="{{Back}}" />';
echo '</form>';
}
}
@@ -95,16 +93,16 @@
if($_POST['id']) {
$name = htmlspecialchars($GLOBALS['user']->GetName($_POST['id']));
- $title = '\'' . $name . '\' umbenennen';
+ $title = '{{Rename \'' . $name . '\'}}';
- echo '<h2>\'' . $name . '\' umbenennen</h2>';
+ echo '<h2>{{Rename \'' . $name . '\'}}</h2>';
echo '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Users:Rename') . '">';
echo '<input type="hidden" name="id" value="' . $_POST['id'] . '" />';
- echo 'Neuer Name: ';
+ echo '{{New name}}: ';
echo '<input type="text" name="name" 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 '<input type="submit" class="spaced-top" value="{{Rename}}" /> ';
+ echo '<input type="submit" class="spaced-top" name="back" value="{{Back}}" />';
echo '</form>';
}
}
@@ -112,15 +110,15 @@
if($_POST['id']) {
$name = htmlspecialchars($GLOBALS['user']->GetName($_POST['id']));
- $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('Users:Delete') . '">';
echo '<input type="hidden" name="id" value="' . $_POST['id'] . '" />';
- echo 'Wollen Sie den Benutzer \'' . $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 user \'' . $name . '\'?}}<br />';
+ echo '<input type="submit" class="spaced-top" value="{{Delete}}" /> ';
+ echo '<input type="submit" class="spaced-top" name="back" value="{{Back}}" />';
echo '</form>';
}
}