includes/common.php
changeset 10 2f530ad04f1b
parent 3 2b2084ca1e60
child 12 c96a9b56f16c
equal deleted inserted replaced
9:1e61232606d6 10:2f530ad04f1b
   156     table_prefix.'logs',
   156     table_prefix.'logs',
   157     table_prefix.'page_text',
   157     table_prefix.'page_text',
   158     table_prefix.'session_keys',
   158     table_prefix.'session_keys',
   159     table_prefix.'pages',
   159     table_prefix.'pages',
   160     table_prefix.'users',
   160     table_prefix.'users',
       
   161     table_prefix.'users_extra',
   161     table_prefix.'themes',
   162     table_prefix.'themes',
   162     table_prefix.'buddies',
   163     table_prefix.'buddies',
   163     table_prefix.'banlist',
   164     table_prefix.'banlist',
   164     table_prefix.'files',
   165     table_prefix.'files',
   165     table_prefix.'privmsgs',
   166     table_prefix.'privmsgs',
   214   {
   215   {
   215     // do nothing; allow execution to continue
   216     // do nothing; allow execution to continue
   216   }
   217   }
   217   else
   218   else
   218   {
   219   {
   219     if(!$n = getConfig('site_disabled_notice')) $n = 'The administrator has disabled the site. Please check back later.';
   220     if(!$n = getConfig('site_disabled_notice')) 
       
   221     {
       
   222       $n = 'The administrator has disabled the site. Please check back later.';
       
   223     }
   220     
   224     
   221     $text = RenderMan::render($n) . '
   225     $text = RenderMan::render($n) . '
   222     <div class="info-box">
   226     <div class="info-box">
   223       If you have an administrative account, you may <a href="'.makeUrlNS('Special', 'Login').'">log in</a> to the site or <a href="'.makeUrlNS('Special', 'Administration').'">use the administration panel</a>.
   227       If you have an administrative account, you may <a href="'.makeUrlNS('Special', 'Login').'">log in</a> to the site or <a href="'.makeUrlNS('Special', 'Administration').'">use the administration panel</a>.
   224     </div>';
   228     </div>';