From 559f9a4b9d770a37048db73e82f84bc1f0ec09f1 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Mon, 31 Aug 2009 22:51:36 -0600 Subject: Add icons to context menu for albums. I'm open to other options, if folks think there's something better in the jQuery UI themeroller set. --- modules/gallery/helpers/gallery.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/gallery/helpers/gallery.php b/modules/gallery/helpers/gallery.php index 035ed1da..352a69da 100644 --- a/modules/gallery/helpers/gallery.php +++ b/modules/gallery/helpers/gallery.php @@ -288,17 +288,17 @@ class gallery_Core { ->append(Menu::factory("dialog") ->id("add_item") ->label(t("Add a photo")) - ->css_class("add_item") + ->css_class("ui-icon-plus") ->url(url::site("simple_uploader/app/$item->id"))) ->append(Menu::factory("dialog") ->id("add_album") ->label(t("Add an album")) - ->css_class("add_album") + ->css_class("ui-icon-note") ->url(url::site("form/add/albums/$item->id?type=album"))) ->append(Menu::factory("dialog") ->id("edit_permissions") ->label(t("Edit permissions")) - ->css_class("permissions") + ->css_class("ui-icon-key") ->url(url::site("permissions/browse/$item->id"))); } } -- cgit v1.2.3