- Timestamp:
- Jul 9, 2013, 1:14:14 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r23689 r23882 945 945 if (isset($picture['next']) 946 946 and $picture['next']['src_image']->is_original() 947 and $template->get_template_vars('U_PREFETCH') == null 947 948 and strpos($_SERVER['HTTP_USER_AGENT'], 'Chrome/') === false) 948 949 { -
trunk/themes/default/template/picture.tpl
r23689 r23882 32 32 } 33 33 jQuery('#derivativeSwitchBox .switchCheck').css('visibility','hidden'); 34 jQuery('#derivativeChecked'+type Save).css('visibility','visible');34 jQuery('#derivativeChecked'+typeMap).css('visibility','visible'); 35 35 document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}'; 36 36 } … … 43 43 <div class="switchBoxTitle">{'Photo sizes'|@translate}</div> 44 44 {foreach from=$current.unique_derivatives item=derivative key=derivative_type} 45 <span class="switchCheck" id="derivativeChecked{$derivative _type}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>✔ </span>45 <span class="switchCheck" id="derivativeChecked{$derivative->get_type()}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>✔ </span> 46 46 <a href="javascript:changeImgSrc('{$derivative->get_url()|@escape:javascript}','{$derivative_type}','{$derivative->get_type()}')"> 47 47 {$derivative->get_type()|@translate}<span class="derivativeSizeDetails"> ({$derivative->get_size_hr()})</span>
Note: See TracChangeset
for help on using the changeset viewer.