function _photos_order_label in Album Photos 7.3
Same name and namespace in other branches
- 6.2 photos.module \_photos_order_label()
Sort order labels.
2 calls to _photos_order_label()
- photos_admin_settings in inc/
photos.admin.inc - @file Admin settings form(s) and submit handler.
- _photos_form in inc/
photos.form.inc - Node album settings form.
File
- ./
photos.module, line 2490 - Implementation of photos.module.
Code
function _photos_order_label() {
return array(
'weight|asc' => t('Weight - smallest first'),
'weight|desc' => t('Weight - largest first'),
'timestamp|desc' => t('Date - newest first'),
'timestamp|asc' => t('Date - oldest first'),
'comments|desc' => t('Comments - most first'),
'comments|asc' => t('Comments - least first'),
'filesize|desc' => t('Filesize - smallest first'),
'filesize|asc' => t('Filesize - largest first'),
'visits|desc' => t('Visits - most first'),
'visits|asc' => t('Visits - least first'),
);
}