Fix #14 - show installation dialog on 404 page if config not found

This commit is contained in:
Vojtěch Sajdl
2018-01-18 22:57:12 +01:00
parent fe02441c3d
commit 696b205b68
13 changed files with 106 additions and 93 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ if (isset($message)){
<?php if ($user->get_rank() <= 1){?>
<form action="?do=settings&amp;new=service" method="post">
<div class="input-group pull-right new-service">
<input class="form-control" name="service" placeholder="Name" type="text" value="<?php echo ((isset($_POST['service']))?htmlspecialchars($_POST['service']):''); ?>" maxlength="50" required>
<input class="form-control" name="service" placeholder="Name" type="text" value="<?php echo ((isset($_POST['service']))?htmlspecialchars($_POST['service']):''); ?>" maxlength="50" require_onced>
<span class="input-group-btn">
<button type="submit" class="btn btn-success pull-right"><?php echo _("Add service");?></button>
</span>