aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-02-21 11:02:06 +0000
committergweltas <gweltas@piwigo.org>2004-02-21 11:02:06 +0000
commitd339037b1e06a84594c503fa7d7b8c1be1862d47 (patch)
tree530ccca640ed493cadf808d1d3527c8d5babbf22 /template
parent3bf770a16a15400eb2bde63782e07ba55dde2ed4 (diff)
Template migration
git-svn-id: http://piwigo.org/svn/trunk@368 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r--template/default/picture.tpl130
-rw-r--r--template/default/picture.vtp136
2 files changed, 130 insertions, 136 deletions
diff --git a/template/default/picture.tpl b/template/default/picture.tpl
new file mode 100644
index 000000000..6ce9f1ba4
--- /dev/null
+++ b/template/default/picture.tpl
@@ -0,0 +1,130 @@
+ <!-- BEGIN information -->
+ <div class="information">{information.INFORMATION}</div>
+ <!-- END information -->
+ <!-- BEGIN start_slideshow -->
+ <div style="text-align:center;margin-bottom:5px;">
+ [ {L_SLIDESHOW} :
+ <!-- BEGIN second -->
+ <a href="{start_slideshow.second.U_SLIDESHOW}" class="back" style="font-weight:bold;">{start_slideshow.second.SLIDESHOW_SPEED}</a>
+ <!-- END second -->
+ {L_TIME} ]
+ </div>
+ <!-- END start_slideshow -->
+ <!-- BEGIN stop_slideshow -->
+ <div style="text-align:center;margin-bottom:5px;">
+ [ <a href="{stop_slideshow.U_SLIDESHOW}" class="back" style="font-weight:bold;">{L_STOP_SLIDESHOW}</a> ]
+ </div>
+ <!-- END stop_slideshow -->
+ <table style="width:100%;height:100%;">
+ <tr align="center" valign="middle">
+ <td style="width:30%;">
+ <!-- BEGIN previous -->
+ <a href="{U_PREV_IMG}" title="{L_PREV_IMG}{PREV_TITLE_IMG}"><img src="{PREV_IMG}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{PREV_TITLE_IMG}"/></a></td>
+ <!-- END previous -->
+ <td style="width:40%;">{T_START}1%{T_BEGIN}
+ <div class="titrePage">{TITLE}</div>
+ {T_END} </td>
+ <td style="width:30%;">
+ <!-- BEGIN next -->
+ <a href="{U_NEXT_IMG}" title="{L_NEXT_IMG}{NEXT_TITLE_IMG}"><img src="{NEXT_IMG}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{NEXT_TITLE_IMG}"/></a></td>
+ <!-- END next -->
+ </td>
+ </tr>
+ <tr align="center" valign="middle">
+ <td colspan="3" style="width:100%;">
+ {T_START}1%{T_BEGIN}
+ <a href="{U_HOME}">
+ <img class="imgLink" style="margin:10px;width:{WIDTH_IMG}px;height:{HEIGHT_IMG}px;border:1px solid" src="{SRC_IMG}" alt="{ALT_IMG}"/>
+ </a>
+ <div class="commentImage">{COMMENT_IMG}</div>
+ <table style="width:100%;">
+ <tr>
+ <td align="center">
+ <table style="margin:auto;margin-top:5px;margin-bottom:5px;">
+ <!-- BEGIN info_line -->
+ <tr>
+ <td class="menu" style="font-weight:bold;">{info_line.INFO} : </td>
+ <td class="menu" style="text-align:right;">{info_line.VALUE}</td>
+ </tr>
+ <!-- END info_line -->
+ </table>
+ </td>
+ </tr>
+ </table>
+ <!-- BEGIN favorite -->
+ <div class="menu" style="text-align:center;margin:5px;">
+ <a href="{favorite.U_FAVORITE}" title="{favorite.FAVORITE_HINT}">
+ <img src="{favorite.FAVORITE_IMG}" style="border:none;margin-left:5px;" alt="" />{favorite.FAVORITE_ALT}
+ </a>
+ </div>
+ <!-- END favorite -->
+ <!-- BEGIN modification -->
+ <div class="menu" style="text-align:center;margin:5px;">
+ [ <a href="{U_ADMIN}">{L_ADMIN}</a> ]
+ </div>
+ <!-- END modification -->
+ {T_END}
+ <div style="text-align:center;">{L_BACK}</div>
+ </td>
+ <td>&nbsp;</td>
+ </tr>
+ <!-- BEGIN comments -->
+ <tr align="center" valign="middle">
+ <td colspan="5">
+ {T_START}100%{T_BEGIN}
+ <table style="width:100%;">
+ <tr align="center">
+ <td>
+ <div class="commentsTitle">
+ [{comments.NB_COMMENT}] {L_COMMENT_TITLE}
+ </div>
+ <div class="commentsNavigationBar">{comments.NAV_BAR}</div>
+ <!-- BEGIN comment -->
+ <table class="tableComment">
+ <tr>
+ <td rowspan="2" valign="top" class="cellAuthor">
+ <div class="commentsAuthor">{comments.comment.COMMENT_AUTHOR}</div>
+ </td>
+ <td align="right" class="cellInfo">
+ <div class="commentsInfos">{comments.comment.COMMENT_DATE}
+ <!-- BEGIN delete -->
+ <a href="{comments.comment.delete.U_COMMENT_DELETE}" title="{L_DELETE_COMMENT}"><img src="{T_DEL_IMG}" style="border:none;margin-left:5px;" alt="[{L_DELETE}]"/></a>
+ <!-- END delete -->
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <div class="commentsContent">{comments.comment.COMMENT}</div>
+ </td>
+ </tr>
+ </table>
+ <!-- END comment -->
+ <div class="commentsNavigationBar">{comments.NAV_BAR}</div>
+ </td>
+ </tr>
+ </table>
+ <!-- BEGIN add_comment -->
+ <form method="post" action="{U_ADD_COMMENT}">
+ <table style="width:100%;">
+ <tr align="center">
+ <td>
+ <div class="commentsTitle">{L_ADD_COMMENT}</div>
+ <!-- BEGIN author_field -->
+ <div class="menu">{L_AUTHOR} : <input type="text" name="author" style="margin-top:5px;"/></div>
+ <!-- END author_field -->
+ <!-- BEGIN author_known -->
+ <input type="hidden" name="author" value="{comments.add_comment.author_known.KNOWN_AUTHOR}" />
+ <!-- END author_known -->
+ <textarea name="content" rows="10" cols="50" style="overflow:auto;width:450px;margin:10px;"></textarea><br />
+ <input type="submit" value="{L_SUBMIT}" class="bouton" />
+ </td>
+ </tr>
+ </table>
+ </form>
+ <!-- END add_comment -->
+ {T_END}
+ </td>
+ </tr>
+ <!-- END comments -->
+ </table>
diff --git a/template/default/picture.vtp b/template/default/picture.vtp
deleted file mode 100644
index 2fddd393a..000000000
--- a/template/default/picture.vtp
+++ /dev/null
@@ -1,136 +0,0 @@
- <!--VTP_information-->
- <div class="information">{#content}</div>
- <!--/VTP_information-->
- <!--VTP_start_slideshow-->
- <div style="text-align:center;margin-bottom:5px;">
- [ {#slideshow} :
- <!--VTP_second-->
- <a href="{#url}" class="back" style="font-weight:bold;">{#option}</a>
- <!--/VTP_second-->
- {#period_seconds} ]
- </div>
- <!--/VTP_start_slideshow-->
- <!--VTP_stop_slideshow-->
- <div style="text-align:center;margin-bottom:5px;">
- [ <a href="{#url}" class="back" style="font-weight:bold;">{#slideshow_stop}</a> ]
- </div>
- <!--/VTP_stop_slideshow-->
- <table style="width:100%;height:100%;">
- <tr align="center" valign="middle">
- <td>
- <!--VTP_previous-->
- <a href="{#url}" title="{#title}">
- <img src="{#src}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{#alt}"/>
- </a>
- <!--/VTP_previous-->
- <!--VTP_previous_empty-->
- &nbsp;
- <!--/VTP_previous_empty-->
- </td>
- <td style="width:100%;">
- {#frame_start}1%{#frame_begin}
- <div class="titrePage">{#title}</div>
- {#frame_end}
- <div style="margin-bottom:5px">&nbsp;</div>
- {#frame_start}1%{#frame_begin}
- <a href="{#picture_link}">
- <img class="imgLink" style="margin:10px;width:{#picture_width}px;height:{#picture_height}px;border:1px solid" src="{#picture_src}" alt="{#picture_alt}"/>
- </a>
- <div class="commentImage">{#picture_comment}</div>
- <table style="width:100%;">
- <tr>
- <td align="center">
- <table style="margin:auto;margin-top:5px;margin-bottom:5px;">
- <!--VTP_info_line-->
- <tr>
- <td class="menu" style="font-weight:bold;">{#name}</td>
- <td class="menu" style="text-align:right;">{#content}</td>
- </tr>
- <!--/VTP_info_line-->
- </table>
- </td>
- </tr>
- </table>
- <!--VTP_favorite-->
- <div class="menu" style="text-align:center;margin:5px;">
- <a href="{#link}" title="{#title}"><img src="{#src}" style="border:none;margin-left:5px;" alt=""/></a>
- <a href="{#link}">{#alt}</a>
- </div>
- <!--/VTP_favorite-->
- <!--VTP_modification-->
- <div class="menu" style="text-align:center;margin:5px;">
- [ <a href="{#link}">{#name}</a> ]
- </div>
- <!--/VTP_modification-->
- {#frame_end}
- <div style="text-align:center;">{#back}</div>
- </td>
- <td>
- <!--VTP_next-->
- <a href="{#url}" title="{#title}">
- <img src="{#src}" class="imgLink" style="margin-right:10px;margin-left:5px;" alt="{#alt}"/>
- </a>
- <!--/VTP_next-->
- <!--VTP_next_empty-->
- &nbsp;
- <!--/VTP_next_empty-->
- </td>
- </tr>
- <!--VTP_comments-->
- <tr align="center" valign="middle">
- <td colspan="3">
- {#frame_start}90%{#frame_begin}
- <table style="width:100%;">
- <tr align="center">
- <td>
- <div class="commentsTitle">
- [{#nb_comments}] {#comments_title}
- </div>
- <div class="commentsNavigationBar">{#navigation_bar}</div>
- <!--VTP_comment-->
- <table class="tableComment">
- <tr>
- <td rowspan="2" valign="top" class="cellAuthor">
- <div class="commentsAuthor">{#author}</div>
- </td>
- <td align="right" class="cellInfo">
- <div class="commentsInfos">
- {#date}<!--VTP_delete--><a href="{#link}" title="{#comments_del}"><img src="./template/{#user_template}/theme/delete.gif" style="border:none;margin-left:5px;" alt="[{#delete}]"/></a><!--/VTP_delete-->
- </div>
- </td>
- </tr>
- <tr>
- <td>
- <div class="commentsContent">{#content}</div>
- </td>
- </tr>
- </table>
- <!--/VTP_comment-->
- <div class="commentsNavigationBar">{#navigation_bar}</div>
- </td>
- </tr>
- </table>
- <!--VTP_add_comment-->
- <form method="post" action="{#form_action}">
- <table style="width:100%;">
- <tr align="center">
- <td>
- <div class="commentsTitle">{#comments_add}</div>
- <!--VTP_author_field-->
- <div class="menu">{#author} : <input type="text" name="author" style="margin-top:5px;"/></div>
- <!--/VTP_author_field-->
- <!--VTP_author_known-->
- <input type="hidden" name="author" value="{#value}" />
- <!--/VTP_author_known-->
- <textarea name="content" rows="10" cols="50" style="overflow:auto;width:450px;margin:10px;"></textarea><br />
- <input type="submit" value="{#submit}" style="margin:10px;"/>
- </td>
- </tr>
- </table>
- </form>
- <!--/VTP_add_comment-->
- {#frame_end}
- </td>
- </tr>
- <!--/VTP_comments-->
- </table> \ No newline at end of file