aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/template/infos_errors.tpl
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2012-02-16 11:51:34 +0000
committerpatdenice <patdenice@piwigo.org>2012-02-16 11:51:34 +0000
commita7f70524df847f3dd8e53e0e07b67597edb1631c (patch)
treedb87ef3bae8722e2439c85edcc67f6d280aef91e /themes/smartpocket/template/infos_errors.tpl
parent4f2ae7cbcece6409b2b7e6e2ec4b73ad04917c5e (diff)
feature:2577
Add mobile theme git-svn-id: http://piwigo.org/svn/trunk@13182 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/smartpocket/template/infos_errors.tpl')
-rw-r--r--themes/smartpocket/template/infos_errors.tpl19
1 files changed, 19 insertions, 0 deletions
diff --git a/themes/smartpocket/template/infos_errors.tpl b/themes/smartpocket/template/infos_errors.tpl
new file mode 100644
index 000000000..ce2db88d9
--- /dev/null
+++ b/themes/smartpocket/template/infos_errors.tpl
@@ -0,0 +1,19 @@
+{if isset($errors) }
+<div class="errors">
+ <ul>
+ {foreach from=$errors item=error}
+ <li>{$error}</li>
+ {/foreach}
+ </ul>
+</div>
+{/if}
+
+{if not empty($infos)}
+<div class="infos">
+ <ul>
+ {foreach from=$infos item=info}
+ <li>{$info}</li>
+ {/foreach}
+ </ul>
+</div>
+{/if} \ No newline at end of file