Changeset 23032 for extensions/automatic_size
- Timestamp:
- Jun 4, 2013, 10:20:25 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/automatic_size/main.inc.php
r23023 r23032 84 84 $is_automatic_size = false; 85 85 } 86 $template->assign('is_automatic_size', $is_automatic_size); 86 $template->assign( 87 array( 88 'is_automatic_size' => $is_automatic_size, 89 'ASIZE_URL' => duplicate_picture_url(), 90 ) 91 ); 87 92 88 89 93 if (isset($autosize)) 90 94 { … … 127 131 $pattern = '#\{foreach from=\$current\.unique_derivatives#'; 128 132 $replacement = ' 129 <span class="switchCheck" id="aSizeChecked"{if !$is_automatic_size} style="visibility:hidden"{/if}>✔ </span> <a id="aSize" href=" " data-checked="{if $is_automatic_size}yes{else}no{/if}">{\'Automatic\'|@translate}</a>133 <span class="switchCheck" id="aSizeChecked"{if !$is_automatic_size} style="visibility:hidden"{/if}>✔ </span> <a id="aSize" href="{$ASIZE_URL}" data-checked="{if $is_automatic_size}yes{else}no{/if}">{\'Automatic\'|@translate}</a> 130 134 <br><br> 131 135 {foreach from=$current.unique_derivatives';
Note: See TracChangeset
for help on using the changeset viewer.