/usr/share/horde/ansel/lib/Ajax/Imple/ToggleOtherGalleries.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 | <?php
/**
* Ansel_Ajax_Imple_ToggleOtherGalleries:: class for performing Ajax setting of
* the gallery show_actions user pref.
*
* Copyright 2008-2016 Horde LLC (http://www.horde.org/)
*
* @author Michael J. Rubinsky <mrubinsk@horde.org>
* @package Ansel
*/
class Ansel_Ajax_Imple_ToggleOtherGalleries extends Horde_Core_Ajax_Imple
{
/**
*/
protected function _attach($init)
{
if ($init) {
$GLOBALS['page_output']->addScriptFile('togglewidget.js');
}
return 'doActionToggle("' . $this->getDomId() . '", "show_othergalleries")';
}
/**
* Noop.
*/
protected function _handle(Horde_Variables $vars)
{
}
}
|