Changeset 1561 for trunk/gregarius/admin/users.php
- Timestamp:
- 09/09/06 14:52:23 (2 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/admin/users.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/admin/users.php
r1441 r1561 51 51 pass2=document.getElementById('password2').value; 52 52 if(pass !== pass2){ 53 msg = '<?php echo LBL_ADMIN_PASS_NO_MATCH?>';53 msg = '<?php echo __('Passwords do not match!') ?>'; 54 54 document.getElementById('admin_match_result').innerHTML = msg; 55 55 document.getElementById('password').value = ''; … … 67 67 echo "\n<div id=\"channel_admin\" class=\"frame\">"; 68 68 echo "<h2></h2>\n" 69 . LBL_ADMIN_MUST_SET_PASS;69 . __('<p>No Administrator has been specified yet!</p><p>Please provide an Administrator username and password now!</p>'); 70 70 71 71 echo "<form action=\"".$_SERVER['PHP_SELF'] . "\" onsubmit=\"return on_submit_password_match();\" method=\"post\">\n" 72 72 ."<fieldset style=\"width:400px;\">" 73 ."<p><label style=\"display:block\" for=\"username\">". LBL_USERNAME.":</label>\n"73 ."<p><label style=\"display:block\" for=\"username\">".__('Username').":</label>\n" 74 74 ."<input type=\"text\" id=\"username\" name=\"username\" /></p>\n" 75 ."<p><label style=\"display:block\" for=\"password\">". LBL_PASSWORD.":</label>\n"75 ."<p><label style=\"display:block\" for=\"password\">".__('Password').":</label>\n" 76 76 ."<input type=\"password\" id=\"password\" name=\"password\" /></p>\n" 77 ."<p><label style=\"display:block\" for=\"password2\">". LBL_PASSWORD2.":</label>\n"77 ."<p><label style=\"display:block\" for=\"password2\">".__('Password (again)').":</label>\n" 78 78 ."<input type=\"password\" id=\"password2\" name=\"password2\" /></p>\n" 79 ."<p><input type=\"submit\" value=\"". LBL_ADMIN_OK."\" /></p>\n"79 ."<p><input type=\"submit\" value=\"".__('OK')."\" /></p>\n" 80 80 ."<div style=\"display:inline;\" id=\"admin_match_result\"></div>\n" 81 81 ."</fieldset>\n" … … 95 95 style=\"text-align:center\" action=\"".$_SERVER['PHP_SELF'] ."\" method=\"post\">\n" 96 96 ."<fieldset>" 97 ."<legend>" . LBL_ADMIN_LOGIN. "</legend>\n"98 ."<p><label style=\"display:block\" for=\"username\">". LBL_USERNAME.":</label>\n"97 ."<legend>" . __('Please log in') . "</legend>\n" 98 ."<p><label style=\"display:block\" for=\"username\">".__('Username').":</label>\n" 99 99 ."<input type=\"text\" id=\"username\" name=\"username\" /></p>\n" 100 ."<p><label style=\"display:block\" for=\"password\">". LBL_PASSWORD.":</label>\n"100 ."<p><label style=\"display:block\" for=\"password\">".__('Password').":</label>\n" 101 101 ."<input type=\"password\" id=\"password\" name=\"password\" /></p>\n" 102 ."<p id=\"admin_login_submit\"><input type=\"submit\" value=\"". LBL_LOG_IN."\" /></p>\n"102 ."<p id=\"admin_login_submit\"><input type=\"submit\" value=\"".__('Login')."\" /></p>\n" 103 103 ."<span style=\"display:inline;\" id=\"admin_login_result\"></span>\n" 104 104 ."</fieldset>\n"
