Changeset 2517 for trunk/include/functions_category.inc.php
- Timestamp:
- Sep 11, 2008, 11:40:00 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_category.inc.php
r2433 r2517 258 258 function get_category_preferred_image_orders() 259 259 { 260 global $conf; 260 global $conf, $page; 261 261 262 return array( 262 263 array(l10n('default_sort'), '', true), … … 265 266 array(l10n('Creation date'), 'date_creation DESC', true), 266 267 array(l10n('Post date'), 'date_available DESC', true), 267 array(l10n('File name'), 'file ASC', true) 268 ); 268 array(l10n('File name'), 'file ASC', true), 269 array( 270 l10n('Rank'), 271 'rank ASC', 272 ('categories' == $page['section'] and !isset($page['flat'])) 273 ) 274 ); 269 275 } 270 276
Note: See TracChangeset
for help on using the changeset viewer.