Ignore:
Timestamp:
Jun 19, 2013, 2:43:41 PM (11 years ago)
Author:
mistic100
Message:

all collections are "active", display a menu when adding to a collection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserCollections/include/functions.inc.php

    r20093 r23361  
    5454function get_collection_preferred_image_orders()
    5555{
    56   global $conf, $page;
     56  global $conf;
    5757   
    5858  return trigger_event('get_category_preferred_image_orders', array(
     
    7272}
    7373
     74function get_collections_preferred_orders()
     75{
     76  return array(
     77    array(l10n('Name, A → Z'),               'name ASC',           true),
     78    array(l10n('Name, Z → A'),               'name DESC',          true),
     79    array(l10n('Date created, new → old'),   'date_creation DESC', true),
     80    array(l10n('Date created, old → new'),   'date_creation ASC',  true),
     81    array(l10n('Photos number, high → low'), 'nb_images DESC',     true),
     82    array(l10n('Photos number, low → high'), 'nb_images ASC',      true),
     83    );
     84}
     85
    7486?>
Note: See TracChangeset for help on using the changeset viewer.