mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-28 14:23:11 +00:00
Fixingn'
This commit is contained in:
parent
073c71dfe4
commit
b54fdbf81e
2 changed files with 5 additions and 14 deletions
14
image.php
14
image.php
|
@ -97,17 +97,6 @@ if (isset($image['author'])) {
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
Test flyout button
|
||||
*/
|
||||
if (isset($_POST['test_flyout'])) {
|
||||
$header = "Sus";
|
||||
$content = "This is a test UwU. You are currently viewing image: ".$_GET['id'];
|
||||
$action = "<a class='btn alert-high'>This button does nothing!</a> <a class='btn alert-low space-top-small'>I'm another button, but scawwy</a>";
|
||||
|
||||
flyout($header, $content, $action);
|
||||
}
|
||||
|
||||
/*
|
||||
Delete flyout
|
||||
|
||||
|
@ -337,9 +326,6 @@ if (isset($image['author'])) {
|
|||
|
||||
// Flyout test button
|
||||
?>
|
||||
<form method='POST'>
|
||||
<button class='btn alert-high space-top-small flyout-display' type='submit' name='test_flyout'>Test button</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="tags-root default-window">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue