Update gettext : add spaces
DomCi : remove line too longs on all the files git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@5280 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
26
auth.php
26
auth.php
@@ -26,7 +26,7 @@ class auth
|
||||
$res .= "<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" ";
|
||||
$res .= " lang=\"en\">\n";
|
||||
$res .= "<head>\n";
|
||||
$res .= "<title>".dgettext("domframework", "Sign in")."</title>\n";
|
||||
$res .= "<title>".dgettext ("domframework", "Sign in")."</title>\n";
|
||||
$res .= "<meta http-equiv='Content-Type' content='text/html;charset=UTF-8'";
|
||||
$res .= " />\n";
|
||||
$res .= " <style type='text/css'>\n";
|
||||
@@ -100,21 +100,21 @@ 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 .= " <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))
|
||||
@@ -144,7 +144,7 @@ class auth
|
||||
*/
|
||||
public function connect ()
|
||||
{
|
||||
throw new \Exception (dgettext("domframework",
|
||||
throw new \Exception (dgettext ("domframework",
|
||||
"No connect to authentication available"),
|
||||
405);
|
||||
}
|
||||
@@ -157,7 +157,7 @@ class auth
|
||||
*/
|
||||
public function authentication ($email, $password)
|
||||
{
|
||||
throw new exception (dgettext("domframework",
|
||||
throw new exception (dgettext ("domframework",
|
||||
"No authentication available"), 405);
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ class auth
|
||||
*/
|
||||
public function getdetails ()
|
||||
{
|
||||
throw new exception (dgettext("domframework",
|
||||
throw new exception (dgettext ("domframework",
|
||||
"No getdetails available"), 405);
|
||||
}
|
||||
|
||||
@@ -176,7 +176,7 @@ class auth
|
||||
*/
|
||||
public function changepassword ($oldpassword, $newpassword)
|
||||
{
|
||||
throw new exception (dgettext("domframework",
|
||||
throw new exception (dgettext ("domframework",
|
||||
"No password change available"), 405);
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@ class auth
|
||||
*/
|
||||
public function overwritepassword ($email, $newpassword)
|
||||
{
|
||||
throw new exception (dgettext("domframework",
|
||||
throw new exception (dgettext ("domframework",
|
||||
"No password overwrite available"), 405);
|
||||
}
|
||||
|
||||
@@ -197,7 +197,7 @@ class auth
|
||||
*/
|
||||
public function listusers ()
|
||||
{
|
||||
throw new exception (dgettext("domframework",
|
||||
throw new exception (dgettext ("domframework",
|
||||
"No List User available"), 405);
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ class auth
|
||||
*/
|
||||
public function logout ()
|
||||
{
|
||||
throw new exception (dgettext("domframework",
|
||||
throw new exception (dgettext ("domframework",
|
||||
"No logout method available"), 405);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user