// @todo Set hover on AlbumGrid list items for guest users ?>
= $theme->album_top() ?>
= p::purify($item->title) ?>
= nl2br(p::purify($item->description)) ?>
if (count($children)): ?>
foreach ($children as $i => $child): ?>
$item_class = "gPhoto"; ?>
if ($child->is_album()): ?>
$item_class = "gAlbum"; ?>
endif ?>
-
= $theme->thumb_top($child) ?>
= $child->thumb_img(array("class" => "gThumbnail")) ?>
= $theme->thumb_bottom($child) ?>
= $theme->thumb_menu($child) ?>
endforeach ?>
else: ?>
if ($user->admin || access::can("add", $item)): ?>
$addurl = url::file("index.php/simple_uploader/app/$item->id") ?>
- = t("There aren't any photos here yet! Add some.",
array("attrs" => "href=\"$addurl\" class=\"gDialogLink\"")) ?>
else: ?>
- = t("There aren't any photos here yet!") ?>
endif; ?>
endif; ?>
= $theme->album_bottom() ?>
= $theme->pager() ?>