mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:25 +01:00
Remove some stray spaces
This commit is contained in:
parent
a4064929a9
commit
478a6fd4bf
@ -103,15 +103,15 @@
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
$phpgw->common->phpgw_header();
|
$phpgw->common->phpgw_header();
|
||||||
echo parse_navbar();
|
echo parse_navbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
// $phpgw->hooks->proccess("location","mainscreen");
|
// $phpgw->hooks->proccess("location","mainscreen");
|
||||||
// $phpgw->preferences->read_preferences("addressbook");
|
// $phpgw->preferences->read_preferences("addressbook");
|
||||||
// $phpgw->preferences->read_preferences("email");
|
// $phpgw->preferences->read_preferences("email");
|
||||||
// $phpgw->preferences->read_preferences("calendar");
|
// $phpgw->preferences->read_preferences("calendar");
|
||||||
// $phpgw->preferences->read_preferences("stocks");
|
// $phpgw->preferences->read_preferences("stocks");
|
||||||
|
|
||||||
$phpgw->db->query("select app_version from phpgw_applications where app_name='admin'",__LINE__,__FILE__);
|
$phpgw->db->query("select app_version from phpgw_applications where app_name='admin'",__LINE__,__FILE__);
|
||||||
$phpgw->db->next_record();
|
$phpgw->db->next_record();
|
||||||
|
|
||||||
@ -122,7 +122,7 @@
|
|||||||
. "</b>";
|
. "</b>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$phpgw->translation->add_app("mainscreen");
|
$phpgw->translation->add_app("mainscreen");
|
||||||
if (lang("mainscreen_message") != "mainscreen_message*")
|
if (lang("mainscreen_message") != "mainscreen_message*")
|
||||||
{
|
{
|
||||||
echo "<center>" . stripslashes(lang("mainscreen_message")) . "</center>";
|
echo "<center>" . stripslashes(lang("mainscreen_message")) . "</center>";
|
||||||
|
16
login.php
16
login.php
@ -134,22 +134,22 @@
|
|||||||
# the username is deliberately lowercase, to ease LDAP integration
|
# the username is deliberately lowercase, to ease LDAP integration
|
||||||
$sslattribs = explode("/",$HTTP_SERVER_VARS["SSL_CLIENT_S_DN"]);
|
$sslattribs = explode("/",$HTTP_SERVER_VARS["SSL_CLIENT_S_DN"]);
|
||||||
# skip the part in front of the first "/" (nothing)
|
# skip the part in front of the first "/" (nothing)
|
||||||
while ($sslattrib = next($sslattribs))
|
while ($sslattrib = next($sslattribs))
|
||||||
{
|
{
|
||||||
list($key,$val) = explode("=",$sslattrib);
|
list($key,$val) = explode("=",$sslattrib);
|
||||||
$sslattributes[$key] = $val;
|
$sslattributes[$key] = $val;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($sslattributes["Email"]))
|
if (isset($sslattributes["Email"]))
|
||||||
{
|
{
|
||||||
$submit = True;
|
$submit = True;
|
||||||
|
|
||||||
# login will be set here if the user logged out and uses a different username with
|
# login will be set here if the user logged out and uses a different username with
|
||||||
# the same SSL-certificate.
|
# the same SSL-certificate.
|
||||||
if (!isset($login)&&isset($sslattributes["Email"])) {
|
if (!isset($login)&&isset($sslattributes["Email"])) {
|
||||||
$login = $sslattributes["Email"];
|
$login = $sslattributes["Email"];
|
||||||
# not checked against the database, but delivered to authentication module
|
# not checked against the database, but delivered to authentication module
|
||||||
$passwd = $HTTP_SERVER_VARS["SSL_CLIENT_S_DN"];
|
$passwd = $HTTP_SERVER_VARS["SSL_CLIENT_S_DN"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset ($key,$val,$sslattributes);
|
unset ($key,$val,$sslattributes);
|
||||||
|
Loading…
Reference in New Issue
Block a user