summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/album.php
diff options
context:
space:
mode:
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"));
}
}