Files
MokoCassiopeia/templates/moko-cassiopeia/custom.php
Jonathan Miller 2410b43cb6 Start of 03.00 RC
### Removed
 - `./CODE_OF_CONDUCT.md`
 - `./CONTRIBUTING.md`

### Updated
 - Copyright Headers to MokoCodingDefaults standards
2025-12-02 16:18:00 -06:00

36 lines
1.2 KiB
PHP

<?php
/* Copyright (C) 2025 Moko Consulting <hello@mokoconsulting.tech>
This file is part of a Moko Consulting project.
SPDX-License-Identifier: GPL-3.0-or-later
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program 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. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/ .
# FILE INFORMATION
DEFGROUP: Joomla
INGROUP: Moko-Cassiopeia
PATH: templates/moko-cassiopeia/custom.php
VERSION: 02.01.05
BRIEF: Custom entry template file for Moko-Cassiopeia with user-defined overrides
*/
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
-->