mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use nicecase on device apps page
Add powerdns-recursor Indentation
This commit is contained in:
@@ -50,7 +50,8 @@ function data_uri($file, $mime) {
|
||||
}//end data_uri()
|
||||
|
||||
|
||||
function nicecase($item) {
|
||||
function nicecase($item)
|
||||
{
|
||||
switch ($item) {
|
||||
case 'dbm':
|
||||
return 'dBm';
|
||||
@@ -73,6 +74,9 @@ function nicecase($item) {
|
||||
case 'os-updates':
|
||||
return 'OS Updates';
|
||||
|
||||
case 'powerdns-recursor':
|
||||
return 'PowerDNS Recursor';
|
||||
|
||||
default:
|
||||
return ucfirst($item);
|
||||
}
|
||||
|
@@ -80,7 +80,7 @@ foreach ($applications as $app) {
|
||||
echo ' <td>';
|
||||
echo ' <input type=checkbox'.(in_array($app, $app_enabled) ? ' checked="1"' : '')." name='app_".$app."'>";
|
||||
echo ' </td>';
|
||||
echo ' <td>'.ucfirst($app).'</td>';
|
||||
echo ' <td>'.nicecase($app).'</td>';
|
||||
echo ' </tr>
|
||||
';
|
||||
|
||||
|
Reference in New Issue
Block a user