This file is indexed.

/etc/horde/sesha/prefs.php is in php-horde-sesha 1.0.0~beta1-11ubuntu1.

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
<?php
/**
 * Preferences Information
 * =======================
 * Changes you make to the prefs.local.php file(s) will not be reflected until the
 * user logs out and logs in again.
 *
 * IMPORTANT: DO NOT EDIT THIS FILE!
 * Local overrides 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.
 *
 * See horde/config/prefs.php for documentation on the structure of this file.
 */

$prefGroups['display'] = array(
    'column' => _("General Options"),
    'label' => _("Display Options"),
    'desc' => _("Change your inventory sorting and display options."),
    'members' => array('sortby', 'sortdir', 'list_properties', 'sesha_default_view')
);

// user preferred sorting column
$_prefs['sortby'] = array(
    'value' => Sesha::SORT_STOCKID,
    'locked' => false,
    'type' => 'enum',
    'enum' => array(Sesha::SORT_STOCKID => _("Stock ID"),
                    Sesha::SORT_NAME => _("Item Name"),
                    Sesha::SORT_NOTE => _("Note")),
    'desc' => _("Default sorting criteria:")
);

// user preferred sorting direction
$_prefs['sortdir'] = array(
    'value' => Sesha::SORT_ASCEND,
    'locked' => false,
    'type' => 'enum',
    'enum' => array(Sesha::SORT_ASCEND => _("Ascending"),
                    Sesha::SORT_DESCEND => _("Descending")),
    'desc' => _("Default sorting direction:")
);

// default view
$_prefs['sesha_default_view'] = array(
    'value' => 'list',
    'locked' => false,
    'type' => 'enum',
    'enum' => array(
        'list' => _("List"),
        'search' => _("Search"),
        'stock' => _("Stock")
    ),
    'desc' => _("Select the view to display after login:")
);


// properties to show in lists
$_prefs['list_properties'] = array(
    'value' => array(),
    'locked' => false,
    'type' => 'multienum',
    'enum' => array(),
    'desc' => _("Select properties that you would like to see in the list view. All other properties are only shown on individual item screens:")
);
$sesha_driver = $GLOBALS['injector']->getInstance('Sesha_Factory_Driver')->create();
foreach ($sesha_driver->getProperties() as $property) {
    $_prefs['list_properties']['enum'][$property['property_id']] = $property['property'];
}