diff options
author | gweltas <gweltas@piwigo.org> | 2005-04-26 14:24:08 +0000 |
---|---|---|
committer | gweltas <gweltas@piwigo.org> | 2005-04-26 14:24:08 +0000 |
commit | 3fc8c9824f1e57e1ef32c7fbfcbf7b1ecd7bcb66 (patch) | |
tree | c79ab656c172c75774ec8557f1ff219a732c4b2d /template | |
parent | 97a3d7af5b641a9e52a2668a5d1a7754b3010268 (diff) |
Bug 0000100: 'info_line' template code splited
git-svn-id: http://piwigo.org/svn/trunk@774 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template')
-rw-r--r-- | template/default/picture.tpl | 101 |
1 files changed, 68 insertions, 33 deletions
diff --git a/template/default/picture.tpl b/template/default/picture.tpl index 18742d14a..975edc802 100644 --- a/template/default/picture.tpl +++ b/template/default/picture.tpl @@ -75,12 +75,48 @@ </div> <div id="centre"> <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 --> + <tr> + <td class="menu" style="font-weight:bold;">{L_AUTHOR} : </td> + <td class="menu" style="text-align:right;">{AUTHOR}</td> + </tr> + <tr> + <td class="menu" style="font-weight:bold;">{L_CREATION_DATE} : </td> + <td class="menu" style="text-align:right;">{CREATION_DATE}</td> + </tr> + <tr> + <td class="menu" style="font-weight:bold;">{L_AVAILABILITY_DATE} : </td> + <td class="menu" style="text-align:right;">{AVAILABILITY_DATE}</td> + </tr> + <tr> + <td class="menu" style="font-weight:bold;">{L_SIZE} : </td> + <td class="menu" style="text-align:right;">{SIZE}</td> + </tr> + <tr> + <td class="menu" style="font-weight:bold;">{L_FILE} : </td> + <td class="menu" style="text-align:right;">{ALT_IMG}</td> + </tr> + <tr> + <td class="menu" style="font-weight:bold;">{L_FILE_SIZE} : </td> + <td class="menu" style="text-align:right;">{FILE_SIZE} Ko</td> + </tr> + <!-- BEGIN keywords --> + <tr> + <td class="menu" style="font-weight:bold;">{keywords.INFO} : </td> + <td class="menu" style="text-align:right;">{keywords.VALUE}</td> + </tr> + <!-- END keywords --> + <!-- BEGIN associated --> + <tr> + <td class="menu" style="font-weight:bold;">{associated.INFO} : </td> + <td class="menu" style="text-align:right;">{associated.VALUE}</td> + </tr> + <!-- END associated --> + <!-- BEGIN rate --> + <tr> + <td class="menu" style="font-weight:bold;">{rate.INFO} : </td> + <td class="menu" style="text-align:right;">{rate.VALUE}</td> + </tr> + <!-- END rate --> </table> </div> <div id="droite"> @@ -94,36 +130,35 @@ </div> </div> <div style="clear:both;"></div> - <!-- BEGIN metadata --> - <table class="tablecompact"> - <!-- BEGIN headline --> - <tr> - <th colspan="2">{metadata.headline.TITLE}</th> - </tr> - <!-- END headline --> - <!-- BEGIN line --> - <tr> - <td>{metadata.line.KEY}</td> - <td>{metadata.line.VALUE}</td> - </tr> - <!-- END line --> - </table> - <!-- END metadata --> +<!-- BEGIN metadata --> + <table class="tablecompact"> + <!-- BEGIN headline --> + <tr> + <th colspan="2">{metadata.headline.TITLE}</th> + </tr> + <!-- END headline --> + <!-- BEGIN line --> + <tr> + <td>{metadata.line.KEY}</td> + <td>{metadata.line.VALUE}</td> + </tr> + <!-- END line --> + </table> +<!-- END metadata --> - <!-- BEGIN rate --> - <div> - {rate.SENTENCE} : - <!-- BEGIN rate_option --> - {rate.rate_option.SEPARATOR} <a href="{rate.rate_option.URL}">{rate.rate_option.OPTION}</a> - <!-- END rate_option --> - </div> - <!-- END rate --> +<!-- BEGIN rate --> +<div>{rate.SENTENCE} : + <!-- BEGIN rate_option --> + {rate.rate_option.SEPARATOR} <a href="{rate.rate_option.URL}">{rate.rate_option.OPTION}</a> + <!-- END rate_option --> +</div> +<!-- END rate --> <table class="tablecompact"> - <!-- BEGIN comments --> - <tr align="center" valign="middle"> - <td colspan="3" class="table2"> - <div class="commentTitle"> + <!-- BEGIN comments --> + <tr align="center" valign="middle"> + <td colspan="3" class="table2"> + <div class="commentTitle"> [{comments.NB_COMMENT}] {L_COMMENT_TITLE} </div> <div class="commentsNavigationBar">{comments.NAV_BAR}</div> |