Cosmetics changes : remove ending lines spaces

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3012 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2016-08-31 07:20:24 +00:00
parent 94099866f6
commit a04d3a4f4a
35 changed files with 208 additions and 210 deletions

View File

@@ -28,7 +28,7 @@ class auth
$res .= "body { padding-top: 40px; padding-bottom: 40px;
font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
background-attachment: fixed; background-position: top;
background-image: radial-gradient(ellipse at center -60px,
background-image: radial-gradient(ellipse at center -60px,
#9da1ac 0%,#1c202a 100%);
background-color: #eee; }\n";
$res .= ".form-signin { max-width: 430px;padding:15px;margin:0 auto;}\n";
@@ -87,25 +87,25 @@ class auth
$res .= "'>\n";
if ($alreadyAuth === false)
{
$res .= " <h2 class='form-signin-heading'>".dgettext("domframework",
$res .= " <h2 class='form-signin-heading'>".dgettext("domframework",
"Please sign in");
$res .= "</h2>\n";
$res .= " <input type='text' class='form-control' name='email' ";
$res .= "placeholder='".dgettext("domframework",
$res .= "placeholder='".dgettext("domframework",
"Email address")."' required autofocus/>\n";
$res .= " <input type='password' class='form-control' name='password' ";
$res .= "placeholder='".dgettext("domframework",
$res .= "placeholder='".dgettext("domframework",
"Password")."' required/>\n";
// $res .= " <label class='checkbox'>";
// $res .= "<input type='checkbox' name='remember-me'/>".dgettext("domframework",
// $res .= "<input type='checkbox' name='remember-me'/>".dgettext("domframework",
// "Remember me");
// $res .= "</label>\n";
$res .= " <input type='submit' value='".dgettext("domframework",
$res .= " <input type='submit' value='".dgettext("domframework",
"Sign in")."'/>\n";
}
else
{
$res .= " <h2 class='form-signin-heading'>".dgettext("domframework",
$res .= " <h2 class='form-signin-heading'>".dgettext("domframework",
"Already sign in");
$res .= "</h2>\n";
if (is_string ($alreadyAuth))
@@ -129,7 +129,7 @@ class auth
/** Establish the connection to authentication server */
public function connect ()
{
throw new Exception (dgettext("domframework",
throw new Exception (dgettext("domframework",
"No connect to authentication available"),
405);
}
@@ -141,14 +141,14 @@ class auth
@param string $password Password to authenticate */
public function authentication ($email, $password)
{
throw new exception (dgettext("domframework",
throw new exception (dgettext("domframework",
"No authentication available"), 405);
}
/** Return all the parameters recorded for the authenticate user */
public function getdetails ()
{
throw new exception (dgettext("domframework",
throw new exception (dgettext("domframework",
"No getdetails available"), 405);
}
@@ -158,7 +158,7 @@ class auth
@param string $newpassword The new password to be recorded */
public function changepassword ($oldpassword, $newpassword)
{
throw new exception (dgettext("domframework",
throw new exception (dgettext("domframework",
"No password change available"), 405);
}
@@ -169,7 +169,7 @@ class auth
@param string $newpassword The new password to be recorded */
public function overwritepassword ($email, $newpassword)
{
throw new exception (dgettext("domframework",
throw new exception (dgettext("domframework",
"No password overwrite available"), 405);
}
@@ -177,7 +177,7 @@ class auth
Return firstname, lastname, mail, with mail is an array */
public function listusers ()
{
throw new exception (dgettext("domframework",
throw new exception (dgettext("domframework",
"No List User available"), 405);
}