diff --git a/app/contacts/contact_addresses.php b/app/contacts/contact_addresses.php
index 00c908f8a9..d11b8058f2 100644
--- a/app/contacts/contact_addresses.php
+++ b/app/contacts/contact_addresses.php
@@ -92,7 +92,7 @@ require_once "resources/paging.php";
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
- echo "
\n";
+ echo "\n";
echo "\n";
echo "| ".$text['label-address_label']." | \n";
@@ -129,20 +129,6 @@ require_once "resources/paging.php";
unset($sql, $result, $row_count);
} //end if results
- echo "
\n";
- echo "\n";
- echo " \n";
- echo " \n";
-// echo " | | \n";
-// echo " $paging_controls | \n";
- echo " ";
- echo "$v_link_label_add";
- echo " | \n";
- echo " \n";
- echo " \n";
- echo " | \n";
- echo "
\n";
-
echo "
";
?>
\ No newline at end of file
diff --git a/app/contacts/contact_edit.php b/app/contacts/contact_edit.php
index ceb91c7616..241ec1a3b8 100644
--- a/app/contacts/contact_edit.php
+++ b/app/contacts/contact_edit.php
@@ -157,7 +157,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
unset($sql);
$_SESSION["message"] = $text['message-add'];
- $location = "contacts.php";
+ $location = "contact_edit.php?id=".$contact_uuid;
} //if ($action == "add")
//if contact is shared, remove contact group record containing user's uuid
@@ -223,7 +223,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
unset($sql);
$_SESSION["message"] = $text['message-update'];
- $location = "contacts.php";
+ $location = "contact_edit.php?id=".$contact_uuid;
} //if ($action == "update")
//handle redirect
diff --git a/app/contacts/contact_emails.php b/app/contacts/contact_emails.php
index c9fc98d792..7e60954500 100644
--- a/app/contacts/contact_emails.php
+++ b/app/contacts/contact_emails.php
@@ -91,7 +91,7 @@ require_once "resources/paging.php";
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
- echo "\n";
+ echo "\n";
echo "\n";
echo "| ".$text['label-email_label']." | \n";
@@ -119,20 +119,6 @@ require_once "resources/paging.php";
unset($sql, $result, $row_count);
} //end if results
- echo "
\n";
- echo "\n";
- echo " \n";
- echo " \n";
-// echo " | | \n";
-// echo " $paging_controls | \n";
- echo " ";
- echo "$v_link_label_add";
- echo " | \n";
- echo " \n";
- echo " \n";
- echo " | \n";
- echo "
\n";
-
echo "
";
?>
\ No newline at end of file
diff --git a/app/contacts/contact_extensions.php b/app/contacts/contact_extensions.php
index e8fc84df71..a4002ffc1e 100644
--- a/app/contacts/contact_extensions.php
+++ b/app/contacts/contact_extensions.php
@@ -114,7 +114,7 @@ require_once "resources/paging.php";
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
- echo "\n";
+ echo "\n";
echo "\n";
echo "| ".$text['label-extension']." | \n";
echo "".$text['label-enabled']." | \n";
@@ -153,21 +153,6 @@ require_once "resources/paging.php";
unset($sql, $result, $row_count);
} //end if results
- echo "
\n";
- echo "\n";
- echo " \n";
- echo " \n";
- echo " | | \n";
- echo " $paging_controls | \n";
- echo " ";
- if (permission_exists('extension_add')) {
- echo " $v_link_label_add\n";
- }
- echo " | \n";
- echo " \n";
- echo " \n";
- echo " | \n";
- echo "
\n";
echo "
";
?>
diff --git a/app/contacts/contact_notes.php b/app/contacts/contact_notes.php
index 8a09e86b15..b2756025f3 100644
--- a/app/contacts/contact_notes.php
+++ b/app/contacts/contact_notes.php
@@ -48,7 +48,6 @@ require_once "resources/paging.php";
}
//show the content
-
echo "\n";
echo "\n";
echo "| ".$text['label-contact_notes']." | \n";
@@ -56,37 +55,11 @@ require_once "resources/paging.php";
echo "
\n";
echo "
\n";
- //prepare to page the results
-// $sql = "select count(*) as num_rows from v_contact_notes ";
-// $sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
-// $sql .= "and contact_uuid = '$contact_uuid' ";
-// if (strlen($order_by)> 0) { $sql .= "order by $order_by $order "; }
-// $prep_statement = $db->prepare($sql);
-// if ($prep_statement) {
-// $prep_statement->execute();
-// $row = $prep_statement->fetch(PDO::FETCH_ASSOC);
-// if ($row['num_rows'] > 0) {
-// $num_rows = $row['num_rows'];
-// }
-// else {
-// $num_rows = '0';
-// }
-// }
-
- //prepare to page the results
-// $rows_per_page = 10;
-// $param = "";
-// $page = $_GET['page'];
-// if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
-// list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page);
-// $offset = $rows_per_page * $page;
-
//get the contact list
$sql = "select * from v_contact_notes ";
$sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' ";
$sql .= "and contact_uuid = '$contact_uuid' ";
if (strlen($order_by)> 0) { $sql .= "order by ".$order_by." ".$order." "; }
-// $sql .= " limit ".$rows_per_page." offset ".$offset." ";
$prep_statement = $db->prepare(check_sql($sql));
if ($prep_statement) {
$prep_statement->execute();
@@ -99,7 +72,7 @@ require_once "resources/paging.php";
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
- echo "\n";
+ echo "\n";
echo "\n";
echo "| ".$text['label-note_content']." | \n";
@@ -108,6 +81,10 @@ require_once "resources/paging.php";
echo "$v_link_label_add";
echo "\n";
echo "
\n";
+ echo "
\n";
+
+ echo "\n";
+
+ echo "\n";
?>
\ No newline at end of file
diff --git a/app/contacts/contact_phones.php b/app/contacts/contact_phones.php
index ce41014f9d..63dd616964 100644
--- a/app/contacts/contact_phones.php
+++ b/app/contacts/contact_phones.php
@@ -107,7 +107,7 @@ require_once "resources/paging.php";
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
- echo "\n";
+ echo "\n";
echo "\n";
echo "| ".$text['label-phone_label']." | \n";
echo "".$text['label-phone_number']." | \n";
@@ -155,20 +155,6 @@ require_once "resources/paging.php";
unset($sql, $result, $row_count);
} //end if results
- echo "
\n";
- echo "\n";
- echo " \n";
- echo " \n";
-// echo " | | \n";
-// echo " $paging_controls | \n";
- echo " ";
- echo "$v_link_label_add";
- echo " | \n";
- echo " \n";
- echo " \n";
- echo " | \n";
- echo "
\n";
-
echo "
";
?>
\ No newline at end of file
diff --git a/app/contacts/contact_settings.php b/app/contacts/contact_settings.php
index f986e569b3..427f073932 100644
--- a/app/contacts/contact_settings.php
+++ b/app/contacts/contact_settings.php
@@ -89,7 +89,7 @@ require_once "resources/paging.php";
echo "\n";
echo "
\n";
- echo "\n";
+ echo "\n";
echo "";
echo " | \n";
echo " ".ucfirst($row['contact_setting_category'])."\n";
@@ -142,19 +142,6 @@ require_once "resources/paging.php";
unset($sql, $result, $row_count);
} //end if results
- echo " |
\n";
- echo "\n";
- echo " \n";
- echo " \n";
-// echo " | | \n";
-// echo " $paging_controls | \n";
- echo " ";
- echo "$v_link_label_add";
- echo " | \n";
- echo " \n";
- echo " \n";
- echo " | \n";
- echo "
\n";
echo "
";
//include the footer
diff --git a/app/contacts/contact_urls.php b/app/contacts/contact_urls.php
index f0db891e80..a92e051c1d 100644
--- a/app/contacts/contact_urls.php
+++ b/app/contacts/contact_urls.php
@@ -91,7 +91,7 @@ require_once "resources/paging.php";
$row_style["0"] = "row_style0";
$row_style["1"] = "row_style1";
- echo "\n";
+ echo "\n";
echo "\n";
echo "| ".$text['label-url_label']." | \n";
@@ -119,20 +119,6 @@ require_once "resources/paging.php";
unset($sql, $result, $row_count);
} //end if results
- echo "
\n";
- echo "\n";
- echo " \n";
- echo " \n";
-// echo " | | \n";
-// echo " $paging_controls | \n";
- echo " ";
- echo "$v_link_label_add";
- echo " | \n";
- echo " \n";
- echo " \n";
- echo " | \n";
- echo "
\n";
-
- echo "
";
+ echo "
\n";
?>
\ No newline at end of file