Changeset 11961 for extensions/Autosize/template/picture.tpl
- Timestamp:
- Aug 16, 2011, 3:27:53 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/template/picture.tpl
r11461 r11961 3 3 cursor:pointer; 4 4 } 5 </style> 5 6 6 </style> 7 {php} 8 global $picture; 9 $zoom=$_POST['zoom']; 10 $this->assign('zoom', $zoom ); 11 12 {/php} 7 13 <a onclick = "Toggle_bp()" id="bp_cla" 8 14 title="{'cl_autosize_info_2'|@translate}" 9 15 alt="{'cl_autosize_info_2'|@translate}" /> 10 <img class="button" id="bp_img_cla" alt="{'cl_autosize_info_2'|@translate}" src="{$cl_autosize_button.ICON}" complete="complete"/> 16 <img class="button" id="bp_img_cla" alt="{'cl_autosize_info_2'|@translate}" src="{$cl_autosize_button.ICON}" complete="complete"/>{$zoom} 11 17 </a> 12 18 13 <script language=javascript type="text/javascript"> 14 15 19 <script language="JavaScript" type="text/javascript"> 16 20 {if $ASP.width} 21 jQuery(window).load(function () {ldelim} 17 22 var asp_options ={ldelim} }; 18 23 if(typeof $("#imageToolBar") !="undefined" ) 19 24 var w = $("#imageToolBar").width(); 20 25 if (w === null) {ldelim} w = $("#theImage").width(); } … … 39 44 //$("#theImage img.simple_panorama").panorama(asp_options); 40 45 }; 41 46 }); 42 47 {/if} 43 48
Note: See TracChangeset
for help on using the changeset viewer.