aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/category.tpl
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-02-26 18:33:45 +0000
committergweltas <gweltas@piwigo.org>2004-02-26 18:33:45 +0000
commit9e993f2d21e9cf7bd44a7c676af567be550dca90 (patch)
treee6a4c049a28164631f75c087a91201a9b152cbf9 /template/default/category.tpl
parent29a07c00d083b7687331cd7cc19f097a8849a3ea (diff)
New default template - User side
git-svn-id: http://piwigo.org/svn/trunk@375 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/default/category.tpl78
1 files changed, 36 insertions, 42 deletions
diff --git a/template/default/category.tpl b/template/default/category.tpl
index 8bec51f4d..16307a824 100644
--- a/template/default/category.tpl
+++ b/template/default/category.tpl
@@ -1,7 +1,9 @@
+<div align="center" style="padding:10px;"><img src="template/default/images/logo.jpg" width="360" height="100">
+</div>
<table style="width:100%;">
<tr>
- <td valign="top" style="width:1%;padding:10px;">
- {T_START}100%{T_BEGIN}
+ <td valign="top" style="padding:10px;width:1%;">
+ <div class="table1">
<div class="titreMenu">
<a href="{U_HOME}">{L_CATEGORIES}</a>
</div>
@@ -14,12 +16,12 @@
<!-- BEGIN bulletnolink -->
<img src="{category.bulletnolink.BULLET_IMAGE}" style="border:none;" alt="" />
<!-- END bulletnolink -->
- &nbsp;<a href="{category.U_LINK}"><span title='{L_HINT_CATEGORY}' style="{category.T_NAME}">{category.LINK_NAME}</span>
+ &nbsp;<a href="{category.U_LINK}"><span title='{L_HINT_CATEGORY}' style="{category.T_NAME}">{category.LINK_NAME}</span></a>
&nbsp;<span class="menuInfoCat">[
<!-- BEGIN subcat -->
<span title="{category.NB_SUBCATS} {L_SUBCAT}">{category.NB_SUBCATS}</span>&nbsp;-
<!-- END subcat -->
- <span title="{category.TOTAL_CAT} {L_IMG_AVAILABLE}">{category.TOTAL_CAT}</span>&nbsp;]</span></a>{category.CAT_ICON}<br />
+ <span title="{category.TOTAL_CAT} {L_IMG_AVAILABLE}">{category.TOTAL_CAT}</span>&nbsp;]</span>{category.CAT_ICON}<br />
<!-- END category -->
<div class="totalImages">[&nbsp;{NB_PICTURE}&nbsp;{L_TOTAL}&nbsp;]</div>
@@ -27,12 +29,9 @@
<br />&nbsp;<img src="{T_COLLAPSED}" alt='' />&nbsp;<a href="{U_FAVORITE}"><span title="{L_FAVORITE_HINT}" style="font-weight:bold;">{L_FAVORITE}</span></a>&nbsp;<span class="menuInfoCat">[&nbsp;{favorites.NB_FAV}&nbsp;]</span>
<!-- END favorites -->
<br />&nbsp;<img src="{T_COLLAPSED}" alt='' />&nbsp;<span style="font-weight:bold;">{L_STATS}</span>
- <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="{T_COLLAPSED}" alt='' />&nbsp;<a href="{U_MOST_VISITED}"><span title="{L_MOST_VISITED_HINT}" style="font-weight:bold;">{S_TOP}&nbsp;{L_MOST_VISITED}</span></a>
+ <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="{T_COLLAPSED}" alt='' />&nbsp;<a href="{U_MOST_VISITED}"><span title="{L_MOST_VISITED_HINT}" style="font-weight:bold;">{TOP_VISITED}&nbsp;{L_MOST_VISITED}</span></a>
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="{T_COLLAPSED}" alt='' />&nbsp;<a href="{U_RECENT}"><span title="{L_RECENT_HINT}" style="font-weight:bold;">{L_RECENT}</span></a> {T_SHORT}
</div>
- {T_END}
- <div style="margin-bottom:5px;">&nbsp;</div>
- {T_START}100%{T_BEGIN}
<div class="titreMenu">{L_SUMMARY}</div>
<div class="menu">
<!-- BEGIN summary -->
@@ -42,22 +41,38 @@
<br />&nbsp;<img src="{T_COLLAPSED}" alt=''/>&nbsp;<a href="{upload.U_UPLOAD}">{L_UPLOAD}</a>
<!-- END upload -->
</div>
- {T_END}
+ <div class="titreMenu">{L_IDENTIFY}</div>
+ <div class="menu">
+ <!-- BEGIN login -->
+ <form method="post" action="{F_IDENTIFY}">
+ <input type="hidden" name="redirect" value="{U_REDIRECT}">
+ {L_USERNAME}<br />
+ <input type="text" name="username" size="15" value="" /><br />
+ {L_PASSWORD}<br />
+ <input type="password" name="password" size="15"><br /><br />
+ <input type="submit" name="login" value="{L_SUBMIT}" class="bouton" />
+ </form>
+ <!-- END login -->
+ <!-- BEGIN logout -->
+ <p>{L_HELLO}&nbsp;{USERNAME}&nbsp;!</p>
+ &nbsp;<img src="{T_COLLAPSED}" alt=""/>&nbsp;<a href="{U_LOGOUT}">{L_LOGOUT}</a><br />
+ &nbsp;<img src="{T_COLLAPSED}" alt=''/>&nbsp;<a href="{U_PROFILE}" title="{L_PROFILE_HINT}">{L_PROFILE}</a><br />
+ <!-- BEGIN admin -->
+ &nbsp;<img src="{T_COLLAPSED}" alt=''/>&nbsp;<a href="{U_ADMIN}" title="{L_ADMIN_HINT}">{L_ADMIN}</a><br />
+ <!-- END admin -->
+ <!-- END logout -->
+ </div>
+ </div>
</td>
- <td style="padding:5px;width:99%;" valign="top">
- <table style="width:100%;">
- <tr>
- <td align="center">
- {T_START}1%{T_BEGIN}
- <div class="titrePage">{TITLE}</div>
- {T_END}
- <div style="margin-bottom:5px;">&nbsp;</div>
+ <td style="padding:10px;width:99%;" valign="top">
+ <div class="home">
+ <div class="titrePage">{TITLE}</div>
<!-- BEGIN thumbnails -->
- <table class="thumbnail">
+ <table valign="top" align="center" class="thumbnail">
<!-- BEGIN line -->
<tr>
<!-- BEGIN thumbnail -->
- <td valign="bottom" class="thumbnail">
+ <td class="thumbnail">
<a href="{thumbnails.line.thumbnail.U_IMG_LINK}" class="back">
<img src="{thumbnails.line.thumbnail.IMAGE}"
alt="{thumbnails.line.thumbnail.IMAGE_ALT}"
@@ -75,10 +90,7 @@
<!-- END line -->
</table>
<!-- END thumbnails -->
- </td>
- </tr>
- <tr>
- <td align="left">
+ <br />
<!-- BEGIN cat_infos -->
<!-- BEGIN navigation -->
<div class="navigationBar">{cat_infos.navigation.NAV_BAR}</div>
@@ -90,25 +102,7 @@
{L_NB_IMG} "{cat_infos.CAT_NAME}" : {cat_infos.NB_IMG_CAT}
</div>
<!-- END cat_infos -->
- </td>
- </tr>
- <tr>
- <td align="right">
- {T_START}1%{T_BEGIN}
- <div class="info">
- <!-- BEGIN username -->
- {L_USER}&nbsp;{USERNAME}<br />
- <!-- END username -->
- {L_RECENT_IMAGE}&nbsp;{S_SHORT_PERIOD}&nbsp;{L_DAYS}
- {T_SHORT}<br />
- {L_RECENT_IMAGE}&nbsp;{S_LONG_PERIOD}&nbsp;{L_DAYS}
- {T_LONG}<br />
- {L_SEND_MAIL}&nbsp;<a href="mailto:{S_MAIL}?subject={L_TITLE_MAIL}"><span style="font-weight:bold;">{S_WEBMASTER}</span></a>
- </div>
- {T_END}
- </td>
- </tr>
- </table>
+ </div>
</td>
</tr>
</table> \ No newline at end of file