diff options
author | gweltas <gweltas@piwigo.org> | 2004-02-22 02:43:13 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-02-22 02:43:13 +0000 |
commit | 60b84a9db5822b98a3e18a842901c2f0c323e032 (patch) | |
tree | dbc84d5ee9f839ee44fa7213ed3cbc8ce5a927b9 /template | |
parent | d339037b1e06a84594c503fa7d7b8c1be1862d47 (diff) |
Template migration
git-svn-id: http://piwigo.org/svn/trunk@369 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/default/upload.tpl | 104 | ||||
-rw-r--r-- | template/default/upload.vtp | 104 |
2 files changed, 104 insertions, 104 deletions
diff --git a/template/default/upload.tpl b/template/default/upload.tpl new file mode 100644 index 000000000..e65714dce --- /dev/null +++ b/template/default/upload.tpl @@ -0,0 +1,104 @@ + <table style="width:100%;height:100%"> + <tr align="center" valign="middle"> + <td> + {T_START}1px{T_BEGIN} + <div class="titrePage">{L_TITLE}</div> + {T_END} + <div style="margin-bottom:5px;"> </div> + {T_START}50%{T_BEGIN} + <!-- BEGIN upload_not_successful --> + <form enctype="multipart/form-data" method="post" action="{F_ACTION}"> + <table style="width:80%;margin-left:auto;margin-right:auto;"> + <!-- BEGIN errors --> + <tr> + <td colspan="2"> + <div class="errors"> + <ul> + <!-- BEGIN error --> + <li>{upload_not_successful.errors.error.ERROR}</li> + <!-- END error --> + </ul> + </div> + </td> + </tr> + <!-- END errors --> + <tr> + <td colspan="2" class="menu"> + <div style="text-align:center;">{ADVISE_TITLE}</div> + <ul> + <!-- BEGIN advise --> + <li>{upload_not_successful.advise.ADVISE}</li> + <!-- END advise --> + </ul> + </td> + </tr> + <tr> + <td colspan="2" align="center" style="padding:10px;"> + <input name="picture" type="file" value="" /> + </td> + </tr> + <!-- BEGIN fields --> + <!-- username --> + <tr> + <td class="menu">{L_USERNAME} <span style="color:red;">*</span></td> + <td align="center" style="padding:10px;"> + <input name="username" type="text" value="{NAME}" /> + </td> + </tr> + <!-- mail address --> + <tr> + <td class="menu">{L_EMAIL} <span style="color:red;">*</span></td> + <td align="center" style="padding:10px;"> + <input name="mail_address" type="text" value="{EMAIL}" /> + </td> + </tr> + <!-- name of the picture --> + <tr> + <td class="menu">{L_NAME_IMG}</td> + <td align="center" style="padding:10px;"> + <input name="name" type="text" value="{NAME_IMG}" /> + </td> + </tr> + <!-- author --> + <tr> + <td class="menu">{L_AUTHOR}</td> + <td align="center" style="padding:10px;"> + <input name="author" type="text" value="{AUTHOR_IMG}" /> + </td> + </tr> + <!-- date of creation --> + <tr> + <td class="menu">{L_CREATION_DATE}</td> + <td align="center" style="padding:10px;"> + <input name="date_creation" type="text" value="{DATE_IMG}" /> + </td> + </tr> + <!-- comment --> + <tr> + <td class="menu">{L_COMMENT}</td> + <td align="center" style="padding:10px;"> + <textarea name="comment" rows="3" cols="40" style="overflow:auto">{COMMENT_IMG}</textarea> + </td> + </tr> + <!-- END fields --> + <tr> + <td colspan="2" align="center"> + <input name="submit" type="submit" value="{L_SUBMIT}" /> + </td> + </tr> + </table> + </form> + <!-- END upload_not_successful --> + <!-- BEGIN upload_successful --> + {L_UPLOAD_DONE}<br /> + <!-- END upload_successful --> + <div style="text-align:center;"> + <a href="{U_RETURN}">[ {L_RETURN} ]</a> + </div> + <!-- BEGIN note --> + <div style="text-align:left;"><span style="color:red;">*</span> : {L_MANDATORY}</div> + <!-- END note --> + {T_END} + </td> + </tr> + </table>
\ No newline at end of file diff --git a/template/default/upload.vtp b/template/default/upload.vtp deleted file mode 100644 index 3b618442e..000000000 --- a/template/default/upload.vtp +++ /dev/null @@ -1,104 +0,0 @@ - <table style="width:100%;height:100%"> - <tr align="center" valign="middle"> - <td> - {#frame_start}1px{#frame_begin} - <div class="titrePage">{#upload_title}</div> - {#frame_end} - <div style="margin-bottom:5px;"> </div> - {#frame_start}50%{#frame_begin} - <!--VTP_upload_not_successful--> - <form enctype="multipart/form-data" method="post" action="{#form_action}"> - <table style="width:80%;margin-left:auto;margin-right:auto;"> - <!--VTP_errors--> - <tr> - <td colspan="3"> - <div class="errors"> - <ul> - <!--VTP_li--> - <li>{#li}</li> - <!--/VTP_li--> - </ul> - </div> - </td> - </tr> - <!--/VTP_errors--> - <tr> - <td colspan="2" class="menu"> - <div style="text-align:center;">{#advise_title}</div> - <ul> - <!--VTP_advise--> - <li>{#content}</li> - <!--/VTP_advise--> - </ul> - </td> - </tr> - <tr> - <td colspan="2" align="center" style="padding:10px;"> - <input name="picture" type="file" value="" /> - </td> - </tr> - <!--VTP_fields--> - <!-- username --> - <tr> - <td class="menu">{#upload_username} <span style="color:red;">*</span></td> - <td align="center" style="padding:10px;"> - <input name="username" type="text" value="{#username}" /> - </td> - </tr> - <!-- mail address --> - <tr> - <td class="menu">{#mail_address} <span style="color:red;">*</span></td> - <td align="center" style="padding:10px;"> - <input name="mail_address" type="text" value="{#user_mail_address}" /> - </td> - </tr> - <!-- name of the picture --> - <tr> - <td class="menu">{#upload_name}</td> - <td align="center" style="padding:10px;"> - <input name="name" type="text" value="{#name}" /> - </td> - </tr> - <!-- author --> - <tr> - <td class="menu">{#upload_author}</td> - <td align="center" style="padding:10px;"> - <input name="author" type="text" value="{#author}" /> - </td> - </tr> - <!-- date of creation --> - <tr> - <td class="menu">{#upload_creation_date}</td> - <td align="center" style="padding:10px;"> - <input name="date_creation" type="text" value="{#date_creation}" /> - </td> - </tr> - <!-- comment --> - <tr> - <td class="menu">{#upload_comment}</td> - <td align="center" style="padding:10px;"> - <textarea name="comment" rows="3" cols="40" style="overflow:auto">{#comment}</textarea> - </td> - </tr> - <!--/VTP_fields--> - <tr> - <td colspan="2" align="center"> - <input name="submit" type="submit" value="{#submit}" /> - </td> - </tr> - </table> - </form> - <!--/VTP_upload_not_successful--> - <!--VTP_upload_successful--> - {#upload_successful}<br /> - <!--/VTP_upload_successful--> - <div style="text-align:center;"> - <a href="{#return_url}">[ {#search_return_main_page} ]</a> - </div> - <!--VTP_note--> - <div style="text-align:left;"><span style="color:red;">*</span> : {#mandatory}</div> - <!--/VTP_note--> - {#frame_end} - </td> - </tr> - </table>
\ No newline at end of file |