This commit is contained in:
2025-08-25 00:33:14 -05:00
parent bbca9c4024
commit cc69c75cca
142 changed files with 16614 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
/**
*
* @package Joomla.Site
* @subpackage Templates.Moko-Cassiopeia
* @file /templates/moko-cassiopeia/custom.php
* @version 02.00
* @copyright © 2025 Moko Consulting
* @author Jonathan Miller
* @website https://mokoconsulting.tech
* @email hello@mokoconsulting.tech
* @phone +1 (931) 279-6313
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
* This file is part of a Moko Consulting project released under the
* GNU General Public License v3 or (at your option) any later version.
* It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
function console_log($output, $with_script_tags = true) {
$js_code = 'console.log(' . json_encode($output, JSON_HEX_TAG) .
');';
if ($with_script_tags) {
$js_code = '<script>' . $js_code . '</script>';
}
echo $js_code;
}
?>
Custom code included here