One Hat Cyber Team
Your IP :
216.73.216.135
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
backup
/
oldserver
/
6
/
www
/
html
/
horde
/
js
/
View File Name :
form_sections.js
/** * Provides the javascript class for handling tabbed sections in Horde Forms. * * @author Marko Djukic <marko@oblo.com> * @copyright 2003-2015 Horde LLC * @license LGPL-2 (http://www.horde.org/licenses/lgpl) */ function Horde_Form_Sections(instanceName, openSection) { /* Set up this class instance for function calls from the page. */ this._instanceName = instanceName; /* The currently showed section. */ var _openSection, s; this.toggle = function(sectionId) { if (!document.getElementById) { return false; } /* Get the currently open section object. */ openSectionId = this._get(); s = document.getElementById(this._instanceName + '_section_' + openSectionId); if (s) { s.style.display = 'none'; document.getElementById(this._instanceName + '_tab_' + openSectionId).className = ''; } /* Get the newly opened section object. */ s = document.getElementById(this._instanceName + '_section_' + sectionId); if (s) { s.style.display = ''; document.getElementById(this._instanceName + '_tab_' + sectionId).className = 'horde-active'; } /* Store the newly opened section. */ this._set(sectionId); }; this._get = function() { return this._openSection; }; this._set = function(sectionId) { var form = document.getElementById(this._instanceName); if (form !== null && typeof form.__formOpenSection != 'undefined') { form.__formOpenSection.value = sectionId; } this._openSection = sectionId; }; this._set(openSection); }