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:
rvelices
2012-01-20 05:36:58 +00:00
parent 99b58aef93
commit b7fff52095
44 changed files with 27 additions and 384 deletions
-7
View File
@@ -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