芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/beyondbrightenterprise.com/plugins/installer/folderinstaller/folderinstaller.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Plugin\CMSPlugin; use Joomla\CMS\Plugin\PluginHelper; /** * FolderInstaller Plugin. * * @since 3.6.0 */ class PlgInstallerFolderInstaller extends CMSPlugin { /** * Application object. * * @var \Joomla\CMS\Application\CMSApplication * @since 4.0.0 */ protected $app; /** * Textfield or Form of the Plugin. * * @return array Returns an array with the tab information * * @since 3.6.0 */ public function onInstallerAddInstallationTab() { // Load language files $this->loadLanguage(); $tab = array(); $tab['name'] = 'folder'; $tab['label'] = Text::_('PLG_INSTALLER_FOLDERINSTALLER_TEXT'); // Render the input ob_start(); include PluginHelper::getLayoutPath('installer', 'folderinstaller'); $tab['content'] = ob_get_clean(); return $tab; } }