mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-25 12:54:54 +00:00
Updating naming of alert variables
This commit is contained in:
parent
e4c59ba7f0
commit
0e23bfffb6
12 changed files with 147 additions and 109 deletions
|
@ -14,7 +14,7 @@
|
|||
if (isset($_SESSION['del'])) {
|
||||
?>
|
||||
<script>
|
||||
sniffleAdd("Image Deleted", "Successfully deleted image: <?php echo $_SESSION['del']; ?>", "var(--green)", "assets/icons/trash.svg");
|
||||
sniffleAdd("Image Deleted", "Successfully deleted image: <?php echo $_SESSION['del']; ?>", "var(--success)", "assets/icons/trash.svg");
|
||||
</script>
|
||||
<?php
|
||||
unset($_SESSION['del']);
|
||||
|
@ -22,7 +22,7 @@
|
|||
if (isset($_SESSION['welc'])) {
|
||||
?>
|
||||
<script>
|
||||
sniffleAdd('O hi <?php echo $_SESSION["username"]; ?>', 'You are now logged in, enjoy your stay!', 'var(--green)', 'assets/icons/hand-waving.svg');
|
||||
sniffleAdd('O hi <?php echo $_SESSION["username"]; ?>', 'You are now logged in, enjoy your stay!', 'var(--success)', 'assets/icons/hand-waving.svg');
|
||||
</script>
|
||||
<?php
|
||||
unset($_SESSION['welc']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue