plugins/SpecialAdmin.php
changeset 519 94214ec0871c
parent 511 f88c8c79d784
child 536 218a627eb53e
equal deleted inserted replaced
518:2b826f2640e9 519:94214ec0871c
     1 <?php
     1 <?php
     2 /*
     2 /**!info**
     3 Plugin Name: plugin_specialadmin_title
     3 {
     4 Plugin URI: http://enanocms.org/
     4   "Plugin Name"  : "plugin_specialadmin_title",
     5 Description: plugin_specialadmin_desc
     5   "Plugin URI"   : "http://enanocms.org/",
     6 Author: Dan Fuhry
     6   "Description"  : "plugin_specialadmin_desc",
     7 Version: 1.1.3
     7   "Author"       : "Dan Fuhry",
     8 Author URI: http://enanocms.org/
     8   "Version"      : "1.1.3",
     9 */
     9   "Author URI"   : "http://enanocms.org/"
       
    10 }
       
    11 **!*/
    10 
    12 
    11 /*
    13 /*
    12  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
    14  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
    13  * Version 1.1.3 (Caoineag alpha 3)
    15  * Version 1.1.3 (Caoineag alpha 3)
    14  * Copyright (C) 2006-2007 Dan Fuhry
    16  * Copyright (C) 2006-2007 Dan Fuhry
    46 require(ENANO_ROOT . '/plugins/admin/GroupManager.php');
    48 require(ENANO_ROOT . '/plugins/admin/GroupManager.php');
    47 require(ENANO_ROOT . '/plugins/admin/SecurityLog.php');
    49 require(ENANO_ROOT . '/plugins/admin/SecurityLog.php');
    48 require(ENANO_ROOT . '/plugins/admin/UserManager.php');
    50 require(ENANO_ROOT . '/plugins/admin/UserManager.php');
    49 require(ENANO_ROOT . '/plugins/admin/LangManager.php');
    51 require(ENANO_ROOT . '/plugins/admin/LangManager.php');
    50 require(ENANO_ROOT . '/plugins/admin/ThemeManager.php');
    52 require(ENANO_ROOT . '/plugins/admin/ThemeManager.php');
       
    53 require(ENANO_ROOT . '/plugins/admin/PluginManager.php');
    51 
    54 
    52 // For convenience and nothing more.
    55 // For convenience and nothing more.
    53 function acp_start_form()
    56 function acp_start_form()
    54 {
    57 {
    55   global $db, $session, $paths, $template, $plugins; // Common objects
    58   global $db, $session, $paths, $template, $plugins; // Common objects
  1144     echo '</form>';
  1147     echo '</form>';
  1145   ?>
  1148   ?>
  1146   <?php
  1149   <?php
  1147 }
  1150 }
  1148 
  1151 
       
  1152 /*
  1149 function page_Admin_PluginManager()
  1153 function page_Admin_PluginManager()
  1150 {
  1154 {
  1151   global $db, $session, $paths, $template, $plugins; // Common objects
  1155   global $db, $session, $paths, $template, $plugins; // Common objects
  1152   global $lang;
  1156   global $lang;
  1153   if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN )
  1157   if ( $session->auth_level < USER_LEVEL_ADMIN || $session->user_level < USER_LEVEL_ADMIN )
  1326     '<a style="color: white;" href="' . makeUrlNS('Special', 'Administration', 'module=' . $paths->cpage['module'] . '&show_system=no', true) . '">' . $lang->get('acppl_btn_hide_system') . '</a>' :
  1330     '<a style="color: white;" href="' . makeUrlNS('Special', 'Administration', 'module=' . $paths->cpage['module'] . '&show_system=no', true) . '">' . $lang->get('acppl_btn_hide_system') . '</a>' :
  1327     '<a style="color: white;" href="' . makeUrlNS('Special', 'Administration', 'module=' . $paths->cpage['module'] . '&show_system=yes', true) . '">' . $lang->get('acppl_btn_show_system') . '</a>' ;
  1331     '<a style="color: white;" href="' . makeUrlNS('Special', 'Administration', 'module=' . $paths->cpage['module'] . '&show_system=yes', true) . '">' . $lang->get('acppl_btn_show_system') . '</a>' ;
  1328     echo '<tr><th colspan="6" class="subhead">'.$showhide_link.'</th></tr>';
  1332     echo '<tr><th colspan="6" class="subhead">'.$showhide_link.'</th></tr>';
  1329     echo '</table></div>';
  1333     echo '</table></div>';
  1330 }
  1334 }
       
  1335 */
  1331 
  1336 
  1332 function page_Admin_DBBackup()
  1337 function page_Admin_DBBackup()
  1333 {
  1338 {
  1334   global $db, $session, $paths, $template, $plugins; // Common objects
  1339   global $db, $session, $paths, $template, $plugins; // Common objects
  1335   global $lang;
  1340   global $lang;