/usr/share/horde/sesha/list.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 | <?php
/**
* This file is the classic list view of the Inventory application for Horde,
* Sesha. It should also be able to display search results and other useful
* things.
*
* Copyright 2012 Horde LLC (http://www.horde.org)
*
* See the enclosed file COPYING for license information (GPL). If you
* did not receive this file, see http://www.horde.org/licenses/gpl.
*/
require_once __DIR__ . '/lib/Application.php';
Horde_Registry::appInit('sesha');
/* While switching from Horde_Template to Horde_View, try to leave only lines which strictly need to be in this file */
// Start page display.
$view = new Sesha_View_List(array('templatePath' => SESHA_TEMPLATES . '/view/',
'selectedCategories' => array(Horde_Util::getFormData('category_id')),
'sortDir' => Horde_Util::getFormData('sortdir'),
'sortBy' => Horde_Util::getFormData('sortby'),
'propertyIds' => @unserialize($prefs->getValue('list_properties')),
'what' => Horde_Util::getFormData('criteria'),
'loc' => Horde_Util::getFormData('location')
)
);
$page_output->addScriptFile('prototype.js', 'horde');
$page_output->addScriptFile('tables.js', 'horde');
$page_output->header(array(
'title' => $view->title
));
require SESHA_TEMPLATES . '/menu.inc';
echo $view->render('list.php');
$page_output->footer();
|