mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Enhance - Display application descriptions in native (#2629)
Where application description is availible in the session language, display it, if not fall back to en-us then
This commit is contained in:
@@ -102,7 +102,12 @@ require_once "resources/paging.php";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['category']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['subcategory']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['version']." </td>\n";
|
||||
echo " <td valign='top' class='row_stylebg' width='35%'>".$row['description']['en-us']." </td>\n";
|
||||
$description = $row['description'][$_SESSION['domain']['language']['code']];
|
||||
if(strlen($description) == 0)
|
||||
$description = $row['description']['en-us'];
|
||||
if(strlen($description) == 0)
|
||||
$description = ' '
|
||||
echo " <td valign='top' class='row_stylebg' width='35%'>$description</td>\n";
|
||||
/* // temporarily disabled
|
||||
echo " <td class='list_control_icons'>";
|
||||
if (permission_exists('app_edit')) {
|
||||
|
||||
Reference in New Issue
Block a user