⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.72
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
imp
/
lib
/
Ajax
/
Imple
/
View File Name :
PassphraseDialog.php
* @category Horde * @copyright 2010-2017 Horde LLC * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ class IMP_Ajax_Imple_PassphraseDialog extends Horde_Core_Ajax_Imple { /** * @param array $params Configuration parameters. * - onload: (boolean) [OPTIONAL] If set, will trigger action on page * load. * - params: (array) [OPTIONAL] Any additional parameters to pass to * AJAX action. * - type: (string) The dialog type. */ public function __construct(array $params = array()) { parent::__construct($params); } /** */ protected function _attach($init) { global $page_output; if ($init) { $page_output->addScriptPackage('Horde_Core_Script_Package_Dialog'); $page_output->addScriptFile('passphrase.js', 'imp'); } $params = isset($this->_params['params']) ? $this->_params['params'] : array(); if (isset($params['reload'])) { $params['reload'] = strval($params['reload']); } switch ($this->_params['type']) { case 'pgpPersonal': $text = _("Enter your personal PGP passphrase."); break; case 'pgpSymmetric': $text = _("Enter the passphrase used to encrypt this message."); break; case 'smimePersonal': $text = _("Enter your personal S/MIME passphrase."); break; } $js_params = array( 'hidden' => array_merge($params, array('type' => $this->_params['type'])), 'text' => $text ); $js = 'ImpPassphraseDialog.display(' . Horde::escapeJson($js_params, array('nodelimit' => true)) . ')'; if (!empty($this->_params['onload'])) { $page_output->addInlineScript(array($js), true); return false; } return $js; } /** */ protected function _handle(Horde_Variables $vars) { return false; } }