⚝
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
/
imp
/
lib
/
Tree
/
Edit File: Simplehtml.php
<?php /** * Extends Core's Simplehtml class to allow us to catch expand/collapse * requests so that the 'expanded_folders' pref can be updated. * * Copyright 2012-2017 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (GPL). If you * did not receive this file, see http://www.horde.org/licenses/gpl. * * @author Michael Slusarz <slusarz@horde.org> * @category Horde * @license http://www.horde.org/licenses/gpl GPL * @package IMP */ class IMP_Tree_Simplehtml extends Horde_Core_Tree_Renderer_Simplehtml { /** * Should this element be toggled? * * @param string $id The node ID. * * @return boolean True of the element should be toggled. */ public function shouldToggle($id) { return ($this->_tree->nodeId($id) == $GLOBALS['injector']->getInstance('Horde_Variables')->get(Horde_Tree::TOGGLE . $this->_tree->instance)); } /** * Generate a link URL tag. * * @param string $node_id The node ID. * * @return string The link tag. */ protected function _generateUrlTag($node_id) { return IMP_Minimal_Folders::url() ->add(Horde_Tree::TOGGLE . $this->_tree->instance, $node_id) ->link(); } }
Simpan