From 478a6fd4bf2e9b203f3231e591967facb35e723e Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Tue, 1 May 2001 09:15:40 +0000 Subject: [PATCH] Remove some stray spaces --- index.php | 8 ++++---- login.php | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/index.php b/index.php index 4e0d092f0a..101cd331da 100755 --- a/index.php +++ b/index.php @@ -103,15 +103,15 @@ else { $phpgw->common->phpgw_header(); - echo parse_navbar(); + echo parse_navbar(); } - + // $phpgw->hooks->proccess("location","mainscreen"); // $phpgw->preferences->read_preferences("addressbook"); // $phpgw->preferences->read_preferences("email"); // $phpgw->preferences->read_preferences("calendar"); // $phpgw->preferences->read_preferences("stocks"); - + $phpgw->db->query("select app_version from phpgw_applications where app_name='admin'",__LINE__,__FILE__); $phpgw->db->next_record(); @@ -122,7 +122,7 @@ . ""; } - $phpgw->translation->add_app("mainscreen"); + $phpgw->translation->add_app("mainscreen"); if (lang("mainscreen_message") != "mainscreen_message*") { echo "
" . stripslashes(lang("mainscreen_message")) . "
"; diff --git a/login.php b/login.php index be154663c6..ed12bcf397 100755 --- a/login.php +++ b/login.php @@ -134,22 +134,22 @@ # the username is deliberately lowercase, to ease LDAP integration $sslattribs = explode("/",$HTTP_SERVER_VARS["SSL_CLIENT_S_DN"]); # skip the part in front of the first "/" (nothing) - while ($sslattrib = next($sslattribs)) + while ($sslattrib = next($sslattribs)) { - list($key,$val) = explode("=",$sslattrib); - $sslattributes[$key] = $val; - } + list($key,$val) = explode("=",$sslattrib); + $sslattributes[$key] = $val; + } - if (isset($sslattributes["Email"])) + if (isset($sslattributes["Email"])) { $submit = True; # login will be set here if the user logged out and uses a different username with # the same SSL-certificate. if (!isset($login)&&isset($sslattributes["Email"])) { - $login = $sslattributes["Email"]; - # not checked against the database, but delivered to authentication module - $passwd = $HTTP_SERVER_VARS["SSL_CLIENT_S_DN"]; + $login = $sslattributes["Email"]; + # not checked against the database, but delivered to authentication module + $passwd = $HTTP_SERVER_VARS["SSL_CLIENT_S_DN"]; } } unset ($key,$val,$sslattributes);