[pLog-svn] r2811 - plog/trunk/templates/grey
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Tue Jan 17 21:29:00 GMT 2006
Author: oscar
Date: 2006-01-17 21:29:00 +0000 (Tue, 17 Jan 2006)
New Revision: 2811
Modified:
plog/trunk/templates/grey/album.template
plog/trunk/templates/grey/header.template
Log:
Added support for paging in the 'grey' template.
Modified: plog/trunk/templates/grey/album.template
===================================================================
--- plog/trunk/templates/grey/album.template 2006-01-17 21:26:24 UTC (rev 2810)
+++ plog/trunk/templates/grey/album.template 2006-01-17 21:29:00 UTC (rev 2811)
@@ -33,7 +33,9 @@
<!--- show the resources here -->
- {assign var=resources value=$album->getResources()}
+ {** assign var=resources value=$album->getResources() **}
+ {** use the code above if you want to display all the resources at once, or leave it commented **}
+ {** if you would like to use the new paged display that was introduced in lifetype 1.1 **}
{foreach from=$resources item=resource}
<td style="width:25%;" align="center" >
{if $resource->hasPreview()}
Modified: plog/trunk/templates/grey/header.template
===================================================================
--- plog/trunk/templates/grey/header.template 2006-01-17 21:26:24 UTC (rev 2810)
+++ plog/trunk/templates/grey/header.template 2006-01-17 21:29:00 UTC (rev 2811)
@@ -17,9 +17,11 @@
<div id="Container">
<div id="Top"><h1>{$blog->getBlog()}</h1></div>
<div id="Topmenu">
+ {include file="$misctemplatepath/pager.template" style="backonly"} |
<a href="{$url->blogLink()}">{$locale->tr("main")}</a> |
<a href="{$url->albumLink()}">{$locale->tr("albums")}</a> |
- <a href="{$url->getAdminUrl()}">{$locale->tr("admin")}</a>
+ <a href="{$url->getAdminUrl()}">{$locale->tr("admin")}</a> |
+ {include file="$misctemplatepath/pager.template" style="forwardonly"}
</div>
<div id="Main">
<div id="Sidebar-l">
More information about the pLog-svn
mailing list