diff options
Diffstat (limited to 'themes')
-rw-r--r-- | themes/admin_wind/views/admin.html.php | 2 | ||||
-rw-r--r-- | themes/wind/views/album.html.php | 4 | ||||
-rw-r--r-- | themes/wind/views/dynamic.html.php | 6 | ||||
-rw-r--r-- | themes/wind/views/photo.html.php | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php index 5b2d41ad..fc86e1c9 100644 --- a/themes/admin_wind/views/admin.html.php +++ b/themes/admin_wind/views/admin.html.php @@ -45,7 +45,7 @@ <?= $theme->admin_header_top() ?> <ul id="g-login-menu"> <li class="first"><?= html::anchor(item::root()->abs_url(), "← ".t("Back to the Gallery")) ?></li> - <li id="g-logoutLink"><a href="<?= url::site("logout?csrf=$csrf&continue=" . urlencode(item::root()->url())) ?>"><?= t("Logout") ?></a></li> + <li id="g-logout-link"><a href="<?= url::site("logout?csrf=$csrf&continue=" . urlencode(item::root()->url())) ?>"><?= t("Logout") ?></a></li> </ul> <a id="g-logo" href="<?= item::root()->url() ?>" title="<?= t("go back to the Gallery")->for_html_attr() ?>"> ← <?= t("back to the ...") ?> diff --git a/themes/wind/views/album.html.php b/themes/wind/views/album.html.php index 57760de4..5d928b2e 100644 --- a/themes/wind/views/album.html.php +++ b/themes/wind/views/album.html.php @@ -13,13 +13,13 @@ <? if ($child->is_album()): ?> <? $item_class = "g-album"; ?> <? endif ?> - <li id="g-itemId-<?= $child->id ?>" class="g-item <?= $item_class ?>"> + <li id="g-item-id-<?= $child->id ?>" class="g-item <?= $item_class ?>"> <?= $theme->thumb_top($child) ?> <a href="<?= $child->url() ?>"> <?= $child->thumb_img(array("class" => "g-thumbnail")) ?> </a> <?= $theme->thumb_bottom($child) ?> - <?= $theme->context_menu($child, "#g-itemId-{$child->id} .g-thumbnail") ?> + <?= $theme->context_menu($child, "#g-item-id-{$child->id} .g-thumbnail") ?> <h2><span></span><a href="<?= $child->url() ?>"><?= html::purify($child->title) ?></a></h2> <ul class="g-metadata"> <?= $theme->thumb_info($child) ?> diff --git a/themes/wind/views/dynamic.html.php b/themes/wind/views/dynamic.html.php index 9d50f8a8..aa347402 100644 --- a/themes/wind/views/dynamic.html.php +++ b/themes/wind/views/dynamic.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<div id="g-albumHeader"> - <div id="g-albumHeaderButtons"> +<div id="g-album-header"> + <div id="g-album-header-buttons"> <?= $theme->dynamic_top() ?> </div> <h1><?= html::clean($title) ?></h1> @@ -11,7 +11,7 @@ <li class="g-item <?= $child->is_album() ? "g-album" : "" ?>"> <?= $theme->thumb_top($child) ?> <a href="<?= $child->url() ?>"> - <img id="g-photoId-<?= $child->id ?>" class="g-thumbnail" + <img id="g-photo-id-<?= $child->id ?>" class="g-thumbnail" alt="photo" src="<?= $child->thumb_url() ?>" width="<?= $child->thumb_width ?>" height="<?= $child->thumb_height ?>" /> diff --git a/themes/wind/views/photo.html.php b/themes/wind/views/photo.html.php index 497c61bc..2520cb0c 100644 --- a/themes/wind/views/photo.html.php +++ b/themes/wind/views/photo.html.php @@ -42,12 +42,12 @@ <? if (access::can("view_full", $item)): ?> <a href="<?= $item->file_url() ?>" class="g-fullsize-link" title="<?= t("View full size")->for_html_attr() ?>"> <? endif ?> - <?= $item->resize_img(array("id" => "g-photoId-{$item->id}", "class" => "g-resize")) ?> + <?= $item->resize_img(array("id" => "g-photo-id-{$item->id}", "class" => "g-resize")) ?> <? if (access::can("view_full", $item)): ?> </a> <? endif ?> <?= $theme->resize_bottom($item) ?> - <?= $theme->context_menu($item, "#g-photoId-{$item->id}") ?> + <?= $theme->context_menu($item, "#g-photo-id-{$item->id}") ?> </div> <div id="g-info"> |