aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-08-29 21:22:24 +0000
committergweltas <gweltas@piwigo.org>2004-08-29 21:22:24 +0000
commit0c482df04e1631e12db1fe99e904d6111b17adf1 (patch)
treeec090ccba9111e24f72a9a2e9f8bbb3981366400 /template/default/admin
parentc714a9dbaf16a92822769ba88b2d6ee721ee5660 (diff)
Migration of the template of images_infos.php
git-svn-id: http://piwigo.org/svn/trunk@506 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/default/admin')
-rw-r--r--template/default/admin/infos_image.vtp106
-rw-r--r--template/default/admin/infos_images.tpl97
2 files changed, 97 insertions, 106 deletions
diff --git a/template/default/admin/infos_image.vtp b/template/default/admin/infos_image.vtp
deleted file mode 100644
index 869b2885b..000000000
--- a/template/default/admin/infos_image.vtp
+++ /dev/null
@@ -1,106 +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-->
-<form method="post" action="{#form_action}">
- <table width="100%">
- <tr>
- <th colspan="3">{#infoimage_general} &quot;{#cat_name}&quot;</th>
- </tr>
- <tr>
- <td><div style="margin-left:50px;">{#author}</div></td>
- <td style="text-align:center;">
- <input type="text" name="author_cat" value="" maxlength="255" />
- </td>
- <td style="text-align:left;">
- <input type="checkbox" name="use_common_author" value="1" />
- {#infoimage_useforall}
- </td>
- </tr>
- <tr>
- <td>
- <div style="margin-left:50px;">{#infoimage_creation_date} [DD/MM/YYYY]</div>
- </td>
- <td style="text-align:center;">
- <input type="text" name="date_creation_cat" value="" size="12" maxlength="10"/>
- </td>
- <td style="text-align:left;">
- <input type="checkbox" name="use_common_date_creation" value="1" />
- {#infoimage_useforall}
- </td>
- </tr>
- <tr>
- <td>
- <div style="margin-left:50px;">{#keywords} {#infoimage_keyword_separation}</div>
- </td>
- <td style="text-align:center;">
- <input type="text" name="keywords_cat" value="" maxlength="255" />
- </td>
- <td style="text-align:left;">
- <input type="radio" name="common_keywords" value="add" />
- {#infoimage_addtoall}
- <input type="radio" name="common_keywords" value="remove" />
- {#infoimage_removefromall}
- </td>
- </tr>
- </table>
- <table width="100%">
- <tr>
- <th colspan="7">{#infoimage_detailed}</th>
- </tr>
- <tr>
- <td colspan="7" align="center">{#navigation_bar}</td>
- </tr>
- <tr>
- <td style="width:0px;">&nbsp;</td>
- <td class="row2" style="text-align:center;">{#thumbnail}</td>
- <td class="row2" style="text-align:center;">{#infoimage_title}</td>
- <td class="row2" style="text-align:center;">{#author}</td>
- <td class="row2" style="text-align:center;">{#infoimage_comment}</td>
- <td class="row2" style="text-align:center;">{#infoimage_creation_date}</td>
- <td class="row2" style="text-align:center;">{#keywords}</td>
- </tr>
- <!--VTP_picture-->
- <tr>
- <td style="width:0px;">
- <div style="margin-left:2px;margin-right:2px;">
- <input type="checkbox" name="check-{#id}" value="1" />
- </div>
- </td>
- <td style="text-align:center;"><a name="{#link}" href="{#url}"><img src="{#thumbnail_url}" alt="" class="miniature" title="{#filename}" /></td>
- <td style="text-align:center;">{#default_name}<br /><input type="text" name="name-{#id}" value="{#name}" maxlength="255"/></td>
- <td style="text-align:center;"><input type="text" name="author-{#id}" value="{#author}" maxlength="255" size="12" /></td>
- <td style="text-align:center;"><textarea name="comment-{#id}" rows="5" cols="30" style="overflow:auto">{#comment}</textarea></td>
- <td style="text-align:center;"><input type="text" name="date_creation-{#id}" value="{#date_creation}" maxlength="10" size="10" /></td>
- <td style="text-align:center;"><input type="text" name="keywords-{#id}" value="{#keywords}" length="255" /></td>
- </tr>
- <!--/VTP_picture-->
- <tr>
- <td colspan="6">
- <img src="./template/{#user_template}/admin/images/arrow_select.gif" alt="&lt;" />
- {#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-->
- </td>
- </tr>
- <tr>
- <td colspan="6" style="text-align:center;">
- <input type="submit" value="{#submit}" name="submit" />
- </td>
- </tr>
- </table>
-</form> \ No newline at end of file
diff --git a/template/default/admin/infos_images.tpl b/template/default/admin/infos_images.tpl
new file mode 100644
index 000000000..8609c514c
--- /dev/null
+++ b/template/default/admin/infos_images.tpl
@@ -0,0 +1,97 @@
+<!-- BEGIN errors -->
+<div class="errors">
+<ul>
+ <!-- BEGIN error -->
+ <li>{errors.error.ERROR}</li>
+ <!-- END error -->
+</ul>
+</div>
+<!-- END errors -->
+<form action="{F_ACTION}" method="POST">
+<div class="admin">{L_INFOS_TITLE} &quot;{CATEGORY}&quot;</div>
+ <table width="100%">
+ <tr>
+ <td><div style="margin-left:50px;">{L_AUTHOR}</div></td>
+ <td style="row1">
+ <input type="text" name="author_cat" value="" maxlength="255" />
+ </td>
+ <td style="text-align:left;">
+ <input type="checkbox" name="use_common_author" value="1" />
+ {L_INFOS_OVERALL_USE}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div style="margin-left:50px;">{L_INFOS_CREATION_DATE} [DD/MM/YYYY]</div>
+ </td>
+ <td style="row1">
+ <input type="text" name="date_creation_cat" value="" size="12" maxlength="10"/>
+ </td>
+ <td style="text-align:left;">
+ <input type="checkbox" name="use_common_date_creation" value="1" />
+ {L_INFOS_OVERALL_USE}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div style="margin-left:50px;">{L_KEYWORD} {L_KEYWORD_SEPARATION}</div>
+ </td>
+ <td style="row1">
+ <input type="text" name="keywords_cat" value="" maxlength="255" />
+ </td>
+ <td style="text-align:left;">
+ <input type="radio" name="common_keywords" value="add" />
+ {L_INFOS_ADDTOALL}
+ <input type="radio" name="common_keywords" value="remove" />
+ {L_INFOS_REMOVEFROMALL}
+ </td>
+ </tr>
+ </table>
+ <br />
+ <div class="admin">{L_INFOS_DETAIL}</div>
+ <div class="navigationBar">{NAV_BAR}</div>
+ <table width="100%">
+ <tr>
+ <td style="width:0px;">&nbsp;</td>
+ <td class="row2" style="text-align:center;">{L_THUMBNAIL}</td>
+ <td class="row2" style="text-align:center;">{L_INFOS_IMG}</td>
+ <td class="row2" style="text-align:center;">{L_AUTHOR}</td>
+ <td class="row2" style="text-align:center;">{L_INFOS_COMMENT}</td>
+ <td class="row2" style="text-align:center;">{L_INFOS_CREATION_DATE}</td>
+ <td class="row2" style="text-align:center;">{L_KEYWORD}</td>
+ </tr>
+ <!-- BEGIN picture -->
+ <tr>
+ <td style="width:0px;">
+ <div style="margin-left:2px;margin-right:2px;">
+ <input type="checkbox" name="check-{picture.ID_IMG}" value="1" />
+ </div>
+ </td>
+ <td style="text-align:center;"><a name="{picture.DEFAULTNAME_IMG}" href="{picture.URL_IMG}"><img src="{picture.TN_URL_IMG}" alt="" class="miniature" title="{picture.FILENAME_IMG}" /></a></td>
+ <td style="text-align:center;">{picture.DEFAULTNAME_IMG}<br /><input type="text" name="name-{picture.ID_IMG}" value="{picture.NAME_IMG}" maxlength="255"/></td>
+ <td style="text-align:center;"><input type="text" name="author-{picture.ID_IMG}" value="{picture.AUTHOR_IMG}" maxlength="255" size="12" /></td>
+ <td style="text-align:center;"><textarea name="comment-{picture.ID_IMG}" rows="5" cols="30" style="overflow:auto">{picture.COMMENT_IMG}</textarea></td>
+ <td style="text-align:center;"><input type="text" name="date_creation-{picture.ID_IMG}" value="{picture.DATE_IMG}" maxlength="10" size="10" /></td>
+ <td style="text-align:center;"><input type="text" name="keywords-{picture.ID_IMG}" value="{picture.KEYWORDS_IMG}" length="255" /></td>
+ </tr>
+ <!-- END picture -->
+ <tr>
+ <td colspan="6">
+ <img src="./template/default/admin/images/arrow_select.gif" alt="&lt;" />
+ {L_INFOS_ASSOCIATE}
+ <!-- BEGIN associate_LOV -->
+ <select name="associate">
+ <!-- BEGIN associate_cat -->
+ <option value="{#value}">{#content}</option>
+ <!-- END associate_cat -->
+ </select>
+ <!-- END associate_LOV -->
+ </td>
+ </tr>
+ <tr>
+ <td colspan="6" style="text-align:center;">
+ <input type="submit" value="{L_SUBMIT}" name="submit" class="bouton" />
+ </td>
+ </tr>
+ </table>
+</form> \ No newline at end of file