Update phrases.php
This commit is contained in:
parent
0cd7f5a461
commit
e4e59e2b4e
|
|
@ -24,9 +24,16 @@
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include "root.php";
|
//includes
|
||||||
require_once "resources/require.php";
|
include "root.php";
|
||||||
require_once "resources/check_auth.php";
|
require_once "resources/require.php";
|
||||||
|
require_once "resources/check_auth.php";
|
||||||
|
|
||||||
|
//check the permission
|
||||||
|
if (!permission_exists('phrase_view')) {
|
||||||
|
echo "access denied";
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
//add multi-lingual support
|
//add multi-lingual support
|
||||||
$language = new text;
|
$language = new text;
|
||||||
|
|
@ -36,12 +43,6 @@ require_once "resources/check_auth.php";
|
||||||
$order_by = $_GET["order_by"];
|
$order_by = $_GET["order_by"];
|
||||||
$order = $_GET["order"];
|
$order = $_GET["order"];
|
||||||
|
|
||||||
//check the permission
|
|
||||||
if (!permission_exists('phrase_view')) {
|
|
||||||
echo "access denied";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
//add paging
|
//add paging
|
||||||
require_once "resources/paging.php";
|
require_once "resources/paging.php";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue