Don't show search box on error when embedded

This commit is contained in:
Skylar Ittner 2020-04-07 15:44:31 -06:00
parent dca0090d8a
commit 54a23f8417

View File

@ -52,6 +52,7 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_
<?php
}
?>
<?php if (!isset($_GET["embed"])) { ?>
<p>
Enter a Netsyms machine ID number or serial number.
</p>
@ -59,6 +60,7 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_
<input type="text" name="id" class="form-control" placeholder="Machine ID Number" required />
<button type="submit" class="btn btn-primary btn-block mt-2">Get Info</button>
</form>
<?php } ?>
</div>
</div>
<?php