aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/upload.tpl
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-05-02 21:56:21 +0000
committerrub <rub@piwigo.org>2008-05-02 21:56:21 +0000
commit5436a351ef6dd685483f022af6656bbf8b797cb6 (patch)
tree8d963ace1e57b404726500753111649d144527c6 /template/yoga/upload.tpl
parent7942dccf9b682d359a89636528e96af5b38327da (diff)
Resolved issue 0000823: Enhance upload functionalities
First commit, others will be follow. Not hesitate to change my translations. Add upload configuration tabsheet (move and add configuration) Change and add define for access level Can show upload link every time Can restrict access upload.class.php Can choice category on upload page Add upload class not use for the moment Review quickly and temporary style of upload.tpl git-svn-id: http://piwigo.org/svn/trunk@2325 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/upload.tpl')
-rw-r--r--template/yoga/upload.tpl45
1 files changed, 26 insertions, 19 deletions
diff --git a/template/yoga/upload.tpl b/template/yoga/upload.tpl
index 1aad667e3..78ef36585 100644
--- a/template/yoga/upload.tpl
+++ b/template/yoga/upload.tpl
@@ -35,50 +35,57 @@
</td>
</tr>
<tr>
- <td colspan="2" align="center" style="padding:10px;">
+ <td colspan="2" align="center">
<input name="picture" type="file" value="" />
</td>
</tr>
{if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
- <!-- username -->
+ <!-- category -->
+ <tr>
+ <td>{'Category'|@translate}</td>
+ <td>
+ {html_options name="category" options=$categories selected=$categories_selected}
+ </td>
+ </tr>
+ <!-- username -->
<tr>
- <td class="menu">{'Username'|@translate} <span style="color:red;">*</span></td>
- <td align="left" style="padding:10px;">
+ <td>{'Username'|@translate} <span style="color:red;">*</span></td>
+ <td>
<input name="username" type="text" value="{$NAME}" />
</td>
</tr>
- <!-- mail address -->
+ <!-- mail address -->
<tr>
- <td class="menu">{'mail_address'|@translate} <span style="color:red;">*</span></td>
- <td align="left" style="padding:10px;">
+ <td>{'mail_address'|@translate} <span style="color:red;">*</span></td>
+ <td>
<input name="mail_address" type="text" value="{$EMAIL}" />
</td>
</tr>
- <!-- name of the picture -->
+ <!-- name of the picture -->
<tr>
- <td class="menu">{'upload_name'|@translate}</td>
- <td align="left" style="padding:10px;">
+ <td>{'upload_name'|@translate}</td>
+ <td>
<input name="name" type="text" value="{$NAME_IMG}" />
</td>
</tr>
- <!-- author -->
+ <!-- author -->
<tr>
- <td class="menu">{'upload_author'|@translate}</td>
- <td align="left" style="padding:10px;">
+ <td>{'upload_author'|@translate}</td>
+ <td>
<input name="author" type="text" value="{$AUTHOR_IMG}" />
</td>
</tr>
- <!-- date of creation -->
+ <!-- date of creation -->
<tr>
- <td class="menu">{'Creation date'|@translate} (DD/MM/YYYY)</td>
- <td align="left" style="padding:10px;">
+ <td>{'Creation date'|@translate} (DD/MM/YYYY)</td>
+ <td>
<input name="date_creation" type="text" value="{$DATE_IMG}" />
</td>
</tr>
- <!-- comment -->
+ <!-- comment -->
<tr>
- <td class="menu">{'comment'|@translate}</td>
- <td align="left" style="padding:10px;">
+ <td>{'comment'|@translate}</td>
+ <td>
<textarea name="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea>
</td>
</tr>