Call broadcast - Add caller ID permission (#5296)
* Update call_broadcast_edit.php * Update app_config.php
This commit is contained in:
parent
b65c8cd68b
commit
8cc421c6c9
|
|
@ -44,6 +44,10 @@
|
||||||
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
||||||
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||||
$y++;
|
$y++;
|
||||||
|
$apps[$x]['permissions'][$y]['name'] = "call_broadcast_caller_id";
|
||||||
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
||||||
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||||
|
$y++;
|
||||||
$apps[$x]['permissions'][$y]['name'] = "call_broadcast_delete";
|
$apps[$x]['permissions'][$y]['name'] = "call_broadcast_delete";
|
||||||
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
||||||
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||||
|
|
|
||||||
|
|
@ -401,7 +401,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
//echo "</td>\n";
|
//echo "</td>\n";
|
||||||
//echo "</tr>\n";
|
//echo "</tr>\n";
|
||||||
|
|
||||||
|
if permission_exists("call_broadcast_caller_id") {
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||||
echo " ".$text['label-caller-id-name']."\n";
|
echo " ".$text['label-caller-id-name']."\n";
|
||||||
|
|
@ -423,6 +423,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||||
echo "".$text['description-caller-id-number']."\n";
|
echo "".$text['description-caller-id-number']."\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue