From 25a685e7beae8f1557dbfd126dead99ea6191dc0 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 5 Jan 2013 05:37:11 +0000 Subject: [PATCH] Update the user update link. --- index2.php | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/index2.php b/index2.php index cf04cf4439..3c91dc574d 100644 --- a/index2.php +++ b/index2.php @@ -53,6 +53,7 @@ echo "
"; //echo "\n"; //echo "
\n"; +//start the user table echo "\n"; echo "\n"; echo " \n"; @@ -62,19 +63,24 @@ echo "
"; echo " ".$text['label-name'].": \n"; echo " \n"; echo " \n"; echo "\n"; - echo "\n"; - echo " \n"; - echo " \n"; - echo "\n"; - echo "
".$text['title-table']." \n"; - echo " ".$_SESSION["username"]." \n"; + echo " ".$_SESSION["username"]." \n"; echo "
\n"; - echo " ".$text['label-voicemail'].": \n"; - echo " \n"; - echo " ".$text['label-view-messages']." \n"; - echo "
\n"; +//voicemail + if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/voicemails/voicemail_messages.php")) { + echo "\n"; + echo " \n"; + echo " ".$text['label-voicemail'].": \n"; + echo " \n"; + echo " \n"; + echo " ".$text['label-view-messages']." \n"; + echo " \n"; + echo "\n"; + } + +//end the table + echo "\n"; echo "
\n"; echo "
\n";