diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-08-28 12:08:21 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-28 12:08:21 -0700 |
commit | 36d1a8c4f2c85ed2ece0212ce1e0b682056d0d2a (patch) | |
tree | 522b4f1d49cd47637b575901278d030a473fdfd7 | |
parent | 5133f93290e3ab0052909c27dcec05983c819ebe (diff) |
Rename sort columns:
* Order Added => Manual
* Capture Date => Date captured
* Creation Date => Date uploaded
* Updated Date => Date modified
Set the default sort order to "created" which mimics what we had
before, expt that it is not manual.
-rw-r--r-- | modules/gallery/helpers/album.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php index 8a7c9951..1b6b875d 100644 --- a/modules/gallery/helpers/album.php +++ b/modules/gallery/helpers/album.php @@ -56,7 +56,7 @@ class album_Core { $album->thumb_dirty = 1; $album->resize_dirty = 1; $album->rand_key = ((float)mt_rand()) / (float)mt_getrandmax(); - $album->sort_column = "weight"; + $album->sort_column = "created"; $album->sort_order = "ASC"; while (ORM::factory("item") @@ -116,11 +116,11 @@ class album_Core { $sort_order->dropdown("column", array("id" => "gAlbumSortColumn")) ->label(t("Sort by")) - ->options(array("weight" => t("Order Added"), - "captured" => t("Capture Date"), - "created" => t("Creation Date"), + ->options(array("weight" => t("Manual"), + "captured" => t("Date captured"), + "created" => t("Date uploaded"), "title" => t("Title"), - "updated" => t("Updated Date"), + "updated" => t("Date modified"), "view_count" => t("Number of views"), "rand_key" => t("Random"))) ->selected($parent->sort_column); |