summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2010-04-25 00:28:52 +0000
committerChristian Fowler <spider@viovio.com>2010-04-25 00:28:52 +0000
commit4d42d2e82431aa16d9b0448ce6f58bc7e2fc9a48 (patch)
tree2067c5753d6031fe03ff68c492354a768d709110
parent500a8feea5684dba1e45cc301470e04ca604cfbc (diff)
downloadfisheye-4d42d2e82431aa16d9b0448ce6f58bc7e2fc9a48.tar.gz
fisheye-4d42d2e82431aa16d9b0448ce6f58bc7e2fc9a48.tar.bz2
fisheye-4d42d2e82431aa16d9b0448ce6f58bc7e2fc9a48.zip
use galleryTree instead of galleryList
-rw-r--r--templates/edit_gallery.tpl16
1 files changed, 2 insertions, 14 deletions
diff --git a/templates/edit_gallery.tpl b/templates/edit_gallery.tpl
index 94afbc8..cc4f5e4 100644
--- a/templates/edit_gallery.tpl
+++ b/templates/edit_gallery.tpl
@@ -126,26 +126,14 @@ function updateGalleryPagination() {
{include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_tab_tpl"}
- {if $galleryList}
+ {if $galleryTree}
{jstab title="Gallery Memberships"}
{legend legend="Gallery Memberships"}
{tr}If you would like this gallery to be a sub-gallery, check the parent gallery below. It is possible to belong to multiple galleries. If no parent is checked, this gallery will appear as a top-level gallery.{/tr}
<div class="row">
{formlabel label=$gContent->getContentTypeName()|cat:" Belongs to These Galleries"}
{forminput}
- {foreach from=$galleryList key=galId item=gal}
- {if $galId != $gContent->mGalleryId}
- <input type="checkbox" name="gallery_additions[]" value="{$gal.gallery_id}"
- {if $gal.in_gallery}
- checked="checked"
- {/if}
- />
- <a href="{$smarty.const.FISHEYE_PKG_URL}view.php?gallery_id={$gal.gallery_id}">{$gal.title|escape}</a>
- <br />
- {/if}
- {foreachelse}
- {tr}No Galleries Found{/tr}.
- {/foreach}
+{$galleryTree}
{/forminput}
</div>
{/legend}