mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now. Fixed all errors, left most warnings.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<?php
|
||||
if( $config['twofactor'] && isset($twofactorform) ) {
|
||||
echo twofactor_form();
|
||||
}
|
||||
else {
|
||||
if ($config['twofactor'] && isset($twofactorform)) {
|
||||
echo twofactor_form();
|
||||
} else {
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col-md-offset-4 col-md-4">
|
||||
@@ -53,13 +52,13 @@ else {
|
||||
// -->
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
<?php
|
||||
if (isset($config['login_message'])) {
|
||||
echo('<div class="panel-footer"><center>'.$config['login_message'].'</center></div>');
|
||||
echo('<div class="panel-footer"><center>'.$config['login_message'].'</center></div>');
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user