⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.82
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 :
CreateTaskList.php
* @package Nag */ class Nag_Form_CreateTaskList extends Horde_Form { public function __construct($vars) { parent::__construct($vars, _("Create Task List")); $this->addVariable(_("Name"), 'name', 'text', true); $v = $this->addVariable(_("Color"), 'color', 'colorpicker', false); $v->setDefault(Nag::randomColor()); if ($GLOBALS['registry']->isAdmin()) { $this->addVariable( _("System Task List"), 'system', 'boolean', false, false, _("System task lists don't have an owner. Only administrators can change the task list settings and permissions.")); } $this->addVariable(_("Description"), 'description', 'longtext', false, false, null, array(4, 60)); $this->setButtons(array(_("Create"))); } public function execute() { $info = array(); foreach (array('name', 'color', 'description', 'system') as $key) { $info[$key] = $this->_vars->get($key); } return Nag::addTasklist($info); } }