Update user_dashboard.php

Add an inline if statement to the user dashboard.
This commit is contained in:
FusionPBX 2016-04-22 13:43:02 -06:00
parent 386dcb0521
commit 6a1a208864
1 changed files with 2 additions and 2 deletions

View File

@ -957,7 +957,7 @@
//pbx version
$hud[$n]['html'] .= "<tr class='tr_link_void'>\n";
$hud[$n]['html'] .= "<td valign='top' class='".$row_style[$c]." hud_text'>FusionPBX</td>\n";
$hud[$n]['html'] .= "<td valign='top' class='".$row_style[$c]." hud_text'>".(isset($_SESSION['theme']['title']['text'])?$_SESSION['theme']['title']['text']:'FusionPBX')."</td>\n";
$hud[$n]['html'] .= "<td valign='top' class='".$row_style[$c]." hud_text' style='text-align: right;'>".software_version()."</td>\n";
$hud[$n]['html'] .= "</tr>\n";
$c = ($c) ? 0 : 1;
@ -1216,4 +1216,4 @@ if (!is_array($selected_blocks) || in_array('call_routing', $selected_blocks) ||
//show the footer
require_once "resources/footer.php";
?>
?>