⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.50
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
/
kronolith
/
lib
/
Form
/
View File Name :
UnsubscribeRemoteCalendar.php
* @package Kronolith */ class Kronolith_Form_UnsubscribeRemoteCalendar extends Horde_Form { public function __construct($vars, $calendar) { parent::__construct($vars, sprintf(_("Unsubscribe from %s"), $calendar['name'])); $this->addHidden('', 'url', 'text', true); $this->addVariable(sprintf(_("Really unsubscribe from the calendar \"%s\" (%s)?"), htmlspecialchars($calendar['name']), htmlspecialchars($calendar['url'])), 'desc', 'description', false); $this->setButtons(array( array('class' => 'horde-delete', 'value' => _("Unsubscribe")), array('class' => 'horde-cancel', 'value' => _("Cancel")) )); } /** * @throws Kronolith_Exception */ public function execute() { if ($this->_vars->get('submitbutton') == _("Cancel")) { Horde::url($GLOBALS['prefs']->getValue('defaultview') . '.php', true) ->redirect(); } return Kronolith::unsubscribeRemoteCalendar($this->_vars->get('url')); } }