release 1.3.7

This commit is contained in:
Newcomer1989
2020-02-15 18:55:28 +01:00
parent 49bf90fb18
commit f7dcb8faef
56 changed files with 2889 additions and 1479 deletions

View File

@@ -113,6 +113,13 @@ if (isset($_POST['update']) && isset($db_csrf[$_POST['csrf_token']])) {
<input type="hidden" name="csrf_token" value="<?PHP echo $csrf_token; ?>">
<div class="form-horizontal">
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label class="col-sm-12 pointer" data-toggle="modal" data-target="#setontimedesc"><?php echo $lang['wihladm0']; ?><i class="help-hover fas fa-question-circle"></i></label>
<div class="panel-body">
</div>
</div>
</div>
<div class="col-md-3">
</div>
<div class="col-md-6">
@@ -123,8 +130,8 @@ if (isset($_POST['update']) && isset($db_csrf[$_POST['csrf_token']])) {
<div class="col-sm-8 pull-right">
<select class="selectpicker show-tick form-control" id="number" name="number" onchange="this.form.submit();">
<?PHP
echo '<option value="yes"'; if(!isset($_SESSION[$rspathhex.'showexcepted']) || $_SESSION[$rspathhex.'showexcepted'] == "yes") echo " selected=selected"; echo '>hide</option>';
echo '<option value="no"'; if(isset($_SESSION[$rspathhex.'showexcepted']) && $_SESSION[$rspathhex.'showexcepted'] == "no") echo " selected=selected"; echo '>show</option>';
echo '<option data-icon="fas fa-eye-slash" value="yes"'; if(!isset($_SESSION[$rspathhex.'showexcepted']) || $_SESSION[$rspathhex.'showexcepted'] == "yes") echo " selected=selected"; echo '>&nbsp;hide</option>';
echo '<option data-icon="fas fa-eye" value="no"'; if(isset($_SESSION[$rspathhex.'showexcepted']) && $_SESSION[$rspathhex.'showexcepted'] == "no") echo " selected=selected"; echo '>&nbsp;show</option>';
?>
</select>
</div>
@@ -132,7 +139,7 @@ if (isset($_POST['update']) && isset($db_csrf[$_POST['csrf_token']])) {
<div class="form-group">
<label class="col-sm-4 control-label" data-toggle="modal" data-target="#wiselclddesc"><?php echo $lang['wiselcld']; ?><i class="help-hover fas fa-question-circle"></i></label>
<div class="col-sm-8">
<select class="selectpicker show-tick form-control" data-live-search="true" multiple name="user[]">
<select class="selectpicker show-tick form-control" data-actions-box="true" data-live-search="true" multiple name="user[]">
<?PHP
foreach ($user_arr as $user) {
echo '<option value="',$user['uuid'],'" data-subtext="UUID: ',$user['uuid'],'; DBID: ',$user['cldbid'],'">',htmlspecialchars($user['name']),'</option>';
@@ -148,7 +155,7 @@ if (isset($_POST['update']) && isset($db_csrf[$_POST['csrf_token']])) {
<script>
$("input[name='setontime_day']").TouchSpin({
min: 0,
max: 24855,
max: 11574,
verticalbuttons: true,
prefix: '<?PHP echo $lang['time_day']; ?>'
});
@@ -162,7 +169,7 @@ if (isset($_POST['update']) && isset($db_csrf[$_POST['csrf_token']])) {
<script>
$("input[name='setontime_hour']").TouchSpin({
min: 0,
max: 23,
max: 277777,
verticalbuttons: true,
prefix: '<?PHP echo $lang['time_hour']; ?>'
});
@@ -176,7 +183,7 @@ if (isset($_POST['update']) && isset($db_csrf[$_POST['csrf_token']])) {
<script>
$("input[name='setontime_min']").TouchSpin({
min: 0,
max: 59,
max: 16666666,
verticalbuttons: true,
prefix: '<?PHP echo $lang['time_min']; ?>'
});
@@ -190,7 +197,7 @@ if (isset($_POST['update']) && isset($db_csrf[$_POST['csrf_token']])) {
<script>
$("input[name='setontime_sec']").TouchSpin({
min: 0,
max: 59,
max: 999999999,
verticalbuttons: true,
prefix: '<?PHP echo $lang['time_sec']; ?>'
});
@@ -204,7 +211,7 @@ if (isset($_POST['update']) && isset($db_csrf[$_POST['csrf_token']])) {
<div class="row">&nbsp;</div>
<div class="row">
<div class="text-center">
<button type="submit" class="btn btn-primary" name="update"><?php echo $lang['wisvconf']; ?></button>
<button type="submit" class="btn btn-primary" name="update"><i class="fas fa-save"></i>&nbsp;<?php echo $lang['wisvconf']; ?></button>
</div>
</div>
<div class="row">&nbsp;</div>