diff options
author | Philip Häusler <msquare@notrademark.de> | 2013-11-25 21:04:58 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2013-11-25 21:04:58 +0100 |
commit | aad54bfe885e2ce69801597c791bff4b7f0e1521 (patch) | |
tree | ea5b6164698163c07ab1833df5a1afebdbdbc7ab /includes/pages/admin_user.php | |
parent | 96a263f7129fbcf01ef644c531cdcc0a0be59085 (diff) |
basic gettext integration
Diffstat (limited to 'includes/pages/admin_user.php')
-rw-r--r-- | includes/pages/admin_user.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/pages/admin_user.php b/includes/pages/admin_user.php index 58b2947e..ba7f17ff 100644 --- a/includes/pages/admin_user.php +++ b/includes/pages/admin_user.php @@ -1,4 +1,8 @@ <?php +function admin_user_title() { + return _("All Angels"); +} + function admin_user() { global $user, $privileges, $tshirt_sizes, $privileges; @@ -145,7 +149,7 @@ function admin_user() { $angel_types, array('selected_angel_types' => $selected_angel_types, 'accepted_angel_types' => array_merge($accepted_angel_types, $nonrestricted_angel_types)), array('accepted_angel_types' => $nonrestricted_angel_types)), - form_submit('submit_user_angeltypes', Get_Text("Save")) + form_submit('submit_user_angeltypes', _("Save")) )); $html .= "<hr />"; @@ -325,7 +329,7 @@ function admin_user() { 'Tshirt' => '<img src="pic/icons/' . ($angel['Tshirt'] == 1? 'tick' : 'cross') . '.png" alt="' . $angel['Tshirt'] . '">', 'Size' => $angel['Size'], 'lastLogIn' => date('d.m.&\n\b\s\p;H:i', $angel['lastLogIn']), - 'edit' => img_button(page_link_to('admin_user') . '&id=' . $angel['UID'], 'pencil', 'edit'), + 'edit' => img_button(page_link_to('admin_user') . '&id=' . $angel['UID'], 'pencil', _("edit")), ); } $angels = array_map('prepare_angel_table', $angels); |