Skip to content

Commit

Permalink
feature 2548 multisize
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
rvelices committed Jan 20, 2012
1 parent 99b58ae commit b7fff52
Show file tree
Hide file tree
Showing 44 changed files with 27 additions and 384 deletions.
1 change: 0 additions & 1 deletion admin.php
Expand Up @@ -179,7 +179,6 @@
'U_RECENT_SET'=> $link_start.'batch_manager&cat=recent',
'U_BATCH'=> $link_start.'batch_manager',
'U_TAGS'=> $link_start.'tags',
'U_THUMBNAILS'=> $link_start.'thumbnail',
'U_USERS'=> $link_start.'user_list',
'U_GROUPS'=> $link_start.'group_list',
'U_PERMALINKS'=> $link_start.'permalinks',
Expand Down
7 changes: 0 additions & 7 deletions admin/batch_manager_global.php
Expand Up @@ -415,7 +415,6 @@
$updates[$field] = $value;
}
save_upload_form_config($updates);
$template->delete_compiled_templates();
}

trigger_action('element_set_global_action', $action, $collection);
Expand Down Expand Up @@ -758,12 +757,6 @@
)
);

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
Expand Down
1 change: 0 additions & 1 deletion admin/include/functions.php
Expand Up @@ -2015,7 +2015,6 @@ function get_active_menu($menu_page)
case 'stats':
case 'history':
case 'maintenance':
case 'thumbnail':
case 'comments':
case 'updates':
return 4;
Expand Down
3 changes: 0 additions & 3 deletions admin/themes/default/template/admin.tpl
Expand Up @@ -70,9 +70,6 @@ jQuery(document).ready(function(){ldelim}
<li><a href="{$U_SITE_MANAGER}">{'Site manager'|@translate}</a></li>
{/if}
<li><a href="{$U_HISTORY_STAT}">{'History'|@translate}</a></li>
{if $ENABLE_SYNCHRONIZATION}
<li><a href="{$U_THUMBNAILS}">{'Thumbnails'|@translate}</a></li>
{/if}
<li><a href="{$U_MAINTENANCE}">{'Maintenance'|@translate}</a></li>
{if isset($U_PENDING_COMMENTS)}
<li><a href="{$U_PENDING_COMMENTS}">{'Pending Comments'|@translate}</a></li>
Expand Down
162 changes: 0 additions & 162 deletions admin/themes/default/template/thumbnail.tpl

This file was deleted.

140 changes: 0 additions & 140 deletions admin/thumbnail.php

This file was deleted.

0 comments on commit b7fff52

Please sign in to comment.