mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update database_transaction_edit.php (#5155)
This commit is contained in:
@@ -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) 2016 - 2019
|
||||
Portions created by the Initial Developer are Copyright (C) 2016 - 2020
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -409,19 +409,21 @@
|
||||
if ($transaction_type == "delete") {
|
||||
echo "<br /><br />\n";
|
||||
echo "<table width='100%'>\n";
|
||||
foreach ($before as $table_name => $rows) {
|
||||
echo " <tr>\n";
|
||||
echo " <th>".escape($table_name)."</th><th> </th>\n";
|
||||
echo " </tr>\n";
|
||||
foreach ($rows as $row) {
|
||||
foreach ($row as $key => $value) {
|
||||
echo " <tr class='list-row'>\n";
|
||||
echo " <td>".escape($key)."</td><td>".escape($value)."</td>\n";
|
||||
if (is_array($before)) {
|
||||
foreach ($before as $table_name => $rows) {
|
||||
echo " <tr>\n";
|
||||
echo " <th>".escape($table_name)."</th><th> </th>\n";
|
||||
echo " </tr>\n";
|
||||
foreach ($rows as $row) {
|
||||
foreach ($row as $key => $value) {
|
||||
echo " <tr class='list-row'>\n";
|
||||
echo " <td>".escape($key)."</td><td>".escape($value)."</td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
echo " <tr>\n";
|
||||
echo " <td colspan='3'><br /><br /></td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
echo " <tr>\n";
|
||||
echo " <td colspan='3'><br /><br /></td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -433,4 +435,4 @@
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user