diff --git a/app/contacts/contacts.php b/app/contacts/contacts.php index 47b82a07d0..2277e2ff3a 100644 --- a/app/contacts/contacts.php +++ b/app/contacts/contacts.php @@ -17,23 +17,27 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2015 + Portions created by the Initial Developer are Copyright (C) 2008-2016 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ -require_once "root.php"; -require_once "resources/require.php"; -require_once "resources/check_auth.php"; -require_once "resources/paging.php"; -if (permission_exists('contact_view')) { - //access granted -} -else { - echo "access denied"; - exit; -} + +//includes + require_once "root.php"; + require_once "resources/require.php"; + require_once "resources/check_auth.php"; + require_once "resources/paging.php"; + +//check permissions + if (permission_exists('contact_view')) { + //access granted + } + else { + echo "access denied"; + exit; + } //add multi-lingual support $language = new text; @@ -194,29 +198,27 @@ else { //show the content echo "\n"; echo " \n"; - echo " \n"; - echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; echo " \n"; echo "
\n"; - echo " ".$text['header-contacts']."\n"; - echo "

"; - echo " ".$text['description-contacts']."

\n"; - echo "
\n"; - echo " \n"; - echo " \n"; - echo " \n"; + echo " \n"; + echo " \n"; + echo " \n"; if ($paging_controls_mini != '') { - echo " \n"; + echo " \n"; } - echo " \n"; - echo "
\n"; - echo "
\n"; - echo " \n"; - echo " \n"; + echo "
\n"; + echo " ".$text['header-contacts']."\n"; + echo "

"; + echo "
\n"; + echo " \n"; + echo " \n"; + echo " \n"; if (permission_exists('contact_add')) { echo "\n"; } - echo " \n"; - echo " ".$paging_controls_mini."".$paging_controls_mini."
\n"; - echo "
\n"; + echo " ".$text['description-contacts']."

\n"; + echo "
\n"; echo "
\n"; @@ -286,4 +288,4 @@ else { //include the footer require_once "resources/footer.php"; -?> \ No newline at end of file +?>