mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-24 16:23:09 +02:00
Fix coding style part 2
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
<?php
|
||||
|
||||
echo('Well done, the plugin system is up and running');
|
||||
|
||||
?>
|
||||
echo 'Well done, the plugin system is up and running';
|
||||
|
||||
+13
-12
@@ -1,17 +1,18 @@
|
||||
<?php
|
||||
|
||||
class Test {
|
||||
public function menu() {
|
||||
echo('<li><a href="plugin/p='.get_class().'">'.get_class().'</a></li>');
|
||||
}
|
||||
|
||||
/*
|
||||
public function device_overview_container($device) {
|
||||
echo('<div class="container-fluid"><div class="row"> <div class="col-md-12"> <div class="panel panel-default panel-condensed"> <div class="panel-heading"><strong>'.get_class().' Plugin </strong> </div>');
|
||||
echo(' Example plugin in "Device - Overview" tab <br>');
|
||||
echo('</div></div></div></div>');
|
||||
}
|
||||
*/
|
||||
public function menu() {
|
||||
echo '<li><a href="plugin/p='.get_class().'">'.get_class().'</a></li>';
|
||||
|
||||
}//end menu()
|
||||
|
||||
|
||||
/*
|
||||
public function device_overview_container($device) {
|
||||
echo('<div class="container-fluid"><div class="row"> <div class="col-md-12"> <div class="panel panel-default panel-condensed"> <div class="panel-heading"><strong>'.get_class().' Plugin </strong> </div>');
|
||||
echo(' Example plugin in "Device - Overview" tab <br>');
|
||||
echo('</div></div></div></div>');
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user