From: Bharat M. <bh...@us...> - 2002-02-23 10:41:56
|
Update of /cvsroot/gallery/gallery In directory usw-pr-cvs1:/tmp/cvs-serv31121 Modified Files: albums.php Log Message: Added showAlbumTree feature Index: albums.php =================================================================== RCS file: /cvsroot/gallery/gallery/albums.php,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- albums.php 23 Feb 2002 07:54:13 -0000 1.50 +++ albums.php 23 Feb 2002 10:41:53 -0000 1.51 @@ -177,6 +177,11 @@ <!-- Begin Text Cell --> <td align=left valign=top> <hr size=1> + <? if (!strcmp($gallery->app->showAlbumTree, "yes")) { ?> + <table border=0 cellspacing=0 cellpadding=0> + <tr> + <td valign=top> + <? } ?> <span class="title"> <a href=<?=$albumURL?>> <?= editField($gallery->album, "title", $edit) ?></a> @@ -252,6 +257,14 @@ ?> <br><a href="<?= $GALLERY_BASEDIR ?>view_comments.php?set_albumName=<?= $gallery->album->fields["name"]?>">View All Comments</a> <?}?> +<? if (!strcmp($gallery->app->showAlbumTree, "yes")) { ?> + </td> + <td valign=top> + <?= printChildren($gallery->album->fields["name"]); ?> + </td> + </tr> + </table> +<? } ?> </span> </td> </tr> |