plugins/SpecialAdmin.php
changeset 37 7267c2a67a93
parent 36 425261984266
child 40 723bb7acf914
equal deleted inserted replaced
36:425261984266 37:7267c2a67a93
    46   if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN )
    46   if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN )
    47   {
    47   {
    48     echo '<h3>Error: Not authenticated</h3><p>It looks like your administration session is invalid or you are not authorized to access this administration page. Please <a href="' . makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true) . '">re-authenticate</a> to continue.</p>';
    48     echo '<h3>Error: Not authenticated</h3><p>It looks like your administration session is invalid or you are not authorized to access this administration page. Please <a href="' . makeUrlNS('Special', 'Login/' . $paths->nslist['Special'] . 'Administration', 'level=' . USER_LEVEL_ADMIN, true) . '">re-authenticate</a> to continue.</p>';
    49     return;
    49     return;
    50   }
    50   }
    51   
       
    52   
    51   
    53   // Basic information
    52   // Basic information
    54   echo RenderMan::render(
    53   echo RenderMan::render(
    55 '== Welcome to Runt, the Enano administration panel. ==
    54 '== Welcome to Runt, the Enano administration panel. ==
    56 
    55