PHP 8.1.33
Preview: mod_custom.php Size: 830 B
/home/jambtst2015/public_html/ida.com.ng/administrator/modules/mod_custom/mod_custom.php

<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_custom
 *
 * @copyright   (C) 2009 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\Helper\ModuleHelper;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Plugin\PluginHelper;

if ($params->def('prepare_content', 1))
{
	PluginHelper::importPlugin('content');
	$module->content = HTMLHelper::_('content.prepare', $module->content, '', 'mod_custom.content');
}

// Replace 'images/' to '../images/' when using an image from /images in backend.
$module->content = preg_replace('*src\=\"(?!administrator\/)images/*', 'src="../images/', $module->content);

require ModuleHelper::getLayoutPath('mod_custom', $params->get('layout', 'default'));

Directory Contents

Dirs: 1 × Files: 2

Name Size Perms Modified Actions
tmpl DIR
- drwxr-xr-x 2024-11-22 17:53:13
Edit Download
830 B lrw-r--r-- 2024-11-22 17:53:13
Edit Download
2.09 KB lrw-r--r-- 2024-11-22 17:53:13
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).