Ignore:
Timestamp:
Jun 6, 2011, 2:08:27 PM (13 years ago)
Author:
cljosse
Message:

[extensions] set_plugins compatiblity with 2.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/set_plugins/main.inc.php

    r11101 r11249  
    3333  global $user, $template, $val,$page,$conf;
    3434  if (!isset($page['body_id'])) return;
     35   if (!isset($page['body_id'])) return;
    3536
     37 
     38
     39 
    3640  switch($page['body_id']){
    3741          case  'theAdminPage':     
     
    4347                break;
    4448
    45  case 'plugin':
    46 
     49 case 'plugins':         
     50 if (!isset($page['tab'])) return;
     51 if ($page['tab']!="installed") return ;
     52  Affiche_set_plugins();
    4753
    4854        break;
     
    140146 
    141147 //===========================================================
    142               $bpplus=$template->parse('cl_plugin', true);
     148 $header_1='<div class="titlePage">
     149  <h2>'.l10n("set_plugins").l10n("Version").": ".$cl_set_plugins_plugin['version'] .'</h2>
     150';
     151
     152              $bpplus=$header_1.$template->parse('cl_plugin', true);
     153             
    143154              $template-> assign('ADMIN_CONTENT',$bpplus);
    144155             
     
    146157              $template-> concat('ADMIN_CONTENT',$bpplus);
    147158
     159
    148160}
    149161?>
Note: See TracChangeset for help on using the changeset viewer.