Changeset 22218
- Timestamp:
- Apr 15, 2013, 1:42:45 PM (11 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/autosize.inc.php
r22191 r22218 66 66 $infos_message .= "GET:" . cl_print_var($_GET) ; 67 67 $infos_message .= "POST:" . cl_print_var($_POST) ; 68 $infos_message .= "SERVER:" . cl_print_var($_SERVER["HTTP_HOST"]) ; 68 69 $infos_message .= "$pictureDeriv $pictureSelType $pictureMap "; 69 70 } -
extensions/Autosize/js/Affiche_script.js
r22191 r22218 232 232 } 233 233 if (options.pictureDeriv) { 234 if (options.pictureSelType == "Autosize" || options.pictureSelType == "SelMaxi") 234 jQuery(".switchCheck").css({ visibility: "hidden" }); 235 if (options.pictureSelType == "Autosize" || options.pictureSelType == "SelMaxi") { 235 236 jQuery("#derivativeChecked" + options.pictureSelType).css("visibility", "visible"); 236 else 237 jQuery("#derivativeChecked" + options.pictureDeriv + ".switchCheck").css({ visibility: "visible", color: "grey" }); 238 } else 237 239 jQuery("#derivativeChecked" + options.pictureDeriv).css("visibility", "visible"); 238 240 jQuery('.auto_details').text(" (" + Zone_image.image.width + " x " + Zone_image.image.height + ") " + options.pictureDeriv); … … 505 507 jQuery(".Autosize").hide(); 506 508 DEBUG_autosize = options.DEBUG_autosize; 507 var COOKIE_PATH = options.COOKIE_PATH;508 509 OptionsCookie = jQuery.extend({}, { path: options.COOKIE_PATH, expires: 1 }); 509 510 var cookies = Get_cookies(); … … 523 524 var infos_window = jQuery(window).infos(); 524 525 var infos_theImageAndInfos = jQuery(theImageAndInfos_id).infos(); // Cadre 525 // general 526 var infos_content ;526 // general 527 var infos_content=jQuery("#content").infos(true); 527 528 var infos_the_page = jQuery("#the_page").infos(true); 528 529 var nopano = false; … … 813 814 options.pictureMap = retour.pictureDeriv; 814 815 Save_cookies(options); 815 setTimeout("Autosize_resize(false, options)", 500); 816 // Autosize_resize(true, options); 816 setTimeout(function (i) { 817 Autosize_resize(false, options); 818 }, 2); 819 817 820 } 818 821 }); … … 1014 1017 // _________________Autosize ____________________________________ 1015 1018 1016 /***************************************************************************1017 * changeImgSrc1018 **************************************************************************/1019 changeImgSrc = function (url, typeSave, typeMap, type) {1020 if (type == "Autosize" || type == "SelMaxi") {1021 1022 }1023 if (COOKIE_PATH == type) {1024 type = options.pictureSelType;1025 }1026 if (typeof type != "undefined") {1027 options.pictureSelType = type;1028 } else {1029 type = options.pictureSelType;1030 }1031 options.pictureDeriv = typeSave;1032 typeMap = typeSave;1033 options.pictureMap = typeMap;1034 options.pictureDeriv = typeSave;1035 jQuery.cookie('picture_deriv', typeSave, { path: COOKIE_PATH, expires: 1 });1036 1037 url_old = jQuery("#theMainImage").attr("src");1038 1039 jQuery('#derivativeSwitchBox .switchCheck').css('visibility', 'hidden');1040 if (typeof type != "undefined" && (type == "Autosize" || type == "SelMaxi")) {1041 jQuery('#derivativeChecked' + type).css('visibility', 'visible');1042 jQuery.cookie('picture_sel_type', type, OptionsCookie);1043 } else {1044 1045 jQuery('#derivativeChecked' + typeSave).css('visibility', 'visible');1046 jQuery.cookie('picture_sel_type', typeSave, OptionsCookie);1047 }1048 if (url != url_old) {1049 file_exists(url);1050 url_old = url;1051 }1052 jQuery("#theMainImage").removeAttr("width height")1053 .load(function (i) {1054 if (!init_img(this)) {1055 return;1056 }1057 // =======================================================================1058 1059 })1060 .error(function (e) {1061 imgsrc = this.src;1062 if (!this.complete) {1063 // le fichier n'est pas present1064 imgsrc = jQuery(this).attr("src");1065 return false;1066 }1067 1068 })1069 .live("Success", function (e) {1070 if (typeof imageInfos_id == "undefined") return false;1071 })1072 1073 .live("Error", function (data) {1074 if (typeof imageInfos_id == "undefined") return;1075 1076 })1077 .live("fail", function (data) {1078 if (typeof imageInfos_id == "undefined") return;1079 1080 })1081 .live("Progress", function (data) {1082 if (typeof imageInfos_id == "undefined") return;1083 1084 })1085 .live("IsRejected", function (data) {1086 if (typeof imageInfos_id == "undefined") return;1087 1088 })1089 .live("Finish", function (e, data) {1090 if (typeof imageInfos_id == "undefined") return;1091 1092 })1093 .live("change", function (e) {1094 theMainImage_st = this.complete;1095 imgsrc = this.src;1096 })1097 .live("Complete", function (e, data) {1098 if (data.statusText != "OK") {1099 popup = jQuery(".errors");1100 if (popup.length == 0) {1101 jQuery("#theImage").append("<div class='errors'><span></span></div>");1102 }1103 jQuery(".errors").text("Erreur : [" + data.done + "] " + data.src);1104 jQuery(".errors").show().delay(10000).hide(2000);1105 return;1106 }1107 if (data.src) { }1108 if (options.pictureDeriv == "Original" && data.src.match(RegExp("\-.." + ".jpg", "gi"))) {1109 // Autosize_resize(true, options);1110 } else if (data.src.match(RegExp(options.pictureDeriv.substr(0, 2) + ".jpg", "gi"))) {1111 // Autosize_resize(true, options);1112 } else {1113 1114 }1115 1116 });1117 // _________ theMainImage ___________1118 1119 };1120 1121 // __________________ changeImgSrc ______________________1122 1019 1123 1020 /*************************************************************************** 1124 1021 * pamoorama 1125 1022 **************************************************************************/ 1126 1127 1128 1023 jQuery("#pamoorama").bind("on", function () { alert($(this).text()); }); 1129 1024 jQuery("#pamoorama").bind("on", function (e) { … … 1445 1340 // ===== calcul Image === 1446 1341 if (typeof imageInfos_id == "undefined") return; 1447 if (Calcul_Image() =="Wait") { // image en cours1342 if (Calcul_Image() == "Wait") { // image en cours 1448 1343 return "Wait"; 1449 1344 } … … 1828 1723 Zone_image.marges = { width: marge_left + marge_right + retrait_img.width, 1829 1724 height: marge_top + marge_bottom + retrait_img.height 1830 } 1725 }; 1831 1726 return true; 1832 } 1727 }; 1833 1728 1834 1729 /*************************************************************************** … … 2269 2164 } // Debug_pos 2270 2165 // ========================================================== 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 }); // ready 2281 2282 2283 2166 }); // ready 2284 2167 jQuery("#derivativeSwitchBox a").click(function (e) { 2285 2168 k1 = 0; 2286 2169 }); 2287 2170 //========================================================== 2288 function file_exists(filename){2289 var params = { filename: filename, types: [], src: [] };2290 url = "plugins/PersonalPlugin/fileok.php?filename=" + filename;2291 jQuery.ajax({2292 type: "POST",2293 url: url,2294 data: params,2295 dataType: "json",2296 success: function (data) {2297 if (!data.stat || data.stat != "ok") {2298 return;2299 }2300 if(data.result[1]=="ok"){2301 jQuery("#theMainImage").attr("src", data.result[0]);2302 }2303 /*2304 retour = "<ul>" ;2305 jQuery(".infos").text(data.stat);2306 for (var i = 0; i < data.result.length; i++) {2307 retour = retour + "<li >" + data.result[i] + "</li>";2308 2309 }2310 retour += "</ul>";2311 jQuery(".infos").html(retour);2312 */2313 },2314 error: function (data) {2315 jQuery(".infos").html(data.responseText);2316 }2317 });2318 }; -
extensions/Autosize/js/JScript.js
r18716 r22218 43 43 stb = jQuery('#scrolltobottom'); 44 44 stt = jQuery('#scrolltotop'); 45 stt.css('opacity', 1) 46 stb.css('opacity', 1) 45 stt.css('opacity', 1); 46 stb.css('opacity', 1); 47 47 48 48 jQuery('#scrolltotop').height(100); -
extensions/Autosize/js/autosize.cookie.js
r22133 r22218 1 jQuery.cookie = function(name, value, options) { 1 if (typeof jQuery.cookie != "function") { 2 jQuery.cookie = function (name, value, options) { 2 3 if (typeof value != 'undefined') { // name and value given, set cookie 3 options = options || {}; 4 if (value === null) { 5 value = ''; 6 options.expires = -1; 4 options = options || {}; 5 if (value === null) { 6 value = ''; 7 options.expires = -1; 8 } 9 var expires = ''; 10 if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { 11 var date; 12 if (typeof options.expires == 'number') { 13 date = new Date(); 14 date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); 15 } else { 16 date = options.expires; 7 17 } 8 var expires = ''; 9 if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) { 10 var date; 11 if (typeof options.expires == 'number') { 12 date = new Date(); 13 date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); 14 } else { 15 date = options.expires; 16 } 17 expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE 18 expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by IE 19 } 20 // CAUTION: Needed to parenthesize options.path and options.domain 21 // in the following expressions, otherwise they evaluate to undefined 22 // in the packed version for some reason... 23 var path = options.path ? '; path=' + (options.path) : ''; 24 var domain = options.domain ? '; domain=' + (options.domain) : ''; 25 var secure = options.secure ? '; secure' : ''; 26 document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); 27 } else { // only name given, get cookie 28 var cookieValue = null; 29 if (document.cookie && document.cookie != '') { 30 var cookies = document.cookie.split(';'); 31 for (var i = 0; i < cookies.length; i++) { 32 var cookie = jQuery.trim(cookies[i]); 33 // Does this cookie string begin with the name we want? 34 if (cookie.substring(0, name.length + 1) == (name + '=')) { 35 cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); 36 break; 37 } 18 38 } 19 // CAUTION: Needed to parenthesize options.path and options.domain 20 // in the following expressions, otherwise they evaluate to undefined 21 // in the packed version for some reason... 22 var path = options.path ? '; path=' + (options.path) : ''; 23 var domain = options.domain ? '; domain=' + (options.domain) : ''; 24 var secure = options.secure ? '; secure' : ''; 25 document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join(''); 26 } else { // only name given, get cookie 27 var cookieValue = null; 28 if (document.cookie && document.cookie != '') { 29 var cookies = document.cookie.split(';'); 30 for (var i = 0; i < cookies.length; i++) { 31 var cookie = jQuery.trim(cookies[i]); 32 // Does this cookie string begin with the name we want? 33 if (cookie.substring(0, name.length + 1) == (name + '=')) { 34 cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); 35 break; 36 } 37 } 38 } 39 return cookieValue; 39 } 40 return cookieValue; 40 41 } 41 }; 42 43 44 function hideMenu(delay) { 45 var menubar = jQuery("#menubar"); 46 var menuswitcher = jQuery("#menuSwitcher"); 47 var content = jQuery("#the_page > .content"); 48 var pcontent = jQuery("#content"); 49 50 menubar.hide(delay); 51 menuswitcher.addClass("menuhidden").removeClass("menushown"); 52 content.addClass("menuhidden").removeClass("menushown"); 53 pcontent.addClass("menuhidden").removeClass("menushown"); 54 jQuery.cookie('picture-menu', 'hidden', { path: "/" }); 55 56 } 57 58 function showMenu(delay) { 59 60 var menubar = jQuery("#menubar"); 61 var menuswitcher = jQuery("#menuSwitcher"); 62 var content = jQuery("#the_page > .content"); 63 var pcontent = jQuery("#content"); 64 65 menubar.show(delay); 66 menuswitcher.addClass("menushown").removeClass("menuhidden"); 67 content.addClass("menushown").removeClass("menuhidden"); 68 pcontent.addClass("menushown").removeClass("menuhidden"); 69 jQuery.cookie('picture-menu', 'visible', { path: "/" }); 70 71 } 72 73 function hideInfo(delay) { 74 75 var imageInfos = jQuery("#imageInfos"); 76 var infoswitcher = jQuery("#infoSwitcher"); 77 var theImage = jQuery("#theImage"); 78 79 imageInfos.hide(delay); 80 infoswitcher.addClass("infohidden").removeClass("infoshown"); 81 theImage.addClass("infohidden").removeClass("infoshown"); 82 jQuery.cookie('side-info', 'hidden', { path: "/" }); 83 84 } 85 86 function showInfo(delay) { 87 88 var imageInfos = jQuery("#imageInfos"); 89 var infoswitcher = jQuery("#infoSwitcher"); 90 var theImage = jQuery("#theImage"); 91 92 imageInfos.show(delay); 93 infoswitcher.addClass("infoshown").removeClass("infohidden"); 94 theImage.addClass("infoshown").removeClass("infohidden"); 95 jQuery.cookie('side-info', 'visible', { path: "/" }); 96 97 } 98 //========================================================================= 99 jQuery(window).ready(function (jQuery) { 100 return; 101 jQuery(window).load(function (i) { 102 103 }); 104 var myWidth = 0, myHeight = 0, myImgWidth = 0, myImgHeight = 0; 105 if (typeof (window.innerWidth) == 'number') { 106 //Non-IE 107 myWidth = window.innerWidth; 108 myHeight = window.innerHeight; 109 } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) { 110 //IE 6+ in 'standards compliant mode' 111 myWidth = document.documentElement.clientWidth; 112 myHeight = document.documentElement.clientHeight; 113 } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) { 114 //IE 4 compatible 115 myWidth = document.body.clientWidth; 116 myHeight = document.body.clientHeight; 117 } 118 windowWidth = parseInt(myWidth); 119 windowHeight = parseInt(myHeight); 120 121 122 return; 123 124 // side-menu show/hide 125 126 127 var sidemenu = jQuery.cookie('picture-menu') || jQuery.cookie('side-menu'); 128 var menubar = jQuery("#menubar"); 129 // return; 130 if (menubar.length == 1) { 131 132 jQuery("#menuSwitcher").html("<div class=\"switchArrow\"> </div>"); 133 134 // if cookie says the menu is hiding, keep it hidden! 135 if (sidemenu == 'visible' || sidemenu == 'showing') { 136 showMenu(0); 137 } else { 138 hideMenu(0); 139 } 140 141 jQuery("#menuSwitcher").click(function () { 142 if (jQuery("#menubar").is(":hidden")) { 143 showMenu(0); 144 return false; 145 } else { 146 hideMenu(0); 147 return false; 148 } 149 }); 150 151 } 152 153 // info show/hide 154 155 var sideinfo = jQuery.cookie('side-info'); 156 var imageInfos = jQuery("#imageInfos"); 157 158 if (imageInfos.length == 1) { 159 160 jQuery("#infoSwitcher").html("<div class=\"switchArrow\"> </div>"); 161 162 // if cookie says the menu is hiding, keep it hidden! 163 if (sideinfo == 'hidden') { 164 hideInfo(0); 165 } else { 166 showInfo(0); 167 } 168 169 jQuery("#infoSwitcher").click(function () { 170 if (jQuery("#imageInfos").is(":hidden")) { 171 showInfo(0); 172 return false; 173 } else { 174 hideInfo(0); 175 return false; 176 } 177 }); 178 179 } 180 181 // comments show/hide 182 183 var commentsswicther = jQuery("#commentsSwitcher"); 184 var comments = jQuery("#thePicturePage #comments"); 185 186 commentsswicther.html("<div class=\"switchArrow\"> </div>"); 187 188 if (comments.length == 1) { 189 var comments_button = jQuery("#comments h3"); 190 191 if (comments_button.length == 0) { 192 jQuery("#addComment").before("<h3>Comments</h3>"); 193 comments_button = jQuery("#comments h3"); 194 } 195 196 if (jQuery.cookie('comments') == 'visible') { 197 comments.addClass("commentsshown"); 198 comments_button.addClass("comments_toggle").addClass("comments_toggle_off"); 199 } else { 200 comments.addClass("commentshidden"); 201 comments_button.addClass("comments_toggle").addClass("comments_toggle_on"); 202 } 203 204 comments_button.click(function () { commentsToggle() }); 205 commentsswicther.click(function () { commentsToggle() }); 206 207 } 208 209 210 }); 211 212 function commentsToggle() { 213 var comments = jQuery("#thePicturePage #comments"); 214 var comments_button = jQuery("#comments h3"); 215 216 if (comments.hasClass("commentshidden")) { 217 comments.removeClass("commentshidden").addClass("commentsshown"); 218 comments_button.addClass("comments_toggle_off").removeClass("comments_toggle_on"); ; 219 jQuery.cookie('comments', 'visible', { path: "/" }); 220 } else { 221 comments.addClass("commentshidden").removeClass("commentsshown"); 222 comments_button.addClass("comments_toggle_on").removeClass("comments_toggle_off"); ; 223 jQuery.cookie('comments', 'hidden', { path: "/" }); 224 } 225 226 } 42 }; 43 //========================================================================= 44 } -
extensions/Autosize/js/autosize.dimensions.js
r22116 r22218 117 117 118 118 119 var Left = 0, Top = 0, offset, parentOffset, offsetParent,results;119 var Left = 0, Top = 0, results; 120 120 var borderwidth = { width: "0 0 0 0", 121 121 top: 0, … … 123 123 right: 0, 124 124 bottom: 0 125 } 125 }; 126 126 var padding = { padding: "0 0 0 0", 127 127 top: 0, … … 196 196 var myWidth = 0, myHeight = 0; 197 197 198 var xHeight = jQuery(document).height();199 198 var x2Height = jQuery(window).height(); 200 199 … … 377 376 }; 378 377 379 return results 378 return results; 380 379 } return results; 381 380 }, … … 384 383 */ 385 384 d_position: function () { 386 var left = 0, top = 0, elem = this[0], offset, parentOffset, offsetParent, results;385 var elem = this[0], offset, parentOffset, offsetParent, results=null; 387 386 l1 = jQuery(elem).css("left"); 388 387 if (elem) { … … 426 425 */ 427 426 offsetParent: function () { 427 var offsetParent = null; 428 428 if (this[0] == window) return; 429 429 try { 430 430 431 431 n1 = this[0].nodeName; 432 varoffsetParent = this[0].offsetParent;432 offsetParent = this[0].offsetParent; 433 433 434 434 while (offsetParent && (!/^body|html$/i.test(offsetParent.tagName) && jQuery.css(offsetParent, 'position') == 'static')) … … 447 447 if (window.getComputedStyle) // Mozilla Firefox & cie 448 448 { 449 varpropriete = window.getComputedStyle(element, null);449 propriete = window.getComputedStyle(element, null); 450 450 } 451 451 else if (element.currentStyle) // Microsoft Internet Explorer 452 452 { 453 454 var propriete = element.currentStyle; 453 propriete = element.currentStyle; 455 454 } 456 455 } catch (e) { … … 541 540 return val; 542 541 543 } 542 }; 544 543 545 544 /* … … 559 558 } 560 559 } 561 valeur_num = Math.ceil(valeur_num) ;562 return valeur_num || 0;560 valeur_num = Math.ceil(valeur_num)|| 0; 561 return valeur_num ; 563 562 } 564 563 -
extensions/Autosize/js/autosizeDetect.js
r22191 r22218 1 1 function on_load() { 2 var myWidth = 0, myHeight = 0 , myImgWidth = 0, myImgHeight = 0;2 var myWidth = 0, myHeight = 0; 3 3 if (typeof (window.innerWidth) == 'number') { 4 4 // Non-IE -
extensions/Autosize/js/conflit.js
r18716 r22218 7 7 var browser = detect_browser(); 8 8 image_w = 600; 9 image_h = 400 9 image_h = 400; 10 10 var pamoorama_detect = true; 11 11 … … 23 23 netscape: false, 24 24 seamonkey: false 25 } 25 }; 26 26 if (checkIt('konqueror')) { mybrowser.Konqueror = true; lbrowser = "konqueror"; OS = "Linux"; } 27 27 else if (checkIt('seamonkey')) { mybrowser.seamonkey = true; lbrowser = "seamonkey"; } … … 46 46 mybrowser.OS = OS; 47 47 mybrowser.browser = lbrowser; 48 return mybrowser 48 return mybrowser; 49 49 }; 50 50 function checkIt(string) { … … 190 190 jQuery(".gmapsPopup").css("left", l1 + "px"); 191 191 jQuery(".gmapsPopup").css("top", h1 + "px"); 192 }) 192 }); 193 193 //============================================================= 194 194 // jQuery(window).resize(); … … 281 281 function getStackTrace() { 282 282 var callstack = []; 283 var isCallstackPopulated = false; 283 var isCallstackPopulated = false; 284 var state_ff = ""; 285 var currentFunction = arguments.callee.caller; 286 var fn2 = null; 287 var fn1=null; 288 284 289 try { 285 290 i.dont.exist += 0; //doesn't exist- that's the point 286 291 } catch (e) { 287 var retcallstack = []; 288 var e_message = e.message; 292 retcallstack = []; 289 293 var e_stack = e.stack; 290 var state_ff = "";294 291 295 if (e_stack) { //Firefox Opera 3.6 292 296 //=== test fichier source ============= … … 361 365 } 362 366 if (!isCallstackPopulated) { //IE and Safari 363 var currentFunction = arguments.callee.caller; 367 currentFunction = arguments.callee.caller; 368 fn2 = null,fn1=null; 364 369 //next 365 370 callstack = []; … … 370 375 } 371 376 states = []; 372 varfn1 = currentFunction.toString(); // fonction d'appel local (conflit)377 fn1 = currentFunction.toString(); // fonction d'appel local (conflit) 373 378 374 379 currentFunction = currentFunction.caller; 375 varfn2 = currentFunction.toString(); // fonction d'appel local (conflit)380 fn2 = currentFunction.toString(); // fonction d'appel local (conflit) 376 381 currentFunction = currentFunction.caller; 377 382 //$family … … 407 412 //====================== 408 413 //? bubble 409 Expression = new RegExp("\\$", "gi") 414 Expression = new RegExp("\\$", "gi"); 410 415 if (fn.match(Expression)) { 411 416 if (fn.match(RegExp("rateForm", "gi"))) { … … 416 421 } 417 422 // "window.fireEvent('domready')" 418 Expression = new RegExp("window.fireEvent", "gi") 423 Expression = new RegExp("window.fireEvent", "gi"); 419 424 if (fn.match(Expression)) { //luciano 420 425 // "window.fireEvent('domready')" 421 Expression = new RegExp("window.fireEvent..domready..", "gi") 426 Expression = new RegExp("window.fireEvent..domready..", "gi"); 422 427 if (fn.match(Expression)) { 423 428 states.push('Luciano'); … … 492 497 $.ajax = function (args) { 493 498 return jQuery.ajax(args); 494 } 499 } ; 495 500 } 496 501 -
extensions/Autosize/template/autosize.tpl
r19030 r22218 11 11 has_pamoorama: '{$has_pamoorama}', 12 12 slideshow: '{$slide_show}', 13 13 AUTOSIZE_PATH:'{$AUTOSIZE_PATH}', 14 14 pictureSelType:'{$pictureSelType}', 15 15 pictureDeriv :'{$pictureDeriv}' , -
extensions/Autosize/template/picture_1.tpl
r22191 r22218 15 15 {else } 16 16 {combine_script id="Affiche_script" path= $AUTOSIZE_PATH|@cat:"js/Affiche_script.js" require='jquery,autosize.dimensions' } 17 {if $theme != "elegant"} 18 {combine_script id="autosize.cookie" path = $AUTOSIZE_PATH|@cat:"js/autosize.cookie.js" require="jquery" } 19 {/if} 17 20 18 {combine_script id="autosize.dimensions" path = $AUTOSIZE_PATH|@cat:"js/autosize.dimensions.js" require="jquery"} 21 19 {/if} … … 24 22 {combine_script id="maps.google.com/api" path="http://maps.google.com/maps/api/js?sensor=false" require="jquery" } 25 23 {/if} 24 25 {if $theme != "elegant"} {/if} 26 27 {combine_script id="autosize.cookie" path = $AUTOSIZE_PATH|@cat:"js/autosize.cookie.js" require="jquery,Affiche_script" } 28 29
Note: See TracChangeset
for help on using the changeset viewer.