Report updates, language fixes.
This commit is contained in:
22
users.php
22
users.php
@@ -143,7 +143,7 @@
|
||||
<div class="form-row">
|
||||
<div class="col input-group">
|
||||
<div class="input-group-text">
|
||||
<span class="input-group-text" id="username"><?php echo $transLang['SITE']; ?></span>
|
||||
<span class="input-group-text" id="username"><?php echo $transLang['STR_COMMON_SITE']; ?></span>
|
||||
</div>
|
||||
<select id="sitepermissions" name="sitepermissions[]" class="form-select" multiple size="5">
|
||||
<?php foreach($SiteInfo->listSite("0", "0") as $row): ?>
|
||||
@@ -155,7 +155,7 @@
|
||||
<div class="form-row">
|
||||
<div class="col input-group">
|
||||
<input type="hidden" id="edituserid" name="edituserid" value="<?php echo $edituser["0"]["users_id"]; ?>" />
|
||||
<button type="submit" class="form-control btn btn-block btn-success" value="Submit" name="editusercomplete"><i class="fas fa-save"></i> <?php echo $transLang['SAVE']; ?></button>
|
||||
<button type="submit" class="form-control btn btn-block btn-success" value="Submit" name="editusercomplete"><i class="fas fa-save"></i> <?php echo $transLang['STR_COMMON_SAVE']; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
@@ -296,7 +296,7 @@ if (0 === $row_count): else: $page_count = (int)ceil($row_count / $StaticFunctio
|
||||
<button type="button" class="btn btn-block btn-lg btn-success" data-bs-toggle="modal" data-bs-target="#addUserModal"><?php echo $transLang['ADD_USER']; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo '<ul class="pagination pagination-sm"><li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">' . $transLang['PAGE'] . '</a></li>'; for ($i = 1; $i <= $page_count; $i++): echo '<li class="page-item'; if ($i === $page_num): echo ' active'; else: echo ' '; endif; echo '"><a class="page-link" href="' . $_SERVER['PHP_SELF'] . '?pnum=' . $i . '">' . $i . '</a></li>'; endfor; echo '</ul>'; ?>
|
||||
<?php echo '<ul class="pagination pagination-sm"><li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">' . $transLang['STR_COMMON_PAGE'] . '</a></li>'; for ($i = 1; $i <= $page_count; $i++): echo '<li class="page-item'; if ($i === $page_num): echo ' active'; else: echo ' '; endif; echo '"><a class="page-link" href="' . $_SERVER['PHP_SELF'] . '?pnum=' . $i . '">' . $i . '</a></li>'; endfor; echo '</ul>'; ?>
|
||||
<table class="table">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
@@ -392,7 +392,7 @@ if (0 === $row_count): else: $page_count = (int)ceil($row_count / $StaticFunctio
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<select class="form-select" id="usertype" aria-label="<?php echo $transLang['ACCESS_LEVEL']; ?>" name="usertype" required>
|
||||
<option value="" selected><?php echo $transLang['CHOOSE']; ?> <?php echo $transLang['ACCESS_LEVEL']; ?></option><?php foreach($Users->readUserTypeByUserTypeID("%") as $row): ?>
|
||||
<option value="" selected><?php echo $transLang['STR_COMMON_CHOOSE']; ?> <?php echo $transLang['ACCESS_LEVEL']; ?></option><?php foreach($Users->readUserTypeByUserTypeID("%") as $row): ?>
|
||||
<option value="<?php echo $row['usertypes_id']; ?>"><?php echo $transLang[$row['usertypes_name']]; ?></option><?php endforeach; ?>
|
||||
</select>
|
||||
</div>
|
||||
@@ -444,17 +444,17 @@ if (0 === $row_count1): else: $page_count1 = (int)ceil($row_count1 / $StaticFunc
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<h2><?php echo $app_current_pageicon . $transLang['SITE']; ?></h2>
|
||||
<h2><?php echo $app_current_pageicon . $transLang['STR_COMMON_SITE']; ?></h2>
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<button type="button" class="btn btn-success btn-lg" data-bs-toggle="modal" data-bs-target="#addSiteModal"><?php echo $transLang['ADD_SITE']; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo '<ul class="pagination pagination-sm"><li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">' . $transLang['PAGE'] . '</a></li>'; for ($i1 = 1; $i1 <= $page_count1; $i1++): echo '<li class="page-item'; if ($i1 === $page_num1): echo ' active'; else: echo ' '; endif; echo '"><a class="page-link" href="' . $_SERVER['PHP_SELF'] . '?pnum1=' . $i1 . '">' . $i1 . '</a></li>'; endfor; echo '</ul>'; ?>
|
||||
<?php echo '<ul class="pagination pagination-sm"><li class="page-item disabled"><a class="page-link" href="#" tabindex="-1">' . $transLang['STR_COMMON_PAGE'] . '</a></li>'; for ($i1 = 1; $i1 <= $page_count1; $i1++): echo '<li class="page-item'; if ($i1 === $page_num1): echo ' active'; else: echo ' '; endif; echo '"><a class="page-link" href="' . $_SERVER['PHP_SELF'] . '?pnum1=' . $i1 . '">' . $i1 . '</a></li>'; endfor; echo '</ul>'; ?>
|
||||
<table class="table">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th><?php echo $transLang['NAME']; ?></th><th><?php echo $transLang['TIMEZONE']; ?></th><th><?php echo $transLang['REGION']; ?></th><th><?php echo $transLang['ACTIONS']; ?></th>
|
||||
<th><?php echo $transLang['NAME']; ?></th><th><?php echo $transLang['STR_COMMON_TIMEZONE']; ?></th><th><?php echo $transLang['STR_COMMON_REGION']; ?></th><th><?php echo $transLang['ACTIONS']; ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -495,9 +495,9 @@ if (0 === $row_count1): else: $page_count1 = (int)ceil($row_count1 / $StaticFunc
|
||||
<div class="row row-cols-1">
|
||||
<div class="col d-grid gap-2">
|
||||
<div class="input-group input-group-sm mb-0">
|
||||
<span class="input-group-text"><?php echo $transLang['TIMEZONE']; ?></span>
|
||||
<span class="input-group-text"><?php echo $transLang['STR_COMMON_TIMEZONE']; ?></span>
|
||||
<select class="form-control" id="timezone" name="timezone" required>
|
||||
<option value=""><?php echo $transLang['TIMEZONE']; ?></option>
|
||||
<option value=""><?php echo $transLang['STR_COMMON_TIMEZONE']; ?></option>
|
||||
<?php foreach(DateTimeZone::listIdentifiers(DateTimeZone::ALL) as $row2) { ?>
|
||||
<option><?php echo $row2; ?></option>
|
||||
<?php }; ?>
|
||||
@@ -510,7 +510,7 @@ if (0 === $row_count1): else: $page_count1 = (int)ceil($row_count1 / $StaticFunc
|
||||
<div class="input-group input-group-sm mb-0">
|
||||
<span class="input-group-text"><?php echo $transLang['NAME']; ?></span>
|
||||
<select class="form-control" id="region" name="region" required>
|
||||
<option value=""><?php echo $transLang['REGION']; ?></option>
|
||||
<option value=""><?php echo $transLang['STR_COMMON_REGION']; ?></option>
|
||||
<option>CAN</option>
|
||||
<option>EMEA</option>
|
||||
<option>US</option>
|
||||
@@ -520,7 +520,7 @@ if (0 === $row_count1): else: $page_count1 = (int)ceil($row_count1 / $StaticFunc
|
||||
</div>
|
||||
<div class="row row-cols-1">
|
||||
<div class="col d-grid gap-2">
|
||||
<button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal"><i class="fas fa-ban"></i> <?php echo $transLang['CANCEL']; ?></button>
|
||||
<button type="button" class="btn btn-secondary btn-sm" data-dismiss="modal"><i class="fas fa-ban"></i> <?php echo $transLang['STR_COMMON_CANCEL']; ?></button>
|
||||
<button type="submit" class="btn btn-success btn-sm" value="Submit" name="newsite"><i class="fas fa-user-plus"></i> <?php echo $transLang['ADD_SITE']; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user