diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2008-06-20 19:32:17 +0200 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2008-06-20 19:41:54 +0200 |
commit | f6b2d6438f1bb0df5fcc9159a38d47628466f80a (patch) | |
tree | 94104008d68bfbe92e6c53525302d553e2b032e2 /phpfspot_cfg.php.dist | |
parent | 3d5877ab7f5b9cf885b74bbb881115050f8d5ed8 (diff) |
issue125, make initial sort-order configureable
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
Diffstat (limited to 'phpfspot_cfg.php.dist')
-rw-r--r-- | phpfspot_cfg.php.dist | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/phpfspot_cfg.php.dist b/phpfspot_cfg.php.dist index a04a422..4eec27c 100644 --- a/phpfspot_cfg.php.dist +++ b/phpfspot_cfg.php.dist @@ -122,6 +122,22 @@ class PHPFSPOT_CFG { /* user friendly URLs */ var $user_friendly_url = false; + /* default sort order - possible values are: + + date_asc => sort by date ascending (17.1, 18.1, 19.1, ...) + date_desc => sort by date descending (19.1, 18.1, 17.1, ...) + name_asc => sort by name ascending (alphabetical) + name_desc => sort by name descending (alphabetical) + tags_asc => sort by tag ascending (alphabetical) + tags_desc => sort by tag descending (alphabetical) + rate_asc => sort by rate value ascending (1, 2, 3, 4, 5) + rate_desc => sort by rate value descending (5, 4, 3, 2, 1) + + Attention: Rate value is available beginning with F-Spot version 0.4.1 + + */ + var $sort_order = "tags_asc"; + public function __construct() { |