From: Bharat M. <bh...@us...> - 2002-10-29 07:14:16
|
Update of /cvsroot/gallery/gallery2/layouts/classic/templates In directory usw-pr-cvs1:/tmp/cvs-serv17238/layouts/classic/templates Modified Files: albumBody.tpl pageNavigator.tpl singleBody.tpl Log Message: * Fleshed out the comment details code as a test case for how module details will work. Now we display the 3 most recent comments when viewing the item, and provide a link to the rest of them. * Added ThinFrame to the theme code Index: albumBody.tpl =================================================================== RCS file: /cvsroot/gallery/gallery2/layouts/classic/templates/albumBody.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- albumBody.tpl 28 Oct 2002 18:51:01 -0000 1.7 +++ albumBody.tpl 29 Oct 2002 07:14:12 -0000 1.8 @@ -91,16 +91,12 @@ <!-- Module Item Details for the active item --> {if !empty($moduleItemDetails)} - {foreach from=$moduleItemDetails key=itemId item=moduleDetails} - {if $itemId == $item.id} - {foreach from=$moduleDetails key=moduleName item=detail} + {foreach from=$moduleItemDetails key=moduleName item=detail} <tr> <td width="100%"> {$detail} </td> </tr> - {/foreach} - {/if} {/foreach} {/if} Index: pageNavigator.tpl =================================================================== RCS file: /cvsroot/gallery/gallery2/layouts/classic/templates/pageNavigator.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- pageNavigator.tpl 28 Oct 2002 18:51:01 -0000 1.4 +++ pageNavigator.tpl 29 Oct 2002 07:14:12 -0000 1.5 @@ -1,3 +1,4 @@ + {galleryThinFrame width="100%"} <table border="0" width="100%" cellspacing="0%" cellpadding="0%"> <tr> <td width="27"> @@ -66,3 +67,4 @@ </td> </tr> </table> + {/galleryThinFrame} Index: singleBody.tpl =================================================================== RCS file: /cvsroot/gallery/gallery2/layouts/classic/templates/singleBody.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- singleBody.tpl 28 Oct 2002 18:51:02 -0000 1.4 +++ singleBody.tpl 29 Oct 2002 07:14:12 -0000 1.5 @@ -77,9 +77,7 @@ <!-- Module Item Details for the active item --> {if !empty($moduleItemDetails)} - {foreach from=$moduleItemDetails key=itemId item=moduleDetails} - {if $itemId == $item.id} - {foreach from=$moduleDetails key=moduleName item=detail} + {foreach from=$moduleItemDetails key=moduleName item=detail} <tr> <td width="100%"> {$detail} @@ -87,7 +85,6 @@ </tr> {/foreach} {/if} - {/foreach} - {/if} + </table> {/galleryLightFrame} |