diff --git a/app/fax/app_languages.php b/app/fax/app_languages.php index 3c0b67caeb..d99820ca23 100644 --- a/app/fax/app_languages.php +++ b/app/fax/app_languages.php @@ -81,7 +81,7 @@ $text['title-inbox']['ru-ru'] = "Входящий"; $text['title-inbox']['sv-se'] = "Inbox"; $text['title-inbox']['uk-ua'] = ""; -$text['title-sent_faxes']['en-us'] = "Sent Faxes"; +$text['title-sent_faxes']['en-us'] = "Sent"; $text['title-sent_faxes']['ar-eg'] = ""; $text['title-sent_faxes']['de-at'] = "Gesendete Faxe"; //copied from de-de $text['title-sent_faxes']['de-ch'] = "Gesendete Faxe"; //copied from de-de @@ -2061,7 +2061,7 @@ $text['label-copy']['ru-ru'] = "Copy"; $text['label-copy']['sv-se'] = "Copy"; $text['label-copy']['uk-ua'] = "Copy"; -$text['header-sent_faxes']['en-us'] = "Sent Faxes"; +$text['header-sent_faxes']['en-us'] = "Sent"; $text['header-sent_faxes']['ar-eg'] = ""; $text['header-sent_faxes']['de-at'] = "Gesendete Faxe"; //copied from de-de $text['header-sent_faxes']['de-ch'] = "Gesendete Faxe"; //copied from de-de diff --git a/app/fax/fax.php b/app/fax/fax.php index d3e6a39c0c..83aa6f2327 100644 --- a/app/fax/fax.php +++ b/app/fax/fax.php @@ -227,7 +227,7 @@ echo " ".$text['label-sent']." "; } if (permission_exists('fax_log_view')) { - echo " ".$text['label-log'].""; + echo " ".$text['label-log'].""; } if (permission_exists('fax_active_view') && isset($_SESSION['fax']['send_mode']['text']) && $_SESSION['fax']['send_mode']['text'] == 'queue') { echo " ".$text['label-active'].""; diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 359f790c1c..235ea5b2c8 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -87,6 +87,31 @@ //get the http post values and set them as php variables if (count($_POST) > 0) { + + //process the http post data by submitted action + if ($_POST['action'] != '' && is_uuid($fax_uuid)) { + $array[0]['checked'] = 'true'; + $array[0]['uuid'] = $fax_uuid; + + switch ($_POST['action']) { + case 'copy': + if (permission_exists('fax_extension_copy')) { + $obj = new fax; + $obj->copy($array); + } + break; + case 'delete': + if (permission_exists('fax_extension_delete')) { + $obj = new fax; + $obj->delete($array); + } + break; + } + + header('Location: fax.php'); + exit; + } + //set the variables $fax_name = $_POST["fax_name"]; $fax_extension = $_POST["fax_extension"]; @@ -462,7 +487,7 @@ echo " function toggle_advanced(advanced_id) {\n"; echo " $('#'+advanced_id).toggle();\n"; echo " if ($('#'+advanced_id).is(':visible')) {\n"; - echo " $('#page').animate({scrollTop: $('#'+advanced_id).offset().top - 80}, 'slow');\n"; + echo " $('html, body').animate({scrollTop: $('#'+advanced_id).offset().top - 80}, 'slow');\n"; echo " }\n"; echo " }\n"; echo " function add_sender() {\n"; @@ -472,28 +497,36 @@ echo " }\n"; echo "\n"; -//fax extension form - echo "
\n"; + //include the footer require_once "resources/footer.php"; -?> +?> \ No newline at end of file diff --git a/app/fax/fax_log_view.php b/app/fax/fax_log_view.php index 26dac3bc3b..1b11ec10ee 100644 --- a/app/fax/fax_log_view.php +++ b/app/fax/fax_log_view.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane| ".$text['title-fax_logs']." | \n"; - echo "\n"; - echo " "; - echo " \n"; - echo " | \n"; - echo "
| \n";
- echo " "; - echo " ".$text['description-fax_log']." \n"; - echo " | \n";
- echo " |