plugins/SpecialAdmin.php
changeset 797 8d2a40574bbc
parent 792 b55b87e5fafd
child 801 eb8b23f11744
equal deleted inserted replaced
796:950502804d87 797:8d2a40574bbc
   161             ' . $lang->get('acphome_msg_install_files') . '
   161             ' . $lang->get('acphome_msg_install_files') . '
   162           </div>';
   162           </div>';
   163   }
   163   }
   164   
   164   
   165   echo '<h3>' . $lang->get('acphome_heading_updates') . '</h3>';
   165   echo '<h3>' . $lang->get('acphome_heading_updates') . '</h3>';
   166   echo '<p>' . $lang->get('acphome_msg_updates_info', array('updates_url' => 'http://germantown.enanocms.org/meta/updates.xml')) . '</p>';
   166   echo '<p>' . $lang->get('acphome_msg_updates_info', array('updates_url' => 'http://ktulu.enanocms.org/meta/updates.xml')) . '</p>';
   167   echo '<div id="update_check_container"><input type="button" onclick="ajaxUpdateCheck(this.parentNode.id);" value="' . $lang->get('acphome_btn_check_updates') . '" /></div>';
   167   echo '<div id="update_check_container"><input type="button" onclick="ajaxUpdateCheck(this.parentNode.id);" value="' . $lang->get('acphome_btn_check_updates') . '" /></div>';
   168   
   168   
   169   // Inactive users
   169   // Inactive users
   170   $q = $db->sql_query('SELECT time_id FROM '.table_prefix.'logs WHERE log_type=\'admin\' AND action=\'activ_req\';');
   170   $q = $db->sql_query('SELECT time_id FROM '.table_prefix.'logs WHERE log_type=\'admin\' AND action=\'activ_req\';');
   171   if ( $q )
   171   if ( $q )
  2302       'icon_27' : '<?php echo cdnPath; ?>/images/icons/minus.gif'       // junction for last opended node
  2302       'icon_27' : '<?php echo cdnPath; ?>/images/icons/minus.gif'       // junction for last opended node
  2303     };
  2303     };
  2304     
  2304     
  2305     addOnloadHook(function()
  2305     addOnloadHook(function()
  2306       {
  2306       {
  2307         load_component('ajax');
  2307         load_component(['fat', 'ajax', 'l10n', 'autofill', 'jquery', 'jquery-ui']);
  2308         load_component('l10n');
       
  2309         load_component('autofill');
       
  2310         keepalive_onload();
  2308         keepalive_onload();
  2311       });
  2309       });
  2312     
  2310     
  2313     <?php
  2311     <?php
  2314     echo $paths->parseAdminTree(); // Make a Javascript array that defines the tree
  2312     echo $paths->parseAdminTree(); // Make a Javascript array that defines the tree