Changeset 12404


Ignore:
Timestamp:
Oct 11, 2011, 11:41:45 AM (9 years ago)
Author:
cljosse
Message:

[extensions] set_plugins rcompatibility wirh 2.3 and Firefox

Location:
extensions/set_plugins
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/set_plugins/js/field_set.js

    r12081 r12404  
    8484        id0 = jQuery(this).attr("id");
    8585        jQuery(this).attr("rel", i);
    86         jQuery("#"+id0+' div').wrapAll('<div id="'+ "div"+ id0 +'" class="new" />');
    87 
    8886        if (!jQuery(this).hasClass("field_set"))
    8987          jQuery(this).addClass("field_set");
     
    9189          liste_visible[i] = "off";
    9290          jQuery(this).height(h_min + 0);
     91          jQuery(this).find(' div').wrapAll('<div style="display:none"  />');
     92
    9393        if(i==0) jQuery("#form_set_plugins").css({ display: "none" });
    9494          jQuery("#div" + id0).css({ display: "none" });
  • extensions/set_plugins/set_plugins_class.php

    r12081 r12404  
    6868    global $template,$page, $template, $pwg_loaded_plugins,$infos_message,$erreur_message,$infos_warning;
    6969   
    70     if ( (isset($_GET['page']) AND $_GET['page'] == 'plugins_list') ) {
     70    if ( (isset($_GET['page']) AND ($_GET['page'] == 'plugins' || $_GET['page'] == 'plugins_list'  )) ) {
    7171    if (!isset($page['infos'])) $page['infos']=array();
    7272        if  ($infos_message != "")  {
     
    142142  include_once(SET_PLUGINS_PATH."include/constants.php");
    143143   include(SET_PLUGINS_PATH.'include/affiche.php');
     144
     145     $all_tpl_vars = $template->get_template_vars('ADMIN_CONTENT');
    144146
    145147  if(  isset($_POST['submit'])){     
     
    163165      ';
    164166      $result = pwg_query($query);
    165       //======= mise à jour =========
     167      //======= mise a  jour =========
    166168      if($result){
    167169        $query = '
     
    221223  <h2>'.l10n("set_plugins").l10n("Version").": ".$cl_set_plugins_plugin['version'] .'</h2>
    222224  </div>';
    223     $bpplus=$header_1.$template->parse('cl_plugin', true); 
    224     $all_tpl_vars = $template->get_template_vars('ADMIN_CONTENT');
     225 
     226 
     227 
     228    $bpplus=$header_1."<div>".$template->parse('cl_plugin', true)."</div>";
     229
     230   
    225231    $template-> assign('ADMIN_CONTENT',$bpplus);
    226232    $template-> concat('ADMIN_CONTENT',$all_tpl_vars);
  • extensions/set_plugins/template/admin.tpl

    r11499 r12404  
    1 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    2 <meta http-equiv="X-UA-Compatible" content="IE=IE9" />
    3 
    41{if $PHPWG_VERSION < 2.2 }
    52{include file= $SET_PLUGINS_PATH_ABS|@cat:'template/header_2_1.tpl'}
  • extensions/set_plugins/template/header_2_1.tpl

    r11497 r12404  
    77 
    88var root = '{$SET_PLUGINS_PATH}';
    9  var get_post = "{$SET_PLUGINS_PATH}include/set_post.php";
     9 
    1010var list_visible = '{$list_visible}';
    1111 var nb = '{$nb}';
  • extensions/set_plugins/template/header_2_2.tpl

    r11497 r12404  
    44 
    55var root = '{$SET_PLUGINS_PATH}';
    6  var get_post = "{$SET_PLUGINS_PATH}include/set_post.php";
     6
    77var list_visible = '{$list_visible}';
    88 var nb = '{$nb}';
Note: See TracChangeset for help on using the changeset viewer.