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:
@@ -11,7 +11,7 @@
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
if (defined('show_settings')) {
|
||||
if (defined('SHOW_SETTINGS')) {
|
||||
$current_mode = isset($widget_settings['mode']) ? $widget_settings['mode'] : 0;
|
||||
$current_width = isset($widget_settings['tile_width']) ? $widget_settings['tile_width'] : 10;
|
||||
|
||||
@@ -98,7 +98,6 @@ if (defined('show_settings')) {
|
||||
<label class="label '.$deviceLabel.' widget-availability label-font-border">'.$deviceState.'</label>
|
||||
</a>';
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -186,4 +185,4 @@ if (defined('show_settings')) {
|
||||
$temp_header[] = '<br style="clear:both;">';
|
||||
|
||||
$common_output = array_merge($temp_header, $temp_output);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user