more nicecase()

git-svn-id: http://www.observium.org/svn/observer/trunk@3137 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2012-05-06 19:46:39 +00:00
parent 30a72b081a
commit ff6a049324

View File

@ -24,7 +24,7 @@ foreach (dbFetchRows("SELECT * FROM `applications` WHERE `device_id` = ?", array
#echo('<img src="images/icons/greyscale/'.$app['app_type'].'.png" class="optionicon" />');
}
$link_add = array('app'=>$app['app_type']);
$text = ucfirst($app['app_type']);
$text = nicecase($app['app_type']);
if (!empty($app['app_instance']))
{
$text .= "(".$app['app_instance'].")";
@ -46,8 +46,6 @@ if($vars['instance'])
$app = dbFetchRow("SELECT * FROM `applications` WHERE `device_id` = ? AND `app_type` = ?".$where, $where_array);
#print_r($app);
if (is_file("pages/device/apps/".mres($vars['app']).".inc.php"))
{
include("pages/device/apps/".mres($vars['app']).".inc.php");