[Lambda-cvs] lambda stylesheet.css,NONE,1.1 index.php,1.4,1.5
Status: Pre-Alpha
Brought to you by:
ariejan
From: Ariejan de V. <ar...@us...> - 2004-07-07 14:46:23
|
Update of /cvsroot/lambda/lambda In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15540 Modified Files: index.php Added Files: stylesheet.css Log Message: * Added login() function to determine if a client/admin is logged in * Added stylesheet * Updated index.php to show login box when no login, or redirect to my.php * Updated header.tpl --- NEW FILE: stylesheet.css --- body { background-color: #FFFFFF; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; color: #000000; } Index: index.php =================================================================== RCS file: /cvsroot/lambda/lambda/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.php 7 Jul 2004 13:59:26 -0000 1.4 --- index.php 7 Jul 2004 14:46:14 -0000 1.5 *************** *** 12,16 **** include('includes/bootstrap.php'); ! $template->display("page.tpl"); ?> \ No newline at end of file --- 12,21 ---- include('includes/bootstrap.php'); ! if(!$session->login()) { ! $content = $template->fetch("login_box.tpl"); ! } else { ! header("Location: my.php"); ! } + $template->show("page.tpl"); ?> \ No newline at end of file |