1: <?php
2: /**
3: * Copyright 2012-2014 Horde LLC (http://www.horde.org/)
4: *
5: * See the enclosed file COPYING for license information (GPL). If you
6: * did not receive this file, see http://www.horde.org/licenses/gpl.
7: *
8: * @category Horde
9: * @copyright 2012-2014 Horde LLC
10: * @license http://www.horde.org/licenses/gpl GPL
11: * @package IMP
12: */
13:
14: /**
15: * This class identifies the javascript necessary to output the IMP_JS
16: * javascript script to the browser.
17: *
18: * @author Michael Slusarz <slusarz@horde.org>
19: * @category Horde
20: * @copyright 2012-2014 Horde LLC
21: * @license http://www.horde.org/licenses/gpl GPL
22: * @package IMP
23: */
24: class IMP_Script_Package_Imp extends Horde_Script_Package
25: {
26: /**
27: * Constructor.
28: */
29: public function __construct()
30: {
31: $ob = new Horde_Script_File_JsDir('imp.js', 'imp');
32: $ob->jsvars = array(
33: 'IMP_JS.unblock_image_text' => _("Click to always show images from this sender.")
34: );
35: $this->_files[] = $ob;
36:
37: $GLOBALS['page_output']->ajax = true;
38: }
39:
40: }
41: