This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // THIS FILES IS NOT OVERWRITTEN BY FLEXICONTENT | |
| // PLEASE ADD YOUR CUSTOM CONFIGURATION STRINGS HERE | |
| // * DocumentRoot configuration | |
| // phpThumb() depends on $_SERVER['DOCUMENT_ROOT'] to resolve path/filenames. This value is usually correct, | |
| // but has been known to be broken on some servers. This value allows you to override the default value. | |
| // Do not modify from the auto-detect default value unless you are having problems. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| defined('_JEXEC') or die('Restricted access'); | |
| /* | |
| * ======================================================================= | |
| + GET META DATA | |
| ----------------------------------------------------------------------- | |
| + SETTINGS | |
| + SET IMAGE + GALLERY FIELDS ** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| // Default configuration | |
| const defaultConfig = { | |
| selector: '.magnetic', | |
| strength: 24, | |
| textStrength: 18 | |
| }; | |
| // Public API | |
| window.Magnetic = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @package Joomla.Site | |
| * @subpackage com_content | |
| * | |
| * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. | |
| * @license GNU General Public License version 2 or later; see LICENSE.txt | |
| */ | |
| defined('_JEXEC') or die; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Define the project name variable | |
| $projectName = "jy" | |
| # Define source and destination paths | |
| $templateSrc = "D:\2025-laragon\www\$projectName\templates\iamrobert4" | |
| $templateDst = "D:\bitbucket\$projectName" | |
| $mediaSrc = "D:\2025-laragon\www\$projectName\media\templates\site\iamrobert4" | |
| $mediaDst = "D:\bitbucket\$projectName\media\templates\site\iamrobert4" | |
| # Function to compare and sync files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* + JOOOMLA DEBUGGER- will write to /administrator/logs/admin-500.log. | |
| + Overwrite your /administrator/index.php root file | |
| + Revert back after debugging! | |
| ======================================================================*/ | |
| // At the very start of /administrator/index.php | |
| if (!function_exists('debugLog')) { | |
| function debugLog($message, $data = null) { | |
| $logFile = __DIR__ . '/logs/admin-500.log'; | |
| $timestamp = date('Y-m-d H:i:s'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.imgBaselineHeight = { | |
| init: function () { | |
| function calculateCSSVar(variableName) { | |
| const tempEl = document.createElement('div'); | |
| tempEl.style.marginTop = `var(${variableName})`; | |
| tempEl.style.position = 'absolute'; | |
| tempEl.style.visibility = 'hidden'; | |
| document.body.appendChild(tempEl); | |
| const computedStyle = getComputedStyle(tempEl).marginTop; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (() => { | |
| const CLASS_B = 'bgrid'; // full baseline grid | |
| const CLASS_BH = 'bgridh'; // half-height baseline grid (CSS handles the size) | |
| const STORAGE_KEY = 'baselineGrid:last'; // stores 'bgrid' or 'bgridh' | |
| const body = document.body; | |
| const has = (c) => body.classList.contains(c); | |
| const getCurrent = () => (has(CLASS_B) ? CLASS_B : has(CLASS_BH) ? CLASS_BH : ''); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CSS/JS auto-versioning | |
| RewriteEngine On | |
| RewriteRule ^(.*)\.[\d]{10}\.(css|js)$ $1.$2 [L] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * ======================================================================= | |
| + ICONS | |
| ----------------------------------------------------------------------- | |
| * ======================================================================= | |
| */ | |
| /*! purgecss start ignore */ | |
NewerOlder