From 14778ce673277f2df41f963aa70df1cbed427294 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 13 Mar 2010 00:00:52 +0000 Subject: feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo manages template/theme in a simpler "theme only level" architecture. It supports multiple level inheritance. git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/upload.tpl | 114 +++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 themes/default/template/upload.tpl (limited to 'themes/default/template/upload.tpl') diff --git a/themes/default/template/upload.tpl b/themes/default/template/upload.tpl new file mode 100644 index 000000000..00f17be89 --- /dev/null +++ b/themes/default/template/upload.tpl @@ -0,0 +1,114 @@ + +{* Example of resizeable *} +{* +{include file='include/autosize.inc.tpl'} +*} + +
+ +
+
    +
  • {'Home'|@translate}
  • +
+

{'Upload a picture'|@translate}

+
+ + {if !empty($errors)} +
+
    + {foreach from=$errors item=error} +
  • {$error}
  • + {/foreach} +
+
+ {/if} + + {if not $UPLOAD_SUCCESSFUL } +
+ + + + + + + + {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {/if} + + + +
+ +
{'Category'|@translate} + {html_options name="category" options=$categories selected=$categories_selected} +
{'Username'|@translate} * + +
{'E-mail address'|@translate} * + +
{'Name of the picture'|@translate} + +
{'Author'|@translate} + +
{'Creation date'|@translate} (DD/MM/YYYY) + +
{'Comment'|@translate} + +
+ +
+
+ {else} + {'Picture uploaded with success, an administrator will validate it as soon as possible'|@translate}
+
+ [ {'Home'|@translate} ] +
+ {/if} + + {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS} +
* : {'obligatory'|@translate}
+ {/if} +
-- cgit v1.2.3