Changeset 10308 for extensions/Autosize


Ignore:
Timestamp:
Apr 12, 2011, 1:36:50 PM (13 years ago)
Author:
cljosse
Message:

[extensions] autosize fix margin theImgage auto

Location:
extensions/Autosize
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/autosize.inc.php

    r10280 r10308  
    5656        $template->set_filenames(array('autosize_init_header'=> $file ));
    5757                $template->set_filenames(array('autosize_init'=>AUTOSIZE_PATH_ABS. "template/conflit.tpl" ) ); 
    58                 $DEBUG = isset($conf['cl_debug']) ? $conf['cl_debug'] : "false" ;
     58                $DEBUG = isset($conf['cl_debug_conflit']) ? $conf['cl_debug_conflit'] : "false" ;
    5959                $autosize_parametres =   cl_autosize_Get_Options() ;                   
    6060                $theme=$user['theme'];
     
    8585
    8686                        $my_path = dirname(__FILE__).'/';
    87                         $DEBUG =  isset($conf['cl_debug']) ? $conf['cl_debug'] : "false"  ;
     87                        $DEBUG =  isset($conf['cl_debug_conflit']) ? $conf['cl_debug_conflit'] : "false"  ;
    8888                        $ma_page=isset($page['body_id'])?$page['body_id']:"" ;
    8989                        $theme=$user['theme'];
  • extensions/Autosize/include/affiche.php

    r8912 r10308  
    77$cl_plugin=isset($cl_plugin)?$cl_plugin:"";
    88$cl_visible=isset($conf['cl_auto']) ? $conf['cl_auto'] : 'true' ;
    9  $DEBUG=isset($_POST['cl_debug']) ? $_POST['cl_debug'] : "false" ;
    10 $DEBUG= isset($conf['cl_debug']) ? $conf['cl_debug'] : $DEBUG ;
     9 $DEBUG=isset($_POST['cl_debug_conflit']) ? $_POST['cl_debug_conflit'] : "false" ;
     10$DEBUG= isset($conf['cl_debug_conflit']) ? $conf['cl_debug_conflit'] : $DEBUG ;
    1111 
    1212 $my_path = AUTOSIZE_PATH_ABS;
  • extensions/Autosize/js/Affiche_script.js

    r10241 r10308  
    897897           if (jQuery("#slideshow").infos().width > 0) {
    898898
    899              jQuery(Cadre).css({ marginLeft: "auto"
    900              });
    901            }
    902            else
    903              jQuery(Cadre).css({ marginLeft: marge_left + "px"
    904              });
    905 
    906           // jQuery(Cadre).width(Zone_Affichage.width);
    907            jQuery(Cadre).css("width","auto");
     899             
     900           } else {
     901             
     902           }
     903           //=== cadre = theImage
     904           jQuery(Cadre).css({ marginLeft: "auto"});
     905           // jQuery(Cadre).width(Zone_Affichage.width);
     906           jQuery(Cadre).css("width", "auto");
    908907           //   jQuery(Cadre).height(Zone_Affichage.height);
    909908
  • extensions/Autosize/js/conflit.js

    r9948 r10308  
    478478    // si admin.php page = "",theIdentificationPage
    479479    try {
    480         Conflit = { version: cl_version, name: name };
     480        Conflit = { version: cl_version, name: cl_plugin };
    481481    } catch (e) {
    482482
  • extensions/Autosize/main.inc.php

    r9283 r10308  
    1818        include_once(AUTOSIZE_PATH.'autosize.inc.php');
    1919//==================================================================
     20global $page;
     21if (!isset( $page['start'])) {
     22 
     23 $page['start']=0;
     24 }
    2025$autosize_controler = new autosize_controler();
    2126add_event_handler('get_admin_plugin_menu_links', array(&$autosize_controler,'cl_autosize_admin')  );
Note: See TracChangeset for help on using the changeset viewer.