From 199b7e0def54a4eaeb7f39a00a53b14819b22084 Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Wed, 9 Dec 2015 13:21:37 +0300 Subject: [PATCH] Add. Allows select greeting. --- app/fax/fax_edit.php | 103 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 102 insertions(+), 1 deletion(-) diff --git a/app/fax/fax_edit.php b/app/fax/fax_edit.php index 8a23a3cf4c..83fabbae3d 100644 --- a/app/fax/fax_edit.php +++ b/app/fax/fax_edit.php @@ -686,7 +686,108 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { echo " ".$text['label-fax_send_greeting']."\n"; echo "\n"; echo "\n"; - echo " \n"; + if (permission_exists('fax_extension_add') || permission_exists('fax_extension_edit')) { + echo "\n"; + echo "\n"; + } + echo " \n"; echo "
\n"; echo " ".$text['description-fax_send_greeting']."\n"; echo "\n";