⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.37
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
/
nag
/
lib
/
Form
/
View File Name :
DeleteTaskList.php
* @package Nag */ class Nag_Form_DeleteTaskList extends Horde_Form { /** * Task list being deleted. * * @var Horde_Share_Object */ protected $_tasklist; /** * * @param array $vars * @param Horde_Share_Object $tasklist */ public function __construct($vars, Horde_Share_Object $tasklist) { $this->_tasklist = $tasklist; parent::__construct($vars, sprintf(_("Delete %s"), $tasklist->get('name'))); $this->addHidden('', 't', 'text', true); $this->addVariable( sprintf(_("Really delete the task list \"%s\"? This cannot be undone and all data on this task list will be permanently removed."), htmlspecialchars($this->_tasklist->get('name'))), 'desc', 'description', false ); $this->setButtons(array( array('class' => 'horde-delete', 'value' => _("Delete")), array('class' => 'horde-cancel', 'value' => _("Cancel")), )); } public function execute() { if ($this->_vars->get('submitbutton') == _("Cancel")) { Horde::url('list.php', true)->redirect(); } Nag::deleteTasklist($this->_tasklist); } }