Changeset 7914


Ignore:
Timestamp:
Nov 28, 2010, 4:57:29 PM (10 years ago)
Author:
cljosse
Message:

[cl_conflit] setup!!

Location:
extensions/cl_conflit
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • extensions/cl_conflit/conflit.inc.php

    r7909 r7914  
    3333 static public function cl_conflit_script()
    3434        {
    35 
    36 
    3735           global  $template,$user,$conf,$picture ,$page,$cl_plugin;
    3836 
  • extensions/cl_conflit/include/affiche.php

    r7905 r7914  
    44
    55$visible=(isset($visible))?$visible:false;
    6 $img_width=isset($picture['current']['width'])?$picture['current']['width']:480;
    7 $img_height=isset($picture['current']['height'])?$picture['current']['height']:320;
    86$cl_version=isset($cl_version)?$cl_version:"";
    97$theme=$user['theme'];
     
    1412                                        'cl_version' => $cl_version,
    1513                                        'cl_plugin' => $cl_plugin,
    16                     'cl_version' => $cl_version,
    1714                    'CONFLIT_PATH' => CONFLIT_PATH,
    1815                    'theme' => $theme,
  • extensions/cl_conflit/js/conflit.js

    r7911 r7914  
    1616//===================================================
    1717var detect = navigator.userAgent.toLowerCase();
    18 var OS, cl_version;
     18var OS, version;
    1919//==============================================================================
    2020browser = detect_browser();
     
    3939
    4040    else if (checkIt('msie')) { mybrowser.msie = true; lbrowser = "msie"; }
    41     else if (checkIt('compatible')) { mybrowser.NetscapeNavigator = true; lmybrowser.browser = "NetscapeNavigator"; cl_version = detect.charAt(8); }
     41    else if (checkIt('compatible')) { mybrowser.NetscapeNavigator = true; lmybrowser.browser = "NetscapeNavigator"; version = detect.charAt(8); }
    4242    else lbrowser = "An unknown browser";
    43     if (!cl_version) cl_version = detect.charAt(place + thestring.length);
     43    if (!version) version = detect.charAt(place + thestring.length);
    4444    if (!OS) {
    4545        if (checkIt('linux')) OS = "Linux";
     
    277277
    278278/*
    279 * mootools.js  cl_version: "1.11"
     279* mootools.js  version: "1.11"
    280280* pamoorama0.3.js
    281281*
    282282* main.js (google maps)
    283 * prototype.js(mootool cl_version: "1.62")
     283* prototype.js(mootool version: "1.62")
    284284* windows.js
    285285*
  • extensions/cl_conflit/js/jquery.dimensions.js

    r7910 r7914  
    88* $LastChangedDate: 2010-10-23 08:43:48 -0600 (Thu, 20 Dec 2007) $
    99* By cljosse
    10 * cl_version: 1.2
     10* Version: 1.2
    1111*
    1212* Requires: jQuery 1.2+
     
    1414*/
    1515(function (jQuery) {
    16     jQuery.dimensions = { cl_dimensions_version: '1.3' };
     16    jQuery.dimensions = { version: '1.3' };
    1717    /*
    1818    * Interception Height, Width
  • extensions/cl_conflit/template/conflit.tpl

    r7905 r7914  
    99    var theme = '{$theme}';
    1010    var cl_version = '{$cl_version}';
    11     var cl_plugin = '{$cl_plugin}';
     11    var cl_plugin = '{$name}';
    1212</script>
Note: See TracChangeset for help on using the changeset viewer.