-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update Summernote, fix Summernote plugins. - Add multiline editing to some text inputs. - Add FileRobot Image Editor in a dropdown section where images are added to content. - Make sure edited images are saved in their appropriate folders. - Fix Light & Dark styling for FileRobot Image Editing. - Add Search for Images via Unsplash.com. - Fix checkbox toggling. - Add duplicate title check for content and pages. - Change Country Flag lookup to Emoji's, reducing footprint. - Adjust Dashboard widgets to resize and remember size depending on different screen widths to differentriate between SM, MD, LG, XL and XXL. - Adjust administration menu to not completely disappear, and to not save it's state on mobile devices. - Fix permissions for accounts to correctly respond to settings. - Change content items images to link to content to edit/view rather than open in lightbox. - Fix Calendar not rendering correctly when switch between table and calendar views. - Adjust weather widget columns to collapse correctly when viewed on mobile devices. - Remove Ladda, reducing CSS and Javascript footprint. - Improve Page Blocking and update animation. - Sort CSS Styles removing duplicates and unused declarations. - Fix Save All to now save text editor contents. - Fix Event/News side area display showing out of date and events from incorrect account levels. - Fix Quickview Products now showing information, and allow multiple product viewing.
- Loading branch information
Dennis Suitters
committed
Apr 1, 2023
1 parent
119a01f
commit 80cde23
Showing
485 changed files
with
18,948 additions
and
8,602 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v0.2.22 | ||
v0.2.23 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.18 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.13 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.13 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.13 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
@@ -18,14 +18,14 @@ | |
}else{ | ||
if(!defined('PROTOCOL'))define('PROTOCOL','http://'); | ||
} | ||
echo'<script>'; | ||
require'zebraimage/zebra_image.php'; | ||
require'sanitise.php'; | ||
define('THEME','../layout/'.$config['theme']); | ||
define('URL',PROTOCOL.$_SERVER['HTTP_HOST'].$settings['system']['url'].'/'); | ||
define('UNICODE','UTF-8'); | ||
$theme=parse_ini_file(THEME.'/theme.ini',true); | ||
$act=isset($_POST['act'])?filter_input(INPUT_POST,'act',FILTER_UNSAFE_RAW):filter_input(INPUT_GET,'act',FILTER_UNSAFE_RAW); | ||
echo'<script>'; | ||
if($act!=''){ | ||
$uid=isset($_SESSION['uid'])?(int)$_SESSION['uid']:0; | ||
$ip=$_SERVER['REMOTE_ADDR']=='::1'?'127.0.0.1':$_SERVER['REMOTE_ADDR']; | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.13 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.22 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.13 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
@@ -42,7 +42,7 @@ | |
'<form class="float-right" target="sp" action="core/purge.php">'. | ||
'<input name="id" type="hidden" value="'.$id.'">'. | ||
'<input name="t" type="hidden" value="content">'. | ||
'<button class="trash" data-tooltip="tooltip" type="submit" aria-label="Delete"><i class="i"><svg role="img" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path d="m 5.4999377,5.7501979 v 4.5001871 q 0,0.109505 -0.070503,0.179508 -0.070503,0.07 -0.1795074,0.0705 H 4.7499064 q -0.1095045,0 -0.1795075,-0.0705 -0.070003,-0.0705 -0.070503,-0.179508 V 5.7501979 q 0,-0.1095045 0.070503,-0.1795075 0.070503,-0.070003 0.1795075,-0.070503 h 0.5000209 q 0.1095045,0 0.1795074,0.070503 0.070003,0.070503 0.070503,0.1795075 z m 2.0000833,0 v 4.5001871 q 0,0.109505 -0.070503,0.179508 -0.070503,0.07 -0.1795075,0.0705 H 6.7499898 q -0.1095046,0 -0.1795075,-0.0705 -0.070003,-0.0705 -0.070503,-0.179508 V 5.7501979 q 0,-0.1095045 0.070503,-0.1795075 0.070503,-0.070003 0.1795075,-0.070503 h 0.5000208 q 0.1095046,0 0.1795075,0.070503 0.070003,0.070503 0.070503,0.1795075 z m 2.0000833,0 v 4.5001871 q 0,0.109505 -0.070503,0.179508 -0.070503,0.07 -0.1795075,0.0705 H 8.7500731 q -0.1095046,0 -0.1795075,-0.0705 -0.070003,-0.0705 -0.070503,-0.179508 V 5.7501979 q 0,-0.1095045 0.070503,-0.1795075 0.070503,-0.070003 0.1795075,-0.070503 H 9.250094 q 0.1095046,0 0.1795075,0.070503 0.070003,0.070503 0.070503,0.1795075 z M 10.500146,11.406934 V 4.000625 H 3.4998543 v 7.406309 q 0,0.172007 0.054502,0.316513 0.054502,0.144506 0.1135047,0.211009 0.059003,0.0665 0.082004,0.0665 h 6.500271 q 0.0235,0 0.082,-0.0665 0.0585,-0.0665 0.113504,-0.211009 0.055,-0.144506 0.0545,-0.316513 z M 5.2499273,3.0000833 H 8.7500731 L 8.3750575,2.0860453 Q 8.3205552,2.0155423 8.2420519,2.0000417 H 5.7654487 q -0.078003,0.015501 -0.1330055,0.086004 z m 7.2503017,0.2500105 v 0.5000208 q 0,0.1095046 -0.0705,0.1795075 -0.0705,0.070003 -0.179507,0.070503 h -0.750031 v 7.4063089 q 0,0.648527 -0.367016,1.121046 Q 10.766157,13 10.250136,13 H 3.7498648 Q 3.2343433,13 2.866828,12.542981 2.4993126,12.085962 2.4998127,11.437435 V 3.999625 H 1.7497814 q -0.1095046,0 -0.1795075,-0.070503 Q 1.500271,3.8586191 1.499771,3.7496146 V 3.2495937 q 0,-0.1095045 0.070503,-0.1795074 0.070503,-0.070003 0.1795075,-0.070503 H 4.163882 L 4.7109048,1.695029 Q 4.8279097,1.4060169 5.1329224,1.2030085 5.4379351,1 5.7499481,1 H 8.2500523 Q 8.5625653,1 8.867078,1.2030085 9.1715907,1.4060169 9.2890956,1.695029 l 0.5470227,1.3045543 h 2.4141007 q 0.109504,0 0.179507,0.070503 0.07,0.070503 0.0705,0.1795074 z"/></svg></i></button>'. | ||
'<button class="btn-danger" data-tooltip="tooltip" type="submit" aria-label="Delete"><i class="i"><svg role="img" focusable="false" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><path d="m 5.4999377,5.7501979 v 4.5001871 q 0,0.109505 -0.070503,0.179508 -0.070503,0.07 -0.1795074,0.0705 H 4.7499064 q -0.1095045,0 -0.1795075,-0.0705 -0.070003,-0.0705 -0.070503,-0.179508 V 5.7501979 q 0,-0.1095045 0.070503,-0.1795075 0.070503,-0.070003 0.1795075,-0.070503 h 0.5000209 q 0.1095045,0 0.1795074,0.070503 0.070003,0.070503 0.070503,0.1795075 z m 2.0000833,0 v 4.5001871 q 0,0.109505 -0.070503,0.179508 -0.070503,0.07 -0.1795075,0.0705 H 6.7499898 q -0.1095046,0 -0.1795075,-0.0705 -0.070003,-0.0705 -0.070503,-0.179508 V 5.7501979 q 0,-0.1095045 0.070503,-0.1795075 0.070503,-0.070003 0.1795075,-0.070503 h 0.5000208 q 0.1095046,0 0.1795075,0.070503 0.070003,0.070503 0.070503,0.1795075 z m 2.0000833,0 v 4.5001871 q 0,0.109505 -0.070503,0.179508 -0.070503,0.07 -0.1795075,0.0705 H 8.7500731 q -0.1095046,0 -0.1795075,-0.0705 -0.070003,-0.0705 -0.070503,-0.179508 V 5.7501979 q 0,-0.1095045 0.070503,-0.1795075 0.070503,-0.070003 0.1795075,-0.070503 H 9.250094 q 0.1095046,0 0.1795075,0.070503 0.070003,0.070503 0.070503,0.1795075 z M 10.500146,11.406934 V 4.000625 H 3.4998543 v 7.406309 q 0,0.172007 0.054502,0.316513 0.054502,0.144506 0.1135047,0.211009 0.059003,0.0665 0.082004,0.0665 h 6.500271 q 0.0235,0 0.082,-0.0665 0.0585,-0.0665 0.113504,-0.211009 0.055,-0.144506 0.0545,-0.316513 z M 5.2499273,3.0000833 H 8.7500731 L 8.3750575,2.0860453 Q 8.3205552,2.0155423 8.2420519,2.0000417 H 5.7654487 q -0.078003,0.015501 -0.1330055,0.086004 z m 7.2503017,0.2500105 v 0.5000208 q 0,0.1095046 -0.0705,0.1795075 -0.0705,0.070003 -0.179507,0.070503 h -0.750031 v 7.4063089 q 0,0.648527 -0.367016,1.121046 Q 10.766157,13 10.250136,13 H 3.7498648 Q 3.2343433,13 2.866828,12.542981 2.4993126,12.085962 2.4998127,11.437435 V 3.999625 H 1.7497814 q -0.1095046,0 -0.1795075,-0.070503 Q 1.500271,3.8586191 1.499771,3.7496146 V 3.2495937 q 0,-0.1095045 0.070503,-0.1795074 0.070503,-0.070003 0.1795075,-0.070503 H 4.163882 L 4.7109048,1.695029 Q 4.8279097,1.4060169 5.1329224,1.2030085 5.4379351,1 5.7499481,1 H 8.2500523 Q 8.5625653,1 8.867078,1.2030085 9.1715907,1.4060169 9.2890956,1.695029 l 0.5470227,1.3045543 h 2.4141007 q 0.109504,0 0.179507,0.070503 0.07,0.070503 0.0705,0.1795074 z"/></svg></i></button>'. | ||
'</form>'. | ||
'</summary>'. | ||
'<p>'.$da.'</p>'. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.13 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
@@ -67,15 +67,15 @@ function rank($txt){ | |
'<div class="input-text"><i class="i cathandle">drag</i></div>'. | ||
'<div class="input-text">Category</div>'. | ||
'<input type="text" name="da" value="'.$t.'" placeholder="Enter a Category...">'. | ||
'<button class="save d-inline-flex" data-tooltip="tooltip" data-style="zoom-in" aria-label="Save"><i class="i">save</i></button>'. | ||
'<button class="save d-inline-flex" data-tooltip="tooltip" aria-label="Save"><i class="i">save</i></button>'. | ||
'</form>'. | ||
'<form class="d-inline-flex" target="sp" method="post" action="core/update.php">'. | ||
'<input type="hidden" name="id" value="'.$id.'">'. | ||
'<input type="hidden" name="t" value="forumCategory">'. | ||
'<input type="hidden" name="c" value="notes">'. | ||
'<div class="input-text">Description</div>'. | ||
'<input type="text" name="da" value="'.$da.'" placeholder="Enter a Description...">'. | ||
'<button class="save" data-tooltip="tooltip" data-style="zoom-in" aria-label="Save"><i class="i">save</i></button>'. | ||
'<button class="save" data-tooltip="tooltip" aria-label="Save"><i class="i">save</i></button>'. | ||
'</form>'. | ||
'<div class="input-text">'. | ||
'<form class="d-inline-flex" target="sp" method="post" action="core/toggle.php">'. | ||
|
@@ -151,15 +151,15 @@ function rank($txt){ | |
'<div class="input-text"><i class="i subhandle">drag</i></div>'. | ||
'<div class="input-text">Topic</div>'. | ||
'<input class="text-input" type="text" name="da" value="'.$t.'" placeholder="Enter a Topic...">'. | ||
'<button class="save d-inline-flex" data-tooltip="tooltip" data-style="zoom-in" aria-label="Save"><i class="i">save</i></button>'. | ||
'<button class="save d-inline-flex" data-tooltip="tooltip" aria-label="Save"><i class="i">save</i></button>'. | ||
'</form>'. | ||
'<form class="d-inline-flex" target="sp" method="post" action="core/update.php">'. | ||
'<input type="hidden" name="id" value="'.$id.'">'. | ||
'<input type="hidden" name="t" value="forumTopics">'. | ||
'<input type="hidden" name="c" value="notes">'. | ||
'<div class="input-text">Description</div>'. | ||
'<input type="text" name="da" value="'.$da.'" placeholder="Enter a Description...">'. | ||
'<button class="save d-inline-flex" data-tooltip="tooltip" data-style="zoom-in" aria-label="Save"><i class="i">save</i></button>'. | ||
'<button class="save d-inline-flex" data-tooltip="tooltip" aria-label="Save"><i class="i">save</i></button>'. | ||
'</form>'. | ||
'<div class="input-text">'. | ||
'<form class="d-inline-flex" target="sp" method="post" action="core/toggle.php">'. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.13 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
@@ -60,7 +60,7 @@ | |
'<form target="sp" action="core/purge.php">'. | ||
'<input name="id" type="hidden" value="'.$id.'">'. | ||
'<input name="t" type="hidden" value="choices">'. | ||
'<button class="purge trash" data-tooltip="tooltip" type="submit" aria-label="Delete"><i class="i">trash</i></button> <i class="i handle">drag</i>'. | ||
'<button class="purge" data-tooltip="tooltip" type="submit" aria-label="Delete"><i class="i">trash</i></button> <i class="i handle">drag</i>'. | ||
'</form>'. | ||
'</div>'. | ||
'</div>'. | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.18 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.13 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @author Dennis Suitters <[email protected]> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.19 | ||
* @version 0.2.23 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
|
@@ -49,16 +49,16 @@ | |
else | ||
$thumb=ADMINNOIMAGE; | ||
echo'<script>'. | ||
'window.top.window.$("#mi").append(`<div id="mi_'.$iid.'" class="card stats col-6 swing-in-top-fwd">'. | ||
'<div class="btn-group float-right">'. | ||
'<div class="handle btn" data-tooltip="tooltip" aria-label="Drag to ReOrder this item" onclick="return false;"><i class="i">drag</i></div>'. | ||
'<div class="btn" data-tooltip="tooltip" aria-label="Viewed 0 times"><i class="i">view</i> 0</div>'. | ||
'<a class="btn" href="'.URL.$settings['system']['admin'].'/media/edit/'.$iid.'"><i class="i">edit</i></a>'. | ||
'window.top.window.$("#mi").append(`<div id="mi_'.$iid.'" class="card stats gallery col-12 col-sm-3 m-0 border-0">'. | ||
'<a class="card bg-dark m-0" data-fancybox="media" data-caption="" href="'.$file.'">'. | ||
'<img src="'.$file.'" alt="Media '.$iid.'">'. | ||
'</a>'. | ||
'<div class="btn-group tools">'. | ||
'<div class="btn" data-tooltip="right" aria-label="0 views"><small>0</small></div>'. | ||
'<a href="'.URL.$settings['system']['admin'].'/media/edit/'.$iid.'" role="button"><i class="i">edit</i></a>'. | ||
'<button class="trash" data-tooltip="tooltip" aria-label="Delete" onclick="purge(\''.$iid.'\',\'media\');"><i class="i">trash</i></button>'. | ||
'<div class="btn handle" data-tooltip="left" aria-label="Drag to Reorder" onclick="return false;"><i class="i">drag</i></div>'. | ||
'</div>'. | ||
'<a class="card bg-dark m-0" data-fancybox="media" data-caption="" href="'.$file.'" style="display:flex;max-height:150px;">'. | ||
'<img src="'.$file.'" alt="Media '.$iid.'" style="object-fit:cover;object-position:center;">'. | ||
'</a>'. | ||
'</div>`);'. | ||
'window.top.window.$().fancybox({selector:`[data-fancybox="media"]`});'. | ||
'</script>'; | ||
|
Oops, something went wrong.