aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/upload.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
committerplegall <plg@piwigo.org>2010-03-13 00:00:52 +0000
commit14778ce673277f2df41f963aa70df1cbed427294 (patch)
tree8c723d4d9827876dbf19d2bd581405fc50910860 /template/default/upload.tpl
parentc396f08708d431c6f7e8656eaca4fd8e440fdd39 (diff)
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
Diffstat (limited to 'template/default/upload.tpl')
-rw-r--r--template/default/upload.tpl114
1 files changed, 0 insertions, 114 deletions
diff --git a/template/default/upload.tpl b/template/default/upload.tpl
deleted file mode 100644
index 00f17be89..000000000
--- a/template/default/upload.tpl
+++ /dev/null
@@ -1,114 +0,0 @@
-
-{* Example of resizeable *}
-{*
-{include file='include/autosize.inc.tpl'}
-*}
-
-<div id="content" class="content">
-
- <div class="titrePage">
- <ul class="categoryActions">
- <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/Home.png" class="button" alt="{'Home'|@translate}"></a></li>
- </ul>
- <h2>{'Upload a picture'|@translate}</h2>
- </div>
-
- {if !empty($errors)}
- <div class="errors">
- <ul>
- {foreach from=$errors item=error}
- <li>{$error}</li>
- {/foreach}
- </ul>
- </div>
- {/if}
-
- {if not $UPLOAD_SUCCESSFUL }
- <form enctype="multipart/form-data" method="post" action="{$F_ACTION}">
- <table style="width:80%;margin-left:auto;margin-right:auto;">
- <tr>
- <td colspan="2" class="menu">
- <div style="text-align:center;">{$ADVISE_TITLE}</div>
- {if not empty($advises)}
- <ul>
- {foreach from=$advises item=advise}
- <li>{$advise}</li>
- {/foreach}
- </ul>
- {/if}
- </td>
- </tr>
- <tr>
- <td colspan="2" align="center">
- <input class="file" name="picture" type="file" value="">
- </td>
- </tr>
- {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
- <!-- category -->
- <tr>
- <td>{'Category'|@translate}</td>
- <td>
- {html_options name="category" options=$categories selected=$categories_selected}
- </td>
- </tr>
- <!-- username -->
- <tr>
- <td>{'Username'|@translate} <span style="color:red;">*</span></td>
- <td>
- <input name="username" type="text" value="{$NAME}">
- </td>
- </tr>
- <!-- mail address -->
- <tr>
- <td>{'E-mail address'|@translate} <span style="color:red;">*</span></td>
- <td>
- <input name="mail_address" type="text" value="{$EMAIL}">
- </td>
- </tr>
- <!-- name of the picture -->
- <tr>
- <td>{'Name of the picture'|@translate}</td>
- <td>
- <input name="name" type="text" value="{$NAME_IMG}">
- </td>
- </tr>
- <!-- author -->
- <tr>
- <td>{'Author'|@translate}</td>
- <td>
- <input name="author" type="text" value="{$AUTHOR_IMG}">
- </td>
- </tr>
- <!-- date of creation -->
- <tr>
- <td>{'Creation date'|@translate} (DD/MM/YYYY)</td>
- <td>
- <input name="date_creation" type="text" value="{$DATE_IMG}">
- </td>
- </tr>
- <!-- comment -->
- <tr>
- <td>{'Comment'|@translate}</td>
- <td>
- <textarea name="comment" id="comment" rows="3" cols="40" style="overflow:auto">{$COMMENT_IMG}</textarea>
- </td>
- </tr>
- {/if}
- <tr>
- <td colspan="2" align="center">
- <input class="submit" name="submit" type="submit" value="{'Submit'|@translate}">
- </td>
- </tr>
- </table>
- </form>
- {else}
- {'Picture uploaded with success, an administrator will validate it as soon as possible'|@translate}<br>
- <div style="text-align:center;">
- <a href="{$U_RETURN}">[ {'Home'|@translate} ]</a>
- </div>
- {/if}
-
- {if isset($SHOW_FORM_FIELDS) and $SHOW_FORM_FIELDS}
- <div style="text-align:left; margin-left:20px;"><span style="color:red;">*</span> : {'obligatory'|@translate}</div>
- {/if}
-</div> <!-- content -->