From 228700109afe8a7ca9077a872780ca454e54dec9 Mon Sep 17 00:00:00 2001 From: Nate Date: Mon, 6 Jan 2020 12:30:15 -0700 Subject: [PATCH] SIP Profiles: Add window titles. --- app/sip_profiles/sip_profile_edit.php | 3 ++- app/sip_profiles/sip_profiles.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/sip_profiles/sip_profile_edit.php b/app/sip_profiles/sip_profile_edit.php index 39e4d8042b..d84876f3e7 100644 --- a/app/sip_profiles/sip_profile_edit.php +++ b/app/sip_profiles/sip_profile_edit.php @@ -27,9 +27,9 @@ //includes require_once "root.php"; require_once "resources/require.php"; + require_once "resources/check_auth.php"; //check permissions - require_once "resources/check_auth.php"; if (permission_exists('sip_profile_add') || permission_exists('sip_profile_edit')) { //access granted } @@ -250,6 +250,7 @@ $token = $object->create($_SERVER['PHP_SELF']); //show the header + $document['title'] = $text['title-sip_profile']; require_once "resources/header.php"; //label to form input diff --git a/app/sip_profiles/sip_profiles.php b/app/sip_profiles/sip_profiles.php index 89a35de1c0..51ebb2a6cb 100644 --- a/app/sip_profiles/sip_profiles.php +++ b/app/sip_profiles/sip_profiles.php @@ -112,6 +112,7 @@ $token = $object->create($_SERVER['PHP_SELF']); //additional includes + $document['title'] = $text['title-sip_profiles']; require_once "resources/header.php"; //show the content