-
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.
- Fix style variables that were missing, and make improvements. - Improve visibilty and functionality of quiededit/quickview content dropdowns. - Improve Gallery & Content Media items, can now view thumbnails via click replacement of main image, or use modal viewer. - Add Jumpbar for content lists to quickly find content alphabetically. - Fix the content category navigation menu not display all categories. - Fix Banners not being displayed if Heading is empty. - Adjust content type display for content and dropdown content selection in Administration. - Add ability to add listed items to Articles. - Quickview on front end for cyclying through list. - Fix display and responsivness for quickview products. - Fix display layout of Messages in Administration. - Add feature to add login background images. - Update jQuery for Administration. - Adjust Administration styling for better visuals. - Update Summernote-Cleaner. - Improve Livechat Administration interface, add a filter field for finding chats.
- Loading branch information
Dennis Suitters
committed
Jun 6, 2023
1 parent
d40a10e
commit 4a84617
Showing
350 changed files
with
1,796 additions
and
1,319 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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?php | ||
/** | ||
* AuroraCMS - Copyright (C) Diemen Design 2019 | ||
* | ||
* @category Administration - Core - Add Login Images | ||
* @package core/add_loginimages.php | ||
* @author Dennis Suitters <dennis@diemen.design> | ||
* @copyright 2014-2019 Diemen Design | ||
* @license http://opensource.org/licenses/MIT MIT License | ||
* @version 0.2.24 | ||
* @link https://github.com/DiemenDesign/AuroraCMS | ||
* @notes This PHP Script is designed to be executed using PHP 7+ | ||
*/ | ||
if(session_status()==PHP_SESSION_NONE)session_start(); | ||
require'db.php'; | ||
$lit=filter_input(INPUT_POST,'lit',FILTER_UNSAFE_RAW); // Image Title | ||
$li=filter_input(INPUT_POST,'li',FILTER_UNSAFE_RAW); // Image URL | ||
$lia=filter_input(INPUT_POST,'lia',FILTER_UNSAFE_RAW); // Author Name | ||
$liau=filter_input(INPUT_POST,'liau',FILTER_UNSAFE_RAW); // Author URL | ||
$lis=filter_input(INPUT_POST,'lis',FILTER_UNSAFE_RAW); // Service | ||
$lisu=filter_input(INPUT_POST,'lisu',FILTER_UNSAFE_RAW); // Service URL | ||
if($li=='')echo'<script>window.top.window.toastr["error"]("The Image field must contain data!");</script>'; | ||
else{ | ||
$layout=($liau!=''?'Photo by <a href="'.$liau.'">'.$lia.'</a> on <a href="'.$lisu.'">'.$lis.'</a>':''); | ||
$q=$db->prepare("INSERT IGNORE INTO `".$prefix."widgets` (`ref`,`title`,`file`,`layout`) VALUES ('loginimage',:title,:file,:layout)"); | ||
$q->execute([ | ||
':title'=>$lit, | ||
':file'=>$li, | ||
':layout'=>$layout | ||
]); | ||
$id=$db->lastInsertId(); | ||
$e=$db->errorInfo(); | ||
if(is_null($e[2])){ | ||
$s=$db->prepare("UPDATE `".$prefix."widgets` SET `ord`=:id WHERE `id`=:id"); | ||
$s->execute([':id'=>$id]); | ||
echo'<script>'. | ||
'window.top.window.$("#loginimages").append(`<div id="li_'.$id.'" class="card stats gallery col-12 col-sm-3 m-0 border-0">'. | ||
'<a data-fancybox="loginimage" href="'.$li.'"><img src="'.$li.'" alt="'.$lit.'"></a>'. | ||
'<div class="btn-group tools">'. | ||
'<form class="d-inline" target="sp" action="core/purge.php">'. | ||
'<input name="id" type="hidden" value="'.$id.'">'. | ||
'<input name="t" type="hidden" value="widgets">'. | ||
'<button class="trash" data-tooltip="right" aria-label="Delete"><i class="i">trash</i></button>'. | ||
'</form>'. | ||
'<div class="btn handle" data-tooltip="left" aria-label="Drag to Reorder"><i class="i">drag</i></div>'. | ||
'</div>'. | ||
'</div>`);'. | ||
'</script>'; | ||
}else echo'<script>window.top.window.toastr["error"]("There was an issue adding the Data!");</script>'; | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.