/etc/horde/gollem/prefs.php is in php-horde-gollem 3.0.7-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | <?php
/**
* See horde/config/prefs.php for documentation on the structure of this file.
*
* IMPORTANT: DO NOT EDIT THIS FILE! DO NOT COPY prefs.php TO prefs.local.php!
* Local overrides ONLY MUST be placed in prefs.local.php or prefs.d/.
* If the 'vhosts' setting has been enabled in Horde's configuration, you can
* use prefs-servername.php.
*/
// *** File Display Preferences ***
$prefGroups['display'] = array(
'column' => _("User Interface"),
'label' => _("File Display"),
'desc' => _("File display preferences."),
'members' => array(
'show_dotfiles', 'sortdirsfirst', 'columnselect', 'sortby', 'sortdir',
'perpage'
)
);
// show dotfiles?
$_prefs['show_dotfiles'] = array(
'value' => 0,
'type' => 'checkbox',
'desc' => _("Show dotfiles?")
);
// always sort directories before files
$_prefs['sortdirsfirst'] = array(
'value' => 1,
'type' => 'checkbox',
'desc' => _("List folders first?")
);
// columns selection widget
$_prefs['columnselect'] = array(
'type' => 'special',
'handler' => 'Gollem_Prefs_Special_Columnselect'
);
// columns to be displayed
$_prefs['columns'] = array(
// 'value' = json_encode(array(array('ftp', 'type', 'name', 'size')))
'value' => '[]'
);
// user preferred sorting column
$_prefs['sortby'] = array(
'value' => Gollem::SORT_TYPE,
'type' => 'enum',
'enum' => array(
Gollem::SORT_TYPE => _("File Type"),
Gollem::SORT_DATE => _("File Name"),
Gollem::SORT_DATE => _("File Modification Time"),
Gollem::SORT_SIZE => _("File Size")
),
'desc' => _("Default sorting criteria:")
);
// user preferred sorting direction
$_prefs['sortdir'] = array(
'value' => 0,
'type' => 'enum',
'enum' => array(
Gollem::SORT_ASCEND => _("Ascending"),
Gollem::SORT_DESCEND => _("Descending")
),
'desc' => _("Default sorting direction:")
);
// number of items per page
$_prefs['perpage'] = array(
'value' => 30,
'type' => 'number',
'desc' => _("Items per page")
);
// *** File Actions Preferences ***
$prefGroups['settings'] = array(
'column' => _("User Interface"),
'label' => _("File Actions"),
'desc' => _("File action settings."),
'members' => array('recursive_deletes'));
// user preferred recursive deletes
$_prefs['recursive_deletes'] = array(
'value' => 'warn',
'type' => 'enum',
'enum' => array(
'disabled' => _("No"),
'enabled' => _("Yes"),
'warn' => _("Ask")
),
'desc' => _("Delete folders recursively?")
);
|