Fix Froups not displaying correct time and other

This commit is contained in:
Michał Gdula 2022-10-20 15:17:24 +00:00
parent 436a49e3ed
commit 3b24876900
9 changed files with 100 additions and 15 deletions

View file

@ -1,5 +1,5 @@
{
"license": "GPL 3.0",
"version": "22.10.19",
"version": "22.10.20",
"branch": "main"
}

View file

@ -113,10 +113,13 @@ if (isset($_POST['submit_description'])) {
// Attempt to execute the prepared statement
if (mysqli_stmt_execute($stmt)) {
$_SESSION['msg'] = "Description has been updated successfully!";
?>
<script>
sniffleAdd('Success!!!', 'Description has been updated successfully! You may need to refresh the page to see the new information.', 'var(--success)', 'assets/icons/check.svg');
flyoutClose();
setTimeout(function(){
location.reload();
}, 500);
</script>
<?php
} else {
@ -174,10 +177,13 @@ if (isset($_POST['submit_tags'])) {
// Attempt to execute the prepared statement
if (mysqli_stmt_execute($stmt)) {
$_SESSION['msg'] = "Tags have been modified successfully!";
?>
<script>
sniffleAdd('Success!!!', 'Tags have been modified successfully! You may need to refresh the page to see the new information.', 'var(--success)', 'assets/icons/check.svg');
flyoutClose();
setTimeout(function(){
location.reload();
}, 500);
</script>
<?php
} else {
@ -230,10 +236,13 @@ if (isset($_POST['submit_author'])) {
// Attempt to execute the prepared statement
if (mysqli_stmt_execute($stmt)) {
$_SESSION['msg'] = "The Author has been updated successfully!";
?>
<script>
sniffleAdd('Success!!!', 'The Author has been updated successfully! You may need to refresh the page to see the new information.', 'var(--success)', 'assets/icons/check.svg');
flyoutClose();
setTimeout(function(){
location.reload();
}, 500);
</script>
<?php
} else {