From 8fcd2e3e03589de0025f0c60b813e5fed123a41a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 21 Aug 2019 01:42:35 -0600 Subject: [PATCH] Update and rename cliplist.php to clip_list.php --- app/edit/{cliplist.php => clip_list.php} | 35 ++++++++++++++---------- 1 file changed, 20 insertions(+), 15 deletions(-) rename app/edit/{cliplist.php => clip_list.php} (91%) diff --git a/app/edit/cliplist.php b/app/edit/clip_list.php similarity index 91% rename from app/edit/cliplist.php rename to app/edit/clip_list.php index 1919cb2f5c..59d8a5c9fd 100644 --- a/app/edit/cliplist.php +++ b/app/edit/clip_list.php @@ -17,26 +17,29 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2012 + Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane James Rose */ -include "root.php"; -require_once "resources/require.php"; -require_once "resources/check_auth.php"; -require_once "resources/check_auth.php"; -if (permission_exists('script_editor_view')) { - //access granted -} -else { - echo "access denied"; - exit; -} +//includes + include "root.php"; + require_once "resources/require.php"; + require_once "resources/check_auth.php"; -require_once "header.php"; +//check permissions + if (permission_exists('script_editor_view')) { + //access granted + } + else { + echo "access denied"; + exit; + } + +//include the header + require_once "header.php"; //add multi-lingual support $language = new text; @@ -155,7 +158,7 @@ echo "\n"; echo "\n"; echo "
\n"; -echo "\n"; +echo "\n"; $sql = "select * from v_clips order by clip_folder asc, clip_name asc"; $database = new database; @@ -217,5 +220,7 @@ if (is_array($result) && @sizeof($result) != 0) { echo "
\n"; +//inclue the footer require_once "footer.php"; -?> \ No newline at end of file + +?>