diff --git a/app/extensions/extensions.php b/app/extensions/extensions.php index 9c13c0f2c9..7ebf6cecd6 100644 --- a/app/extensions/extensions.php +++ b/app/extensions/extensions.php @@ -74,10 +74,10 @@ $sql_mod .= ") "; } -require_once "resources/header.php"; -$document['title'] = $text['title-extensions']; - -require_once "resources/paging.php"; +//additional includes + require_once "resources/header.php"; + $document['title'] = $text['title-extensions']; + require_once "resources/paging.php"; //get total extension count from the database $sql = "select "; @@ -167,11 +167,12 @@ require_once "resources/paging.php"; echo th_order_by('call_group', $text['label-call_group'], $order_by, $order); //echo th_order_by('voicemail_mail_to', $text['label-voicemail_mail_to'], $order_by, $order); echo th_order_by('user_context', $text['label-user_context'], $order_by, $order); - echo th_order_by('enabled', $text['label-enabled'], $order_by, $order); - echo th_order_by('description', $text['label-description'], $order_by, $order); if (permission_exists('extension_registered')) { echo th_order_by('description', $text['label-is_registered'], $order_by, $order); } + echo th_order_by('enabled', $text['label-enabled'], $order_by, $order); + echo th_order_by('description', $text['label-description'], $order_by, $order); + echo "