diff --git a/app/fax_logs/app_config.php b/app/fax_logs/app_config.php
new file mode 100755
index 0000000000..ca73f06fcb
--- /dev/null
+++ b/app/fax_logs/app_config.php
@@ -0,0 +1,129 @@
+
\ No newline at end of file
diff --git a/app/fax_logs/app_languages.php b/app/fax_logs/app_languages.php
new file mode 100755
index 0000000000..22972946cc
--- /dev/null
+++ b/app/fax_logs/app_languages.php
@@ -0,0 +1,163 @@
+
\ No newline at end of file
diff --git a/app/fax_logs/fax_log_delete.php b/app/fax_logs/fax_log_delete.php
new file mode 100755
index 0000000000..f6c143cae9
--- /dev/null
+++ b/app/fax_logs/fax_log_delete.php
@@ -0,0 +1,39 @@
+ $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
+//get the id
+ if (count($_GET)>0) {
+ $id = check_str($_GET["id"]);
+ }
+
+if (strlen($id)>0) {
+ //delete fax_log
+ $sql = "delete from v_fax_logs ";
+ $sql .= "where domain_uuid = '$domain_uuid' ";
+ $sql .= "and fax_log_uuid = '$id' ";
+ $prep_statement = $db->prepare(check_sql($sql));
+ $prep_statement->execute();
+ unset($sql);
+}
+
+//redirect the user
+ $_SESSION['message'] = $text['message-delete'];
+ header('Location: fax_logs.php');
+
+
+?>
\ No newline at end of file
diff --git a/app/fax_logs/fax_log_edit.php b/app/fax_logs/fax_log_edit.php
new file mode 100755
index 0000000000..ece5177cf9
--- /dev/null
+++ b/app/fax_logs/fax_log_edit.php
@@ -0,0 +1,475 @@
+ $value) {
+ $text[$key] = $value[$_SESSION['domain']['language']['code']];
+ }
+
+//action add or update
+ if (isset($_REQUEST["id"])) {
+ $action = "update";
+ $fax_log_uuid = check_str($_REQUEST["id"]);
+ }
+ else {
+ $action = "add";
+ }
+
+//get http post variables and set them to php variables
+ if (count($_POST)>0) {
+ $fax_log_uuid = check_str($_POST["fax_log_uuid"]);
+ $fax_success = check_str($_POST["fax_success"]);
+ $fax_result_code = check_str($_POST["fax_result_code"]);
+ $fax_result_text = check_str($_POST["fax_result_text"]);
+ $fax_file = check_str($_POST["fax_file"]);
+ $fax_ecm_used = check_str($_POST["fax_ecm_used"]);
+ $fax_local_station_id = check_str($_POST["fax_local_station_id"]);
+ $fax_document_transferred_pages = check_str($_POST["fax_document_transferred_pages"]);
+ $fax_document_total_pages = check_str($_POST["fax_document_total_pages"]);
+ $fax_image_resolution = check_str($_POST["fax_image_resolution"]);
+ $fax_image_size = check_str($_POST["fax_image_size"]);
+ $fax_bad_rows = check_str($_POST["fax_bad_rows"]);
+ $fax_transfer_rate = check_str($_POST["fax_transfer_rate"]);
+ $fax_retry_attempts = check_str($_POST["fax_retry_attempts"]);
+ $fax_retry_limit = check_str($_POST["fax_retry_limit"]);
+ $fax_retry_sleep = check_str($_POST["fax_retry_sleep"]);
+ $fax_uri = check_str($_POST["fax_uri"]);
+ $fax_date = check_str($_POST["fax_date"]);
+ $fax_epoch = check_str($_POST["fax_epoch"]);
+ }
+
+if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
+
+ $msg = '';
+ if ($action == "update") {
+ $fax_log_uuid = check_str($_POST["fax_log_uuid"]);
+ }
+
+ //check for all required data
+ if (strlen($fax_log_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-fax_log_uuid']."
\n"; }
+ if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-domain_uuid']."
\n"; }
+ if (strlen($fax_success) == 0) { $msg .= $text['message-required']." ".$text['label-fax_success']."
\n"; }
+ if (strlen($fax_result_code) == 0) { $msg .= $text['message-required']." ".$text['label-fax_result_code']."
\n"; }
+ if (strlen($fax_result_text) == 0) { $msg .= $text['message-required']." ".$text['label-fax_result_text']."
\n"; }
+ if (strlen($fax_file) == 0) { $msg .= $text['message-required']." ".$text['label-fax_file']."
\n"; }
+ if (strlen($fax_ecm_used) == 0) { $msg .= $text['message-required']." ".$text['label-fax_ecm_used']."
\n"; }
+ if (strlen($fax_local_station_id) == 0) { $msg .= $text['message-required']." ".$text['label-fax_local_station_id']."
\n"; }
+ if (strlen($fax_document_transferred_pages) == 0) { $msg .= $text['message-required']." ".$text['label-fax_document_transferred_pages']."
\n"; }
+ if (strlen($fax_document_total_pages) == 0) { $msg .= $text['message-required']." ".$text['label-fax_document_total_pages']."
\n"; }
+ if (strlen($fax_image_resolution) == 0) { $msg .= $text['message-required']." ".$text['label-fax_image_resolution']."
\n"; }
+ if (strlen($fax_image_size) == 0) { $msg .= $text['message-required']." ".$text['label-fax_image_size']."
\n"; }
+ if (strlen($fax_bad_rows) == 0) { $msg .= $text['message-required']." ".$text['label-fax_bad_rows']."
\n"; }
+ if (strlen($fax_transfer_rate) == 0) { $msg .= $text['message-required']." ".$text['label-fax_transfer_rate']."
\n"; }
+ if (strlen($fax_retry_attempts) == 0) { $msg .= $text['message-required']." ".$text['label-fax_retry_attempts']."
\n"; }
+ if (strlen($fax_retry_limit) == 0) { $msg .= $text['message-required']." ".$text['label-fax_retry_limit']."
\n"; }
+ if (strlen($fax_retry_sleep) == 0) { $msg .= $text['message-required']." ".$text['label-fax_retry_sleep']."
\n"; }
+ if (strlen($fax_uri) == 0) { $msg .= $text['message-required']." ".$text['label-fax_uri']."
\n"; }
+ if (strlen($fax_date) == 0) { $msg .= $text['message-required']." ".$text['label-fax_date']."
\n"; }
+ if (strlen($fax_epoch) == 0) { $msg .= $text['message-required']." ".$text['label-fax_epoch']."
\n"; }
+ if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
+ require_once "resources/header.php";
+ require_once "resources/persistformvar.php";
+ echo "
| \n";
+ echo $msg." "; + echo " |
| \n";
+ echo " "; + + echo " | ";
+ echo "
| \n";
+ echo " "; + + echo "
\n";
+ echo " ";
+ echo "
"; + + echo " | ";
+ echo "||||||||||||||||||||||||||||||||||||||||||||||||