diff --git a/core/user_settings/user_dashboard.php b/core/user_settings/user_dashboard.php index c8cbabbec9..dbff0d2623 100644 --- a/core/user_settings/user_dashboard.php +++ b/core/user_settings/user_dashboard.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2016 + Portions created by the Initial Developer are Copyright (C) 2008-2017 the Initial Developer. All Rights Reserved. Contributor(s): @@ -1199,6 +1199,18 @@ if (!is_array($selected_blocks) || in_array('call_routing', $selected_blocks) || in_array('ring_groups', $selected_blocks)) { echo "
\n"; + if (!is_array($selected_blocks) || in_array('caller_id', $selected_blocks)) { + //caller id management + if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/extensions/extension_dashboard.php")) { + if (permission_exists('extension_caller_id')) { + $is_included = true; + echo "
\n"; + require_once "app/extensions/extension_dashboard.php"; + echo "
"; + } + } + } + if (!is_array($selected_blocks) || in_array('call_routing', $selected_blocks)) { //call routing if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/calls/calls.php")) {