diff options
author | gweltas <gweltas@piwigo.org> | 2004-08-31 23:05:19 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2004-08-31 23:05:19 +0000 |
commit | f13b345dcfcab905a091d419073e0550d7e7cb1b (patch) | |
tree | 94741cdffdf42062341762d3e856e7ae5c77d48e /template | |
parent | a8cb550b92ff3230b5b062d85bebccdca75580de (diff) |
Template migration : picture_modify.php
git-svn-id: http://piwigo.org/svn/trunk@509 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r-- | template/default/admin/picture_modify.tpl | 92 | ||||
-rw-r--r-- | template/default/admin/picture_modify.vtp | 107 |
2 files changed, 92 insertions, 107 deletions
diff --git a/template/default/admin/picture_modify.tpl b/template/default/admin/picture_modify.tpl new file mode 100644 index 000000000..41ee6630f --- /dev/null +++ b/template/default/admin/picture_modify.tpl @@ -0,0 +1,92 @@ +<!-- BEGIN errors --> +<div class="errors"> +<ul> + <!-- BEGIN error --> + <li>{errors.error.ERROR}</li> + <!-- END error --> +</ul> +</div> +<!-- END errors --> +<div class="admin">{TITLE_IMG} [ {DIR_IMG} > {FILE_IMG} ]</div> +<form method="post" action="{F_ACTION}"> + <table style="width:100%;"> + <tr valign="top"> + <td style="width:1px;"> + <a href="{URL_IMG}" class="thumbnail"><img src="{TN_URL_IMG}" alt="" class="miniature" /></a> + </td> + <td> + <table> + <tr> + <td>{L_UPLOAD_NAME} :</td> + <td><input type="text" name="name" value="{NAME_IMG}" /> [ {L_DEFAULT} : {DEFAULT_NAME_IMG} ]</td> + </tr> + <tr> + <td>{L_FILE} :</td> + <td>{FILE_IMG}</td> + </tr> + <tr> + <td>{L_SIZE} :</td> + <td>{SIZE_IMG}</td> + </tr> + <tr> + <td>{L_FILESIZE} :</td> + <td>{FILESIZE_IMG}</td> + </tr> + <tr> + <td>{L_REGISTRATION_DATE} :</td> + <td>{REGISTRATION_DATE_IMG}</td> + </tr> + <tr> + <td>{L_AUTHOR} :</td> + <td><input type="text" name="author" value="{AUTHOR_IMG}" /></td> + </tr> + <tr> + <td>{L_CREATION_DATE} :</td> + <td><input type="text" name="date_creation" value="{CREATION_DATE_IMG}" /></td> + </tr> + <tr> + <td>{L_KEYWORDS} :</td> + <td><input type="text" name="keywords" value="{KEYWORDS_IMG}" size="50" /></td> + </tr> + <tr> + <td>{L_COMMENT} :</td> + <td><textarea name="comment" rows="5" cols="50" style="overflow:auto">{COMMENT_IMG}</textarea></td> + </tr> + <tr> + <td valign="top">{L_CATEGORIES} :</td> + <td> + <select style="width:280px" name="cat_data[]" multiple="multiple" size="5"> + {ASSOCIATED_CATEGORIES} + </select> + </td> + </tr> + <tr><td colspan="2"> </td></tr> + <tr> + <td>{L_INFOIMAGE_ASSOCIATE}</td> + <td> + <!-- BEGIN associate_LOV --> + <select name="associate"> + <!-- BEGIN associate_cat --> + <option value="{associate_LOV.associate_cat.VALUE_CAT}">{associate_LOV.associate_cat.VALUE_CONTENT}</option> + <!-- END associate_cat --> + </select> + <!-- END associate_LOV --> + <!-- BEGIN associate_text --> + <input type="text" name="associate" /> + <!-- END associate_text --> + </select> + </td> + </tr> + </table> + </td> + </tr> + <tr> + <td colspan="2"><div style="margin-bottom:0px"> </div></td> + </tr> + <tr> + <td colspan="2" align="center"> + <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" /> + </td> + </tr> + </table> +</form> diff --git a/template/default/admin/picture_modify.vtp b/template/default/admin/picture_modify.vtp deleted file mode 100644 index c68021091..000000000 --- a/template/default/admin/picture_modify.vtp +++ /dev/null @@ -1,107 +0,0 @@ -<!--VTP_errors--> -<div class="errors"> - <div class="errors_title">{#errors_title}</div> - <ul> - <!--VTP_li--> - <li>{#content}</li> - <!--/VTP_li--> - </ul> -</div> -<!--/VTP_errors--> -<!--VTP_confirmation--> -<div class="info"> - {#picmod_update} [ <a href="{#url}">{#picmod_back}</a> ] -</div> -<!--/VTP_confirmation--> -<form method="post" action="{#form_action}"> - <table style="width:100%;"> - <tr><th colspan="2">{#title} [ {#dir} > {#f_file} ]</th></tr> - <tr> - <td colspan="2"><div style="margin-bottom:0px"> </div></td> - </tr> - <tr valign="top"> - <td style="width:1px;"><img src="{#thumbnail_url}" alt="" class="miniature" /></td> - <td> - <table> - <tr> - <td>{#upload_name} :</td> - <td><input type="text" name="name" value="{#f_name}" /> [ {#default} : {#default_name} ]</td> - </tr> - <tr> - <td>{#file} :</td> - <td>{#f_file}</td> - </tr> - <tr> - <td>{#size} :</td> - <td>{#f_size}</td> - </tr> - <tr> - <td>{#filesize} :</td> - <td>{#f_filesize}</td> - </tr> - <tr> - <td>{#registration_date} :</td> - <td>{#f_registration_date}</td> - </tr> - <tr> - <td>{#author} :</td> - <td><input type="text" name="author" value="{#f_author}" /></td> - </tr> - <tr> - <td>{#creation_date} :</td> - <td><input type="text" name="creation_date" value="{#f_creation_date}" /></td> - </tr> - <tr> - <td>{#keywords} :</td> - <td><input type="text" name="keywords" value="{#f_keywords}" size="50" /></td> - </tr> - <tr> - <td>{#comment} :</td> - <td><textarea name="comment" rows="5" cols="50" style="overflow:auto">{#f_comment}</textarea></td> - </tr> - <tr> - <td valign="top">{#categories} :</td> - <td> - <table> - <!--VTP_linked_category--> - <tr> - <td><!--VTP_checkbox--><input type="checkbox" name="dissociate-{#id}" value="1" /><!--/VTP_checkbox--><a href="{#url}">{#name}</a> [ <a href="{#infos_images_link}">{#cat_image_info}</a> ] {#private} {#invisible} [ <input type="checkbox" name="representative-{#id}" value="1"{#representative_checked} /> {#category_representative} ] - </tr> - <!--/VTP_linked_category--> - <!--VTP_dissociate--> - <tr> - <td colspan="2"><img src="./template/{#user_template}/admin/images/arrow_select.gif" alt="<" /> {#dissociate}</td> - </tr> - <!--/VTP_dissociate--> - <tr><td colspan="2"> </td></tr> - <tr> - <td>{#infoimage_associate} - <!--VTP_associate_LOV--> - <select name="associate"> - <!--VTP_associate_cat--> - <option value="{#value}">{#content}</option> - <!--/VTP_associate_cat--> - </select> - <!--/VTP_associate_LOV--> - <!--VTP_associate_text--> - <input type="text" name="associate" /> - <!--/VTP_associate_text--> - </select> - </td> - </tr> - </table> - </td> - </tr> - </table> - </td> - </tr> - <tr> - <td colspan="2"><div style="margin-bottom:0px"> </div></td> - </tr> - <tr> - <td colspan="2" align="center"> - <input type="submit" name="submit" value="{#submit}"> - </td> - </tr> - </table> -</form> |