diff --git a/admin/picture_modify.php b/admin/picture_modify.php index bc86a5be8..28470d752 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -295,7 +295,8 @@ $intro_vars = array( 'size' => $row['width'].'×'.$row['height'].' pixels, '.sprintf('%.2f', $row['filesize']/1024).'MB', 'stats' => l10n('Visited %d times', $row['hit']), 'id' => l10n($row['id']), - 'ext' => l10n('%s file type',strtoupper(end($extTab))) + 'ext' => l10n('%s file type',strtoupper(end($extTab))), + 'is_svg'=> (strtoupper(end($extTab)) == 'SVG'), ); if ($conf['rate'] and !empty($row['rating_score'])) diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl index a2d6dd7c3..4a5ed0418 100644 --- a/admin/themes/default/template/picture_modify.tpl +++ b/admin/themes/default/template/picture_modify.tpl @@ -96,7 +96,7 @@ $('#action-delete-picture').on('click', function() { {combine_css path="admin/themes/default/fontello/css/animation.css" order=10} {* order 10 is required, see issue 1080 *}
-
+
{if isset($U_JUMPTO)} @@ -110,7 +110,11 @@ $('#action-delete-picture').on('click', function() { {/if}
+ {if $INTRO.is_svg} + {'Thumbnail'|translate} + {else} {'Thumbnail'|translate} + {/if}