[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_admin/includes/ -> classis.php (source)

   1  <?php
   2  /*
   3  + ----------------------------------------------------------------------------+
   4  |     e107 website system
   5  |
   6  |     ©Steve Dunstan 2001-2002
   7  |     http://e107.org
   8  |     jalist@e107.org
   9  |
  10  |     Released under the terms and conditions of the
  11  |     GNU General Public License (http://gnu.org).
  12  |
  13  |     $Source: /cvsroot/e107/e107_0.7/e107_admin/includes/classis.php,v $
  14  |     $Revision: 1.12 $
  15  |     $Date: 2007/01/07 15:24:48 $
  16  |     $Author: e107steved $
  17  +----------------------------------------------------------------------------+
  18  */
  19  
  20  if (!defined('e107_INIT')) { exit; }
  21  
  22  $buts = "";
  23  
  24  while (list($key, $funcinfo) = each($newarray))
  25  {
  26      $buts .= render_links($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[6], "classis");
  27  }
  28  if($buts != "")
  29  {
  30      $text = "<div style='text-align:center'>
  31              <table style='".ADMIN_WIDTH."'>";
  32      $text .= $buts;
  33       $text .= render_clean();
  34       $text .= "</table></div>";
  35      $ns->tablerender(ADLAN_47." ".ADMINNAME, $text);
  36  }
  37  $text = "<div style='text-align:center'>
  38      <table style='".ADMIN_WIDTH."'>";
  39  
  40  $text .= render_links(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", E_32_PLUGMANAGER, "classis");
  41  
  42  if ($sql->db_Select("plugin", "*", "plugin_installflag=1")) {
  43      while ($row = $sql->db_Fetch()) {
  44          extract($row);
  45          include(e_PLUGIN.$plugin_path."/plugin.php");
  46          if ($eplug_conffile) {
  47              $eplug_name = $tp->toHTML($eplug_name,FALSE,"defs, emotes_off");
  48              $plugin_icon = $eplug_icon ? "<img src='".e_PLUGIN.$eplug_icon."' alt='' style='border:0px; width: 32px; height: 32px' />" : E_32_CAT_PLUG;
  49              $plugin_array[ucfirst($eplug_name)] = array('link' => e_PLUGIN.$plugin_path."/".$eplug_conffile, 'title' => $eplug_name, 'caption' => $eplug_caption, 'perms' => "P".$plugin_id, 'icon' => $plugin_icon);
  50          }
  51          unset($eplug_conffile, $eplug_name, $eplug_caption, $eplug_icon);
  52      }
  53  }
  54  
  55  ksort($plugin_array, SORT_STRING);
  56  foreach ($plugin_array as $plug_key => $plug_value) {
  57      $text .= render_links($plug_value['link'], $plug_value['title'], $plug_value['caption'], $plug_value['perms'], $plug_value['icon'], 'classis');
  58  }
  59  
  60  $text .= render_clean();
  61  
  62  $text .= "</table></div>";
  63  
  64  $ns->tablerender(ADLAN_CL_7, $text);
  65  
  66  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7