mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update php-codesniffer (#11368)
* PHPCS 3.5+ * Fix newly detected style issues
This commit is contained in:
@@ -46,7 +46,7 @@ if (!Auth::user()->hasGlobalAdmin()) {
|
||||
<div class='col-sm-6'>
|
||||
</div>
|
||||
</div>";
|
||||
?>
|
||||
?>
|
||||
<div class='form-group'>
|
||||
<label for='new_password' class='col-sm-2 control-label'>Password</label>
|
||||
<div class='col-sm-4'>
|
||||
@@ -56,14 +56,14 @@ if (!Auth::user()->hasGlobalAdmin()) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ($_POST['action'] == 'add' && !$_POST['new_password']) {
|
||||
echo '<span class=red>Please enter a password!</span><br />';
|
||||
}
|
||||
<?php
|
||||
if ($_POST['action'] == 'add' && !$_POST['new_password']) {
|
||||
echo '<span class=red>Please enter a password!</span><br />';
|
||||
}
|
||||
|
||||
echo "
|
||||
echo "
|
||||
<div class='form-group'>";
|
||||
echo "<label for='new_realname' class='col-sm-2 control-label'>Realname</label>
|
||||
echo "<label for='new_realname' class='col-sm-2 control-label'>Realname</label>
|
||||
<div class='col-sm-4'>
|
||||
<input name='new_realname' class='form-control input-sm'>
|
||||
</div>
|
||||
@@ -98,7 +98,7 @@ if (!Auth::user()->hasGlobalAdmin()) {
|
||||
<div class='col-sm-6'>
|
||||
</div>
|
||||
</div>";
|
||||
echo "<div class='form-group'>
|
||||
echo "<div class='form-group'>
|
||||
<div class='col-sm-6'>
|
||||
|
||||
</div>
|
||||
@@ -106,7 +106,7 @@ if (!Auth::user()->hasGlobalAdmin()) {
|
||||
</div>
|
||||
</div>";
|
||||
|
||||
echo '</form>';
|
||||
echo '</form>';
|
||||
} else {
|
||||
echo '<span class="red">Auth module does not allow user management!</span><br />';
|
||||
}//end if
|
||||
|
Reference in New Issue
Block a user