diff --git a/config.default.php b/config.default.php index 23b2ca67..95ed7fd3 100644 --- a/config.default.php +++ b/config.default.php @@ -256,6 +256,21 @@ if (!defined('ALLOW_RESPONDENT_SELECTOR')) define ('ALLOW_RESPONDENT_SELECTOR',t */ if (!defined('ALTERNATE_INTERFACE')) define ('ALTERNATE_INTERFACE',false); +/** + * Allow to choose the start part of the link for alternate interface, before phone + */ +if (!defined('ALTERNATE_INTERFACE_CALLSTARTURL')) define ('ALTERNATE_INTERFACE_CALLSTARTURL','callto:'); + +/** + * Allow to choose the end part of the link for alternate interface, after phone + */ +if (!defined('ALTERNATE_INTERFACE_CALLENDURL')) define ('ALTERNATE_INTERFACE_CALLENDURL',''); + +/** + * Allow to set some specific attributes (for example target='_blank') to call url + */ +if (!defined('ALTERNATE_INTERFACE_ATTRIBUTEURL')) define ('ALTERNATE_INTERFACE_ATTRIBUTEURL',''); + /** * Number of log records to display */ diff --git a/status_interface2.php b/status_interface2.php index ec4322c4..ed485dcf 100644 --- a/status_interface2.php +++ b/status_interface2.php @@ -215,13 +215,16 @@ if ($ca) //By default, the selected radio button should have a "call" started for it //When then next one clicked, it should bring up call screen if no outcome otherwise start new call //print "