diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index f5e1e12d3a..9e573bb271 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Copyright (C) 2008-2017 All Rights Reserved. + Copyright (C) 2008-2018 All Rights Reserved. */ @@ -404,6 +404,7 @@ $device_lines[$x]['user_id'] = ''; $device_lines[$x]['auth_id'] = ''; $device_lines[$x]['password'] = ''; + $device_lines[$x]['shared_line'] = ''; $device_lines[$x]['enabled'] = ''; $device_lines[$x]['sip_port'] = $_SESSION['provision']['line_sip_port']['numeric']; $device_lines[$x]['sip_transport'] = $_SESSION['provision']['line_sip_transport']['text']; @@ -761,6 +762,9 @@ if (permission_exists('device_line_register_expires')) { echo " ".$text['label-register_expires']."\n"; } + if (permission_exists('device_shared_line')) { + echo " ".$text['label-shared_line']."\n"; + } echo " ".$text['label-enabled']."\n"; echo "  \n"; echo " \n"; @@ -901,6 +905,15 @@ echo " \n"; } + if (permission_exists('device_shared_line')) { + echo " \n"; + echo " \n"; + echo " \n"; + } + else { + echo " \n"; + } + echo " \n"; echo "