From 9d2ee5fd928dc253e34ca6a0e0be92b1fa041240 Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Sun, 9 Dec 2012 11:17:44 -0800 Subject: bootstrap: fixed login/register, footer, and navbar * made navbar smaller, added icons, icons only (for smaller screen) * fixed login screen --- include/output.php | 50 +++++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 27 deletions(-) (limited to 'include/output.php') diff --git a/include/output.php b/include/output.php index fa61c87..c267b0c 100644 --- a/include/output.php +++ b/include/output.php @@ -443,16 +443,16 @@ function output_footer() echo "\n\n"; echo "\n\n"; echo ''; @@ -474,7 +474,8 @@ function output_navbar() if(isset($_SESSION['name'])) { - $name = $_SESSION['name']; + $name = $_SESSION['name']; + $email = DB_get_email('name',$name); /* last logon time */ $myid = DB_get_userid('name',$name); @@ -489,28 +490,23 @@ function output_navbar() $token = get_user_token($myid); /* logout info */ - echo "\n
\n"; - echo "
\n"; - echo " E-DoKo\n"; - echo " \n"; - echo "
\n"; - echo "
\n\n"; + echo "\n
\n"; + echo " E-DoKo\n"; + echo " \n"; + echo "
\n"; echo "
"._('last login').": ".date("r",$unixtime)."
\n\n"; } -- cgit v1.2.3-18-g5258