# HG changeset patch # User Dan # Date 1193707631 14400 # Node ID 2b13497fe820ae3ff55b6e136301b2464f733a55 # Parent feaffad3e07b8d8092fc3c8a2466e06943bf3be2 ... properly this time. Nighthawk is giving me crap so I'm moving to the laptop for now. diff -r feaffad3e07b -r 2b13497fe820 language/english/enano.json --- a/language/english/enano.json Mon Oct 29 20:01:48 2007 -0400 +++ b/language/english/enano.json Mon Oct 29 21:27:11 2007 -0400 @@ -209,7 +209,10 @@ btn_keepalive_off: 'Turn on keep-alive', btn_keepalive_on: 'Turn off keep-alive', btn_keepalive_about: 'About keep-alive', - btn_keepalive_loading: 'Loading keep-alive button...' + btn_keepalive_loading: 'Loading keep-alive button...', + + err_not_auth_title: 'Error: Not authenticated', + err_not_auth_body: 'It looks like your administration session is invalid or you are not authorized to access this administration page. Please re-authenticate to continue.', }, editor: { msg_revert_confirm: 'Do you really want to revert your changes?', diff -r feaffad3e07b -r 2b13497fe820 plugins/SpecialAdmin.php --- a/plugins/SpecialAdmin.php Mon Oct 29 20:01:48 2007 -0400 +++ b/plugins/SpecialAdmin.php Mon Oct 29 21:27:11 2007 -0400 @@ -52,8 +52,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '
' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -122,8 +122,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -521,8 +521,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -641,8 +641,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -785,8 +785,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -851,8 +851,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -911,8 +911,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -1184,8 +1184,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -1546,8 +1546,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -1622,8 +1622,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -1821,8 +1821,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -1924,8 +1924,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -2190,8 +2190,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -2305,8 +2305,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -2524,8 +2524,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; } @@ -2631,8 +2631,8 @@ if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN ) { $login_link = makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true); - echo '' . $lang->get('admin_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; + echo '' . $lang->get('adm_err_not_auth_body', array( 'login_link' => $login_link )) . '
'; return; }