aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/photos_add_direct.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-06-29 00:18:40 +0000
committerplegall <plg@piwigo.org>2010-06-29 00:18:40 +0000
commit2bccd339a61f55060cb88c33006c708f1c5aab98 (patch)
tree3778fc3106c2da79b55e21fc099a18c9cd862033 /admin/themes/default/template/photos_add_direct.tpl
parent46e324e5828673abf8b6bde5d13f192fe7060270 (diff)
bug 1742 fixed: if the EXIF functions are not available:
1) display a warning (but not an error) 2) avoid to try to read EXIF data git-svn-id: http://piwigo.org/svn/branches/2.1@6621 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/photos_add_direct.tpl')
-rw-r--r--admin/themes/default/template/photos_add_direct.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl
index b7684f430..ff1ada8e2 100644
--- a/admin/themes/default/template/photos_add_direct.tpl
+++ b/admin/themes/default/template/photos_add_direct.tpl
@@ -216,6 +216,17 @@ var buttonText = 'Browse';
</div>
{else}
+ {if count($setup_warnings) > 0}
+<div class="warnings">
+ <ul>
+ {foreach from=$setup_warnings item=warning}
+ <li>{$warning}</li>
+ {/foreach}
+ </ul>
+</div>
+ {/if}
+
+
{if !empty($thumbnails)}
<fieldset>
<legend>{'Uploaded Photos'|@translate}</legend>