mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
feature 2548 multisize
- comments thumbnails + no more hard coded thumbnail sizes in css - removed admin thumbnail page + language cleanup git-svn-id: http://piwigo.org/svn/trunk@12930 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -415,7 +415,6 @@ DELETE
|
||||
$updates[$field] = $value;
|
||||
}
|
||||
save_upload_form_config($updates);
|
||||
$template->delete_compiled_templates();
|
||||
}
|
||||
|
||||
trigger_action('element_set_global_action', $action, $collection);
|
||||
@@ -758,12 +757,6 @@ $template->assign(
|
||||
)
|
||||
);
|
||||
|
||||
function regenerateThumbnails_prefilter($content, $smarty)
|
||||
{
|
||||
return str_replace('{$thumbnail.TN_SRC}', '{$thumbnail.TN_SRC}?rand='.md5(uniqid(rand(), true)), $content);
|
||||
}
|
||||
$template->set_prefilter('batch_manager_global', 'regenerateThumbnails_prefilter');
|
||||
|
||||
trigger_action('loc_end_element_set_global');
|
||||
|
||||
//----------------------------------------------------------- sending html code
|
||||
|
||||
Reference in New Issue
Block a user