diff --git a/app/fax/app_config.php b/app/fax/app_config.php index 0c3b3f1571..d251360b4b 100644 --- a/app/fax/app_config.php +++ b/app/fax/app_config.php @@ -20,26 +20,36 @@ $apps[$x]['description']['pt-br'] = ""; //menu details - $apps[$x]['menu'][0]['title']['en-us'] = "Fax Server"; - $apps[$x]['menu'][0]['title']['es-cl'] = "Servidor de Fax"; - $apps[$x]['menu'][0]['title']['es-mx'] = "Servidor de Fax"; - $apps[$x]['menu'][0]['title']['de-de'] = "Faxserver"; - $apps[$x]['menu'][0]['title']['de-ch'] = "Faxserver"; - $apps[$x]['menu'][0]['title']['de-at'] = "Faxserver"; - $apps[$x]['menu'][0]['title']['fr-fr'] = "Serveur Fax"; - $apps[$x]['menu'][0]['title']['fr-ca'] = "Serveur du fax"; - $apps[$x]['menu'][0]['title']['fr-ch'] = ""; - $apps[$x]['menu'][0]['title']['pt-pt'] = "Servidor de Fax"; - $apps[$x]['menu'][0]['title']['pt-br'] = ""; - $apps[$x]['menu'][0]['uuid'] = "9c9642e4-2b9b-2785-18d0-6c0a4ede2b2f"; - $apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5"; - $apps[$x]['menu'][0]['category'] = "internal"; - $apps[$x]['menu'][0]['path'] = "/app/fax/fax.php"; - $apps[$x]['menu'][0]['groups'][] = "user"; - $apps[$x]['menu'][0]['groups'][] = "admin"; - $apps[$x]['menu'][0]['groups'][] = "superadmin"; + $y = 0; + $apps[$x]['menu'][$y]['title']['en-us'] = "Fax Server"; + $apps[$x]['menu'][$y]['title']['es-cl'] = "Servidor de Fax"; + $apps[$x]['menu'][$y]['title']['es-mx'] = "Servidor de Fax"; + $apps[$x]['menu'][$y]['title']['de-de'] = "Faxserver"; + $apps[$x]['menu'][$y]['title']['de-ch'] = "Faxserver"; + $apps[$x]['menu'][$y]['title']['de-at'] = "Faxserver"; + $apps[$x]['menu'][$y]['title']['fr-fr'] = "Serveur Fax"; + $apps[$x]['menu'][$y]['title']['fr-ca'] = "Serveur du fax"; + $apps[$x]['menu'][$y]['title']['fr-ch'] = ""; + $apps[$x]['menu'][$y]['title']['pt-pt'] = "Servidor de Fax"; + $apps[$x]['menu'][$y]['title']['pt-br'] = ""; + $apps[$x]['menu'][$y]['uuid'] = "9c9642e4-2b9b-2785-18d0-6c0a4ede2b2f"; + $apps[$x]['menu'][$y]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5"; + $apps[$x]['menu'][$y]['category'] = "internal"; + $apps[$x]['menu'][$y]['path'] = "/app/fax/fax.php"; + $apps[$x]['menu'][$y]['groups'][] = "user"; + $apps[$x]['menu'][$y]['groups'][] = "admin"; + $apps[$x]['menu'][$y]['groups'][] = "superadmin"; + $y++; + + //$apps[$x]['menu'][$y]['title']['en-us'] = 'FAX Logs'; + //$apps[$x]['menu'][$y]['uuid'] = 'f91b1476-e7e9-40f5-a181-2f3e1e5bc16b'; + //$apps[$x]['menu'][$y]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5'; + //$apps[$x]['menu'][$y]['category'] = 'internal'; + //$apps[$x]['menu'][$y]['path'] = '/app/fax_logs/fax_logs.php'; + //$apps[$x]['menu'][$y]['groups'][] = 'superadmin'; //permission details + $y = 0; $apps[$x]['permissions'][$y]['name'] = "fax_extension_view"; $apps[$x]['permissions'][$y]['menu']['uuid'] = "9c9642e4-2b9b-2785-18d0-6c0a4ede2b2f"; $apps[$x]['permissions'][$y]['groups'][] = "superadmin"; diff --git a/app/fax/app_languages.php b/app/fax/app_languages.php index eb82b55e7d..7128b9ce80 100644 --- a/app/fax/app_languages.php +++ b/app/fax/app_languages.php @@ -70,6 +70,11 @@ $text['label-sent']['pt-pt'] = "Enviados"; $text['label-sent']['fr-fr'] = "Expédié"; + $text['label-log']['en-us'] = "Log"; + $text['label-log']['es-cl'] = "Log"; + $text['label-log']['pt-pt'] = "Log"; + $text['label-log']['fr-fr'] = "Enregistrer"; + $text['label-description']['en-us'] = "Description"; $text['label-description']['es-cl'] = "Descripción"; $text['label-description']['pt-pt'] = "Descrição"; @@ -433,4 +438,137 @@ $text['message-invalid-fax']['pt-pt'] = "Fax inválida - Por favor, digite uma mensagem ou selecionar um arquivo a ser enviado."; $text['message-invalid-fax']['fr-fr'] = "Invalid Fax - S'il vous plaît entrer un message ou sélectionner un fichier à envoyer."; + //fax logs + $text['title-fax_logs']['en-us'] = 'FAX Logs'; + $text['title-fax_logs']['pt-pt'] = ''; + + $text['title-fax_log']['en-us'] = 'Fax Log'; + $text['title-fax_log']['pt-pt'] = ''; + + $text['description-fax_log']['en-us'] = 'The details for sending and receiving a fax included are whether fax was successful, ECM (Error Correction Mode), number of retries, destination number, date, etc. '; + $text['description-fax_log']['pt-pt'] = ''; + + $text['label-fax_success']['en-us'] = 'Success'; + $text['label-fax_success']['pt-pt'] = ''; + + $text['description-fax_success']['en-us'] = ''; + $text['description-fax_success']['pt-pt'] = ''; + + $text['label-fax_result_code']['en-us'] = 'Code'; + $text['label-fax_result_code']['pt-pt'] = ''; + + $text['description-fax_result_code']['en-us'] = ''; + $text['description-fax_result_code']['pt-pt'] = ''; + + $text['label-fax_result_text']['en-us'] = 'Result'; + $text['label-fax_result_text']['pt-pt'] = ''; + + $text['description-fax_result_text']['en-us'] = ''; + $text['description-fax_result_text']['pt-pt'] = ''; + + $text['label-fax_file']['en-us'] = 'File'; + $text['label-fax_file']['pt-pt'] = ''; + + $text['description-fax_file']['en-us'] = ''; + $text['description-fax_file']['pt-pt'] = ''; + + $text['label-fax_ecm_used']['en-us'] = 'ECM'; + $text['label-fax_ecm_used']['pt-pt'] = ''; + + $text['description-fax_ecm_used']['en-us'] = ''; + $text['description-fax_ecm_used']['pt-pt'] = ''; + + $text['label-fax_local_station_id']['en-us'] = 'Local Station ID'; + $text['label-fax_local_station_id']['pt-pt'] = ''; + + $text['description-fax_local_station_id']['en-us'] = ''; + $text['description-fax_local_station_id']['pt-pt'] = ''; + + $text['label-fax_document_transferred_pages']['en-us'] = 'Document Transferred Pages'; + $text['label-fax_document_transferred_pages']['pt-pt'] = ''; + + $text['description-fax_document_transferred_pages']['en-us'] = ''; + $text['description-fax_document_transferred_pages']['pt-pt'] = ''; + + $text['label-fax_document_total_pages']['en-us'] = 'Document Total Pages'; + $text['label-fax_document_total_pages']['pt-pt'] = ''; + + $text['description-fax_document_total_pages']['en-us'] = ''; + $text['description-fax_document_total_pages']['pt-pt'] = ''; + + $text['label-fax_image_resolution']['en-us'] = 'Image Resolution'; + $text['label-fax_image_resolution']['pt-pt'] = ''; + + $text['description-fax_image_resolution']['en-us'] = ''; + $text['description-fax_image_resolution']['pt-pt'] = ''; + + $text['label-fax_image_size']['en-us'] = 'Image Size'; + $text['label-fax_image_size']['pt-pt'] = ''; + + $text['description-fax_image_size']['en-us'] = ''; + $text['description-fax_image_size']['pt-pt'] = ''; + + $text['label-fax_bad_rows']['en-us'] = 'Bad Rows'; + $text['label-fax_bad_rows']['pt-pt'] = ''; + + $text['description-fax_bad_rows']['en-us'] = ''; + $text['description-fax_bad_rows']['pt-pt'] = ''; + + $text['label-fax_transfer_rate']['en-us'] = 'Transfer Rate'; + $text['label-fax_transfer_rate']['pt-pt'] = ''; + + $text['description-fax_transfer_rate']['en-us'] = ''; + $text['description-fax_transfer_rate']['pt-pt'] = ''; + + $text['label-fax_retry_attempts']['en-us'] = 'Retry'; + $text['label-fax_retry_attempts']['pt-pt'] = ''; + + $text['description-fax_retry_attempts']['en-us'] = ''; + $text['description-fax_retry_attempts']['pt-pt'] = ''; + + $text['label-fax_retry_limit']['en-us'] = 'Retry Limit'; + $text['label-fax_retry_limit']['pt-pt'] = ''; + + $text['description-fax_retry_limit']['en-us'] = ''; + $text['description-fax_retry_limit']['pt-pt'] = ''; + + $text['label-fax_retry_sleep']['en-us'] = 'Retry Sleep'; + $text['label-fax_retry_sleep']['pt-pt'] = ''; + + $text['description-fax_retry_sleep']['en-us'] = ''; + $text['description-fax_retry_sleep']['pt-pt'] = ''; + + $text['label-fax_destination']['en-us'] = 'Destination'; + $text['label-fax_destination']['pt-pt'] = ''; + + $text['label-fax_uri']['en-us'] = 'URI'; + $text['label-fax_uri']['pt-pt'] = ''; + + $text['description-fax_uri']['en-us'] = ''; + $text['description-fax_uri']['pt-pt'] = ''; + + $text['label-fax_date']['en-us'] = 'Date'; + $text['label-fax_date']['pt-pt'] = ''; + + $text['description-fax_date']['en-us'] = ''; + $text['description-fax_date']['pt-pt'] = ''; + + $text['label-fax_epoch']['en-us'] = 'Epoch'; + $text['label-fax_epoch']['pt-pt'] = ''; + + $text['description-fax_epoch']['en-us'] = ''; + $text['description-fax_epoch']['pt-pt'] = ''; + + $text['message-add']['en-us'] = 'Add Completed'; + $text['message-add']['pt-pt'] = ''; + + $text['message-update']['en-us'] = 'Update Completed'; + $text['message-update']['pt-pt'] = ''; + + $text['message-delete']['en-us'] = 'Delete Completed'; + $text['message-delete']['pt-pt'] = ''; + + $text['message-required']['en-us'] = 'Please provide: '; + $text['message-required']['pt-pt'] = ''; + ?> \ No newline at end of file diff --git a/app/fax_logs/fax_log_delete.php b/app/fax/fax_log_delete.php similarity index 100% rename from app/fax_logs/fax_log_delete.php rename to app/fax/fax_log_delete.php diff --git a/app/fax_logs/fax_log_edit.php b/app/fax/fax_log_edit.php similarity index 100% rename from app/fax_logs/fax_log_edit.php rename to app/fax/fax_log_edit.php diff --git a/app/fax_logs/fax_logs.php b/app/fax/fax_logs.php similarity index 100% rename from app/fax_logs/fax_logs.php rename to app/fax/fax_logs.php diff --git a/app/fax_logs/app_config.php b/app/fax_logs/app_config.php deleted file mode 100755 index 4819800b2c..0000000000 --- a/app/fax_logs/app_config.php +++ /dev/null @@ -1,39 +0,0 @@ - \ No newline at end of file diff --git a/app/fax_logs/app_languages.php b/app/fax_logs/app_languages.php deleted file mode 100755 index 22972946cc..0000000000 --- a/app/fax_logs/app_languages.php +++ /dev/null @@ -1,163 +0,0 @@ - \ No newline at end of file diff --git a/app/fax_logs/root.php b/app/fax_logs/root.php deleted file mode 100755 index 7b882438ea..0000000000 --- a/app/fax_logs/root.php +++ /dev/null @@ -1,50 +0,0 @@ - - Portions created by the Initial Developer are Copyright (C) 2008-2012 - the Initial Developer. All Rights Reserved. - - Contributor(s): - Mark J Crane -*/ - -// make sure the PATH_SEPARATOR is defined - if (!defined("PATH_SEPARATOR")) { - if ( strpos( $_ENV[ "OS" ], "Win" ) !== false ) { define("PATH_SEPARATOR", ";"); } else { define("PATH_SEPARATOR", ":"); } - } - -// make sure the document_root is set - $_SERVER["SCRIPT_FILENAME"] = str_replace("\\", "/", $_SERVER["SCRIPT_FILENAME"]); - $_SERVER["DOCUMENT_ROOT"] = str_replace($_SERVER["PHP_SELF"], "", $_SERVER["SCRIPT_FILENAME"]); - $_SERVER["DOCUMENT_ROOT"] = realpath($_SERVER["DOCUMENT_ROOT"]); - //echo "DOCUMENT_ROOT: ".$_SERVER["DOCUMENT_ROOT"]."
\n"; - //echo "PHP_SELF: ".$_SERVER["PHP_SELF"]."
\n"; - //echo "SCRIPT_FILENAME: ".$_SERVER["SCRIPT_FILENAME"]."
\n"; - -// if the project directory exists then add it to the include path otherwise add the document root to the include path - if (is_dir($_SERVER["DOCUMENT_ROOT"].'/fusionpbx')){ - if(!defined('PROJECT_PATH')) { define('PROJECT_PATH', '/fusionpbx'); } - set_include_path( get_include_path() . PATH_SEPARATOR . $_SERVER["DOCUMENT_ROOT"].'/fusionpbx' ); - } - else { - if(!defined('PROJECT_PATH')) { define('PROJECT_PATH', ''); } - set_include_path( get_include_path() . PATH_SEPARATOR . $_SERVER['DOCUMENT_ROOT'] ); - } - -?> \ No newline at end of file