Changeset 9937
- Timestamp:
- Mar 30, 2011, 4:44:24 PM (13 years ago)
- Location:
- extensions/regenerateThumbnails
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/regenerateThumbnails/element_set_global_action.php
r9931 r9937 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 4 check_status(ACCESS_ADMINISTRATOR); 5 6 function regenerate_prefilter($content, $smarty) 7 { 8 return str_replace('{$thumbnail.TN_SRC}', '{$thumbnail.TN_SRC}?rand='.md5(uniqid(rand(), true)), $content); 9 } 5 10 6 11 global $template, $conf, $page, $pwg_loaded_plugins; -
extensions/regenerateThumbnails/main.inc.php
r9934 r9937 46 46 } 47 47 48 function regenerate_prefilter($content, $smarty)49 {50 return str_replace('{$thumbnail.TN_SRC}', '{$thumbnail.TN_SRC}?rand='.md5(uniqid(rand(), true)), $content);51 }52 53 48 ?> -
extensions/regenerateThumbnails/regenerate_thumbnails.tpl
r9922 r9937 314 314 <option value="with no tag" {if $filter.prefilter eq 'with no tag'}selected="selected"{/if}>{'with no tag'|@translate}</option> 315 315 <option value="duplicates" {if $filter.prefilter eq 'duplicates'}selected="selected"{/if}>{'duplicates'|@translate}</option> 316 <option value="all photos" {if $filter.prefilter eq 'all photos'}selected="selected"{/if}>{' all photos'|@translate}</option>316 <option value="all photos" {if $filter.prefilter eq 'all photos'}selected="selected"{/if}>{'All'|@translate}</option> 317 317 </select> 318 318 </li>
Note: See TracChangeset
for help on using the changeset viewer.