Multiple Apps: Integrate content cards.
This commit is contained in:
parent
a965c78735
commit
bf7526f0ef
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2018 - 2022
|
||||
Portions created by the Initial Developer are Copyright (C) 2018-2024
|
||||
the Initial Developer. All Rights Reserved.
|
||||
*/
|
||||
|
||||
|
|
@ -359,6 +359,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -473,6 +474,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br /><br />";
|
||||
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2023
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2024
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
|
@ -162,6 +162,8 @@
|
|||
echo "</div>\n";
|
||||
|
||||
echo $text['description-import']."\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
//loop through the lines and fields
|
||||
|
|
@ -195,6 +197,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<input name='action' type='hidden' value='import'>\n";
|
||||
|
|
@ -370,6 +373,7 @@
|
|||
echo $text['description-import']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -440,6 +444,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<input name='type' type='hidden' value='csv'>\n";
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2018 - 2023
|
||||
Portions created by the Initial Developer are Copyright (C) 2018-2024
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
|
@ -192,6 +192,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('access_control_add') || permission_exists('access_control_edit') || permission_exists('access_control_delete')) {
|
||||
|
|
@ -242,6 +243,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -138,7 +138,8 @@
|
|||
echo " <div style='clear: both;'></div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
echo "<table width='400' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='400' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<td valign='top'>\n";
|
||||
echo " <table>\n";
|
||||
|
|
@ -205,8 +206,10 @@
|
|||
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
if (!empty($_REQUEST["debug"]) && $_REQUEST["debug"] == "true") {
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='50%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th valign='top' align='left' nowrap='nowrap'>\n";
|
||||
|
|
@ -235,6 +238,7 @@
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
//define the array _difference function
|
||||
|
|
@ -359,9 +363,10 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
echo "<br />\n";
|
||||
echo "<table width='100%'>\n";
|
||||
if (!empty($array)) {
|
||||
echo "<br />\n";
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%'>\n";
|
||||
$previous_schema = null;
|
||||
foreach ($array as $row) {
|
||||
if ($row['schema'] !== $previous_schema || $row['row'] !== $previous_row) {
|
||||
|
|
@ -380,6 +385,7 @@
|
|||
$previous_row = $row['row'];
|
||||
}
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
/*
|
||||
if (!empty($after)) {
|
||||
|
|
@ -417,15 +423,18 @@
|
|||
|
||||
//show the difference
|
||||
echo "<br />\n";
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%'>\n";
|
||||
show_difference($array);
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
}
|
||||
|
||||
//show the delete
|
||||
if ($transaction_type == "delete") {
|
||||
echo "<br /><br />\n";
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%'>\n";
|
||||
if (!empty($before)) {
|
||||
foreach ($before as $table_name => $rows) {
|
||||
|
|
@ -444,8 +453,9 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
echo "</table>\n";
|
||||
|
||||
//add a few lines at the end
|
||||
echo "<br /><br />\n";
|
||||
|
|
|
|||
|
|
@ -177,6 +177,7 @@
|
|||
echo $text['description-database_transactions']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
echo th_order_by('domain_name', $text['label-domain'], $order_by, $order);
|
||||
|
|
@ -216,6 +217,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
|
||||
|
|
|
|||
|
|
@ -252,6 +252,7 @@
|
|||
echo " <div style='clear: both;'></div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -453,6 +454,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br /><br />";
|
||||
|
||||
if ($action == "update") {
|
||||
|
|
|
|||
|
|
@ -230,6 +230,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('email_template_add') || permission_exists('email_template_edit') || permission_exists('email_template_delete')) {
|
||||
|
|
@ -310,6 +311,7 @@
|
|||
unset($result);
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
|
||||
|
|
|
|||
|
|
@ -162,6 +162,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
function write_header($modifier) {
|
||||
global $text, $modules, $list_row_edit_button;
|
||||
|
|
@ -271,6 +272,7 @@
|
|||
unset($modules);
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -253,6 +253,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -365,6 +366,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br /><br />";
|
||||
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -206,6 +206,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('number_translation_add') || permission_exists('number_translation_edit') || permission_exists('number_translation_delete')) {
|
||||
|
|
@ -265,6 +266,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -448,6 +448,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -659,6 +660,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br /><br />";
|
||||
|
||||
if ($action == "update") {
|
||||
|
|
|
|||
|
|
@ -168,6 +168,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('sip_profile_add') || permission_exists('sip_profile_edit') || permission_exists('sip_profile_delete')) {
|
||||
|
|
@ -228,6 +229,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -221,6 +221,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -279,6 +280,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br /><br />";
|
||||
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -189,6 +189,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('sofia_global_setting_add') || permission_exists('sofia_global_setting_edit') || permission_exists('sofia_global_setting_delete')) {
|
||||
|
|
@ -250,6 +251,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -206,6 +206,7 @@
|
|||
echo " <div style='clear: both;'></div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -338,10 +339,13 @@
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
|
||||
//if variable is a code then show the codec info
|
||||
if ($var_name == "global_codec_prefs" || $var_name == "outbound_codec_prefs") {
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left' colspan='2'>\n";
|
||||
echo "<div class='card'>\n";
|
||||
echo "<br />\n";
|
||||
echo "<b>".$text['label-codec_information']."</b><br><br>\n";
|
||||
echo "Module must be compiled and loaded. codecname[@8000h|16000h|32000h[@XXi]]<br />\n";
|
||||
|
|
@ -407,11 +411,8 @@
|
|||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>\n";
|
||||
echo "</td>";
|
||||
echo "</tr>";
|
||||
echo "</div>\n";
|
||||
}
|
||||
|
||||
echo "</table>";
|
||||
echo "<br><br>";
|
||||
|
||||
if ($action == "update") {
|
||||
|
|
|
|||
|
|
@ -186,6 +186,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
function write_header($modifier) {
|
||||
global $text, $order_by, $order, $vars, $list_row_edit_button;
|
||||
|
|
@ -272,6 +273,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -251,6 +251,7 @@ if (count($_POST)>0 && empty($_POST["persistformvar"])) {
|
|||
}
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -405,6 +406,7 @@ if (count($_POST)>0 && empty($_POST["persistformvar"])) {
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br><br>";
|
||||
|
||||
if ($action == "update") {
|
||||
|
|
|
|||
|
|
@ -137,6 +137,7 @@
|
|||
echo "<form id='form_list' method='post'>\n";
|
||||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('database_add') || permission_exists('database_delete')) {
|
||||
|
|
@ -189,6 +190,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -297,6 +297,7 @@
|
|||
}
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -814,6 +815,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br><br>";
|
||||
|
||||
if ($action == "update") {
|
||||
|
|
|
|||
|
|
@ -432,12 +432,13 @@
|
|||
if ($previous_default_setting_category != $row['default_setting_category']) {
|
||||
if (!empty($previous_default_setting_category)) {
|
||||
echo "</table>\n";
|
||||
echo "<br />\n";
|
||||
echo "</div>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
echo "<div class='category' id='category_".$default_setting_category."'>\n";
|
||||
echo "<b>".escape($label_default_setting_category)."</b><br>\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if ($permission['default_setting_add'] || $permission['default_setting_edit'] || $permission['default_setting_delete']) {
|
||||
|
|
@ -613,6 +614,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "</div>\n";
|
||||
|
||||
|
|
|
|||
|
|
@ -390,6 +390,7 @@
|
|||
}
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -850,6 +851,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br /><br />";
|
||||
|
||||
echo "<input type='hidden' name='domain_uuid' value='".escape($domain_uuid)."'>\n";
|
||||
|
|
|
|||
|
|
@ -214,6 +214,7 @@
|
|||
echo "<input type='hidden' name='domain_uuid' value='".escape($domain_uuid)."'>\n";
|
||||
echo "<input type='hidden' name='domain_uuid_target' id='domain_uuid_target' value=''>\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
if (!empty($domain_settings)) {
|
||||
//define the variable
|
||||
|
|
@ -403,6 +404,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
echo "</form>\n";
|
||||
|
|
|
|||
|
|
@ -659,6 +659,7 @@
|
|||
}
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -706,6 +707,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br /><br />";
|
||||
|
||||
if ($action == "update") {
|
||||
|
|
|
|||
|
|
@ -223,6 +223,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('domain_edit') || permission_exists('domain_delete')) {
|
||||
|
|
@ -297,6 +298,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -237,6 +237,7 @@
|
|||
echo $text['description-groups']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -320,6 +321,7 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br /><br />";
|
||||
|
||||
echo "<input type='hidden' name='group_uuid' value='".escape($group_uuid)."'>\n";
|
||||
|
|
|
|||
|
|
@ -181,6 +181,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='group_uuid' value='".escape($group_uuid)."'>\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('group_member_delete')) {
|
||||
|
|
@ -214,6 +215,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>";
|
||||
echo "</form>";
|
||||
|
|
|
|||
|
|
@ -308,7 +308,9 @@
|
|||
echo "<input type='hidden' name='group_uuid' value='".escape($group_uuid)."'>\n";
|
||||
echo "<input type='hidden' name='view' value=\"".escape($view)."\">\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
echo "<table class='list' style='margin-bottom: 25px;'>\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
if (is_array($group_permissions) && @sizeof($group_permissions) != 0) {
|
||||
$x = 0;
|
||||
foreach ($group_permissions as $row) {
|
||||
|
|
@ -388,6 +390,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "</form>\n";
|
||||
|
||||
//include the footer
|
||||
|
|
|
|||
|
|
@ -188,6 +188,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('group_add') || permission_exists('group_edit') || permission_exists('group_delete')) {
|
||||
|
|
@ -257,6 +258,7 @@ echo " <td>".escape($row['domain_name'])."</td>\n";
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -143,6 +143,7 @@
|
|||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('menu_add') || permission_exists('menu_edit') || permission_exists('menu_delete')) {
|
||||
|
|
@ -193,6 +194,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".!empty($paging_controls)."</div>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -178,6 +178,7 @@
|
|||
echo $text['description-menu']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -214,7 +215,8 @@
|
|||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "<br><br>";
|
||||
echo "</div>";
|
||||
echo "<br>";
|
||||
|
||||
if ($action == "update") {
|
||||
echo "<input type='hidden' name='menu_uuid' value='".escape($menu_uuid)."'>\n";
|
||||
|
|
|
|||
|
|
@ -396,6 +396,7 @@
|
|||
echo " <div style='clear: both;'></div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo " <tr>";
|
||||
|
|
@ -563,6 +564,7 @@
|
|||
echo " </tr>";
|
||||
|
||||
echo "</table>";
|
||||
echo "</div>";
|
||||
echo "<br><br>";
|
||||
|
||||
if (permission_exists('menu_add') || permission_exists('menu_edit')) {
|
||||
|
|
|
|||
|
|
@ -259,6 +259,7 @@
|
|||
echo modal::create(['id'=>'modal-delete','type'=>'delete','actions'=>button::create(['type'=>'button','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_delete','style'=>'float: right; margin-left: 15px;','collapse'=>'never','onclick'=>"modal_close(); list_action_set('delete'); list_form_submit('form_list');"])]);
|
||||
}
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table class='list'>\n";
|
||||
echo " <tr class='list-header'>";
|
||||
if (permission_exists('menu_item_edit') || permission_exists('menu_item_delete')) {
|
||||
|
|
@ -402,6 +403,7 @@
|
|||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br><br>";
|
||||
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
|
|
|||
|
|
@ -277,6 +277,7 @@
|
|||
echo $text['description-upgrade'];
|
||||
echo "<br /><br />";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
if (permission_exists("upgrade_source") && !is_dir("/usr/share/examples/fusionpbx") && is_writeable($_SERVER["PROJECT_ROOT"]."/.git")) {
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr onclick=\"$('#tr_applications').slideToggle('fast');\">\n";
|
||||
|
|
@ -440,12 +441,14 @@
|
|||
echo "</table>\n";
|
||||
$step++;
|
||||
}
|
||||
echo "</div>\n";
|
||||
|
||||
echo "</form>\n";
|
||||
|
||||
echo "<br /><br />";
|
||||
echo "<br />";
|
||||
if (!empty($_SESSION["response"]) && is_array($_SESSION["response"])) {
|
||||
foreach($_SESSION["response"] as $part => $response){
|
||||
echo "<div class='card'>\n";
|
||||
echo "<b>".$text["label-results"]." - ".$text["label-{$part}"];
|
||||
echo "</b><br /><br />";
|
||||
$error_found = false;
|
||||
|
|
@ -484,7 +487,7 @@
|
|||
else {
|
||||
echo $response;
|
||||
}
|
||||
echo "<br /><br />";
|
||||
echo "</div>\n";
|
||||
}
|
||||
unset($_SESSION["response"]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue