diff options
Diffstat (limited to 'themes/default/views')
-rw-r--r-- | themes/default/views/album.html.php | 22 | ||||
-rw-r--r-- | themes/default/views/page.html.php | 3 | ||||
-rw-r--r-- | themes/default/views/photo.html.php | 23 |
3 files changed, 30 insertions, 18 deletions
diff --git a/themes/default/views/album.html.php b/themes/default/views/album.html.php index b3813104..e58648b7 100644 --- a/themes/default/views/album.html.php +++ b/themes/default/views/album.html.php @@ -1,15 +1,19 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <div id="gAlbumHeader"> - <ul id="gItemMenu"> - <li><a href="#" title="<?= _("View album") ?>"> - <img src="<?= $theme->url("images/ico-view-album.png") ?>" - alt="<?= _("View album") ?>" /></a></li> - <li><a href="#" title="<?= _("View album in hybrid mode") ?>"> - <img src="<?= $theme->url("images/ico-view-hybrid.png") ?>" - alt="<?= _("View album in hybrid mode") ?>" /></a></li> + <ul id="gItemMenu" class="sf-menu"> + <li><a href="#" id="gAlbumLink" title="<?= _("View album") ?>"><?= _("Album view") ?></a></li> + <li><a href="#" id="gHybridLink" title="<?= _("View album in hybrid mode") ?>"><?= _("Hybrid view") ?></a></li> <li><?= $theme->album_top() ?></li> - <li><a href="<?= url::site("/form/add/photos/$item->id") ?>" title="<?= _("Add an item") ?>" - class="gButtonLink gDialogLink"><?= _("Add an item") ?></a></li> + <li><a href="#">Options</a> + <ul> + <li><a href="<?= url::site("/form/add/photos/$item->id") ?>" + title="<?= _("Add an item") ?>" + class="gDialogLink"><?= _("Add an item") ?></a></li> + <li><a href="<?= url::site("/form/add/albums/$item->id") ?>" + title="<?= _("Add album") ?>" + class="gDialogLink"><?= _("Add album") ?></a></li> + </ul> + </li> </ul> <h1><?= $item->title_edit ?></h1> diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index 0eac17e7..f17bd637 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -13,10 +13,13 @@ </title> <link rel="stylesheet" type="text/css" href="<?= url::file("lib/yui/reset-fonts-grids.css") ?>" media="screen,print,projection" /> + <link rel="stylesheet" type="text/css" href="<?= $theme->url("jquery/superfish.css") ?>" + media="screen" /> <link rel="stylesheet" type="text/css" href="<?= $theme->url("css/screen.css") ?>" media="screen,print,projection" /> <script src="<?= url::file("lib/jquery.js") ?>" type="text/javascript"></script> <script src="<?= url::file("lib/jquery.form.js") ?>" type="text/javascript"></script> + <script src="<?= $theme->url("jquery/superfish.js") ?>" type="text/javascript"></script> <?= $theme->head() ?> <script src="<?= $theme->url("jquery/ui.core.js") ?>" type="text/javascript"></script> <script src="<?= $theme->url("jquery/ui.tabs.min.js") ?>" type="text/javascript"></script> diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php index 84d8293f..55872e08 100644 --- a/themes/default/views/photo.html.php +++ b/themes/default/views/photo.html.php @@ -1,16 +1,21 @@ <? defined("SYSPATH") or die("No direct script access."); ?> <div id="gItemHeader"> - <ul id="gItemMenu"> - <li><a href="#" title="<?= _("View full size image") ?>"> - <img src="<?= $theme->url("images/ico-view-fullsize.png") ?>" - alt="<?= sprintf(_("View full size image (%dx%d)"), $item->width, $item->height) ?>" /></a></li> - <li><a href="#" title="<?= _("View album in hybrid mode") ?>"> - <img src="<?= $theme->url("images/ico-view-hybrid.png") ?>" - alt="<?= _("View album in hybrid mode") ?>" /></a></li> + <ul id="gItemMenu" class="sf-menu"> + <li><a href="#" id="gFullsizeLink" title="<?= _("View full size image") ?>"><?= _("View full size image") ?></a></li> + <li><a href="#" id="gHybridLink" title="<?= _("View album in hybrid mode") ?>"><?= _("Hybrid view") ?></a></li> <li><?= $theme->album_top() ?></li> - <li><a href="#" title="<?= _("Options for this item") ?>" - class="gButtonLink gDialogLink">v <?= _("Options") ?></a></li> + <li><a href="#">Options</a> + <ul> + <li><a href="<?= url::site("/form/add/photos/$item->id") ?>" + title="<?= _("Add an item") ?>" + class="gDialogLink"><?= _("Add an item") ?></a></li> + <li><a href="<?= url::site("/form/add/albums/$item->id") ?>" + title="<?= _("Add album") ?>" + class="gDialogLink"><?= _("Add album") ?></a></li> + </ul> + </li> </ul> + <h1><?= $item->title_edit ?></h1> </div> |