summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/album.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-09-21 13:56:52 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-09-21 13:56:52 -0700
commitdd31b1d39f9a342afc82cc7e446e36454a882cf9 (patch)
treec7e1e4f4e9ce747c275da3143ae735c6a2b8b97a /modules/gallery/helpers/album.php
parented6dfbc0e8eabf7662d128fd4241a92fa3a140b8 (diff)
Revert "* Move the captured field into the exif module where it is created and populated."
This reverts commit a00619b812393cf73d1c188af7961af820d36185.
Diffstat (limited to 'modules/gallery/helpers/album.php')
-rw-r--r--modules/gallery/helpers/album.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php
index eeeb7e52..9cd746d7 100644
--- a/modules/gallery/helpers/album.php
+++ b/modules/gallery/helpers/album.php
@@ -166,10 +166,12 @@ class album_Core {
* Return a structured set of all the possible sort orders.
*/
static function get_sort_order_options() {
- $sort_order = (object)array("fields" => array());
- module::event("get_sort_fields", $sort_order);
- asort($sort_order->fields);
-
- return $sort_order->fields;
+ return array("weight" => t("Manual"),
+ "captured" => t("Date captured"),
+ "created" => t("Date uploaded"),
+ "title" => t("Title"),
+ "updated" => t("Date modified"),
+ "view_count" => t("Number of views"),
+ "rand_key" => t("Random"));
}
}