diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-11-15 19:44:47 -0800 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-11-15 19:44:47 -0800 |
| commit | 0733dc37fda27a5ba35f9020edf3c66aa41a95a0 (patch) | |
| tree | 6877946232f1b01b1c8709054c689f6658cef34f /themes/default/views/album.html.php | |
| parent | 218493c50be9362d4abed6900a816308fee5d978 (diff) | |
| parent | 9379308f91a476f790fb8d444536719535c584e4 (diff) | |
Merge commit 'upstream/master'
Conflicts:
modules/gallery/tests/xss_data.txt
Diffstat (limited to 'themes/default/views/album.html.php')
| -rw-r--r-- | themes/default/views/album.html.php | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php deleted file mode 100644 index 01f7be50..00000000 --- a/themes/default/views/album.html.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php defined("SYSPATH") or die("No direct script access.") ?> -<? // @todo Set hover on AlbumGrid list items for guest users ?> -<div id="gInfo"> - <?= $theme->album_top() ?> - <h1><?= html::purify($item->title) ?></h1> - <div class="gDescription"><?= nl2br(html::purify($item->description)) ?></div> -</div> - -<ul id="gAlbumGrid"> -<? if (count($children)): ?> - <? foreach ($children as $i => $child): ?> - <? $item_class = "gPhoto"; ?> - <? if ($child->is_album()): ?> - <? $item_class = "gAlbum"; ?> - <? endif ?> - <li id="gItemId-<?= $child->id ?>" class="gItem <?= $item_class ?>"> - <?= $theme->thumb_top($child) ?> - <a href="<?= $child->url() ?>"> - <?= $child->thumb_img(array("class" => "gThumbnail")) ?> - </a> - <?= $theme->thumb_bottom($child) ?> - <?= $theme->context_menu($child, "#gItemId-{$child->id} .gThumbnail") ?> - <h2><span></span><a href="<?= $child->url() ?>"><?= html::purify($child->title) ?></a></h2> - <ul class="gMetadata"> - <?= $theme->thumb_info($child) ?> - </ul> - </li> - <? endforeach ?> -<? else: ?> - <? if ($user->admin || access::can("add", $item)): ?> - <? $addurl = url::file("index.php/simple_uploader/app/$item->id") ?> - <li><?= t("There aren't any photos here yet! <a %attrs>Add some</a>.", - array("attrs" => html::mark_clean("href=\"$addurl\" class=\"gDialogLink\""))) ?></li> - <? else: ?> - <li><?= t("There aren't any photos here yet!") ?></li> - <? endif; ?> -<? endif; ?> -</ul> -<?= $theme->album_bottom() ?> - -<?= $theme->pager() ?> |
