Update apps.php (#3314)
This commit is contained in:
committed by
FusionPBX
parent
fd5a5ee14e
commit
092d0c1b49
+8
-8
@@ -97,13 +97,13 @@
|
|||||||
$row['$description'] = $description;
|
$row['$description'] = $description;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
$tr_link = (permission_exists('app_edit')) ? "href='apps_edit.php?id=".$row['uuid']."'" : null;
|
$tr_link = (permission_exists('app_edit')) ? "href='apps_edit.php?id=".escape($row['uuid'])."'" : null;
|
||||||
*/
|
*/
|
||||||
echo "<tr ".$tr_link.">\n";
|
echo "<tr ".$tr_link.">\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."' nowrap='nowrap'>";
|
echo " <td valign='top' class='".$row_style[$c]."' nowrap='nowrap'>";
|
||||||
/*
|
/*
|
||||||
if (permission_exists('app_edit')) {
|
if (permission_exists('app_edit')) {
|
||||||
echo " <a href='apps_edit.php?id=".$row['uuid']."'>".$row['name']."</a>";
|
echo " <a href='apps_edit.php?id=".escape($row['uuid'])."'>".escape($row['name'])."</a>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
*/
|
*/
|
||||||
@@ -112,17 +112,17 @@
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['category']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['category'])." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['subcategory']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['subcategory'])." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['version']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".escape($row['version'])." </td>\n";
|
||||||
echo " <td valign='top' class='row_stylebg' width='35%'>".$row['$description']."</td>\n";
|
echo " <td valign='top' class='row_stylebg' width='35%'>".escape($row['$description'])."</td>\n";
|
||||||
/* // temporarily disabled
|
/* // temporarily disabled
|
||||||
echo " <td class='list_control_icons'>";
|
echo " <td class='list_control_icons'>";
|
||||||
if (permission_exists('app_edit')) {
|
if (permission_exists('app_edit')) {
|
||||||
echo " <a href='apps_edit.php?id=".$row['uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
|
echo " <a href='apps_edit.php?id=".escape($row['uuid'])."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
|
||||||
}
|
}
|
||||||
if (permission_exists('app_delete')) {
|
if (permission_exists('app_delete')) {
|
||||||
echo " <a href='apps_delete.php?id=".$row['uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
|
echo " <a href='apps_delete.php?id=".escape($row['uuid'])."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
|
||||||
}
|
}
|
||||||
echo " </td>\n";
|
echo " </td>\n";
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user