summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/album.php
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-04 00:27:22 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-10-04 00:27:22 -0600
commit3e6ba7acc3291f2268cbe9c9bef0a492b557babb (patch)
tree079c1bd09ab1cfcf35524f2e541c586a95f205e4 /modules/gallery/helpers/album.php
parent9145331fd420ec3fe86833a7b9567ec42f1d84e8 (diff)
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
Diffstat (limited to 'modules/gallery/helpers/album.php')
-rw-r--r--modules/gallery/helpers/album.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php
index 65868cf2..72a79a75 100644
--- a/modules/gallery/helpers/album.php
+++ b/modules/gallery/helpers/album.php
@@ -92,7 +92,7 @@ class album_Core {
}
static function get_add_form($parent) {
- $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gAddAlbumForm"));
+ $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "g-add-album-form"));
$group = $form->group("add_album")
->label(t("Add an album to %album_title", array("album_title" => $parent->title)));
$group->input("title")->label(t("Title"));
@@ -114,7 +114,7 @@ class album_Core {
}
static function get_edit_form($parent) {
- $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "gEditAlbumForm"));
+ $form = new Forge("albums/{$parent->id}", "", "post", array("id" => "g-edit-album-form"));
$form->hidden("_method")->value("put");
$group = $form->group("edit_item")->label(t("Edit Album"));
@@ -141,14 +141,14 @@ class album_Core {
$group->hidden("slug")->value($parent->slug);
}
- $sort_order = $group->group("sort_order", array("id" => "gAlbumSortOrder"))
+ $sort_order = $group->group("sort_order", array("id" => "g-album-sort-order"))
->label(t("Sort Order"));
- $sort_order->dropdown("column", array("id" => "gAlbumSortColumn"))
+ $sort_order->dropdown("column", array("id" => "g-album-sort-column"))
->label(t("Sort by"))
->options(album::get_sort_order_options())
->selected($parent->sort_column);
- $sort_order->dropdown("direction", array("id" => "gAlbumSortDirection"))
+ $sort_order->dropdown("direction", array("id" => "g-album-sort-direction"))
->label(t("Order"))
->options(array("ASC" => t("Ascending"),
"DESC" => t("Descending")))