This file is indexed.

/usr/share/horde/ansel/lib/View/Slideshow.php is in php-horde-ansel 3.0.5+debian0-1.

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
<?php
/**
 * The Ansel_View_Slideshow:: class wraps display of the gallery slideshow.
 *
 * @author  Chuck Hagenbuch <chuck@horde.org>
 * @author  Michael J. Rubinsky <mrubinsk@horde.org>
 * @package Ansel
 */
class Ansel_View_Slideshow extends Ansel_View_Image
{

    protected function _includeViewSpecificScripts()
    {
        $GLOBALS['page_output']->addScriptFile('slideshow.js');
        $GLOBALS['page_output']->addScriptFile('views/slideshow.js');
    }

    protected function _html()
    {
        global $registry, $prefs;

        $view = $this->_getView();
        $view->hasEdit = $this->gallery->hasPermission($registry->getAuth(), Horde_Perms::EDIT);
        $view->hasDelete = $this->gallery->hasPermission($registry->getAuth(), Horde_Perms::DELETE);
        $view->urls = $this->_urls;

        $GLOBALS['page_output']->addScriptFile('views/common.js');

        $imageIndex = $this->_revList[$this->resource->id];
        $js = 'SlideController.initialize(' . self::json($this->gallery, array('view_links' => true)) . ','
            . $imageIndex . ', "' . $registry->get('webroot') . '", ' . $this->gallery->id . ', "");';
        $GLOBALS['page_output']->addInlineScript($js, true);

        return $view->render('slideshow');
    }

    public function viewType()
    {
        return 'Slideshow';
    }

}