Skip to content

Commit

Permalink
fixed GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Nov 3, 2023
1 parent be960b0 commit ec89662
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions files/gui/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@
<div class="cut cut-long"></div>
<form target="hiddenFrame" action="/scan.php" method="post">
<?php
if (isset($DISABLE_GUI_SCANTOFILE) && $DISABLE_GUI_SCANTOFILE != true) {
if (!isset($DISABLE_GUI_SCANTOFILE) || $DISABLE_GUI_SCANTOFILE != true) {
echo('<button type="submit" name="target" value="file" class="submit">'.$button_file.'</button>');
}
if (isset($DISABLE_GUI_SCANTOEMAIL) && $DISABLE_GUI_SCANTOEMAIL != true) {
if (!isset($DISABLE_GUI_SCANTOEMAIL) || $DISABLE_GUI_SCANTOEMAIL != true) {
echo('<button type="submit" name="target" value="email" class="submit">'.$button_email.'</button>');
}
if (isset($DISABLE_GUI_SCANTOIMAGE) && $DISABLE_GUI_SCANTOIMAGE != true) {
if (!isset($DISABLE_GUI_SCANTOIMAGE) || $DISABLE_GUI_SCANTOIMAGE != true) {
echo('<button type="submit" name="target" value="image" class="submit">'.$button_image.'</button>');
}
if (isset($DISABLE_GUI_SCANTOOCR) && $DISABLE_GUI_SCANTOOCR != true) {
if (!isset($DISABLE_GUI_SCANTOOCR) || $DISABLE_GUI_SCANTOOCR != true) {
echo('<button type="submit" name="target" value="ocr" class="submit">'.$button_ocr.'</button>');
}
?>
Expand Down

0 comments on commit ec89662

Please sign in to comment.