Cosmetics : remove spaces at the end of lines and correct lines with more than 80 chars

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1643 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2014-08-01 07:11:14 +00:00
parent e823248ff7
commit 9fef934b71
29 changed files with 87 additions and 78 deletions

View File

@@ -143,8 +143,8 @@ die ("FORM/VERIFY : UNUSED and dirty\n");
$ret[$field->name] = $message;
$field->error = $message;
break;
}
}
}
}
}
if ($this->debug)
{
@@ -395,7 +395,7 @@ die ("FORM/VERIFY : UNUSED and dirty\n");
$res .= " <option value='";
$res .= htmlspecialchars ($key, ENT_QUOTES)."'";
if (isset ($values[$field->name]) &&
is_string ($values[$field->name]) &&
is_string ($values[$field->name]) &&
$values[$field->name] == $key)
$res .= " selected='selected'";
elseif (isset ($values[$field->name]) &&
@@ -408,7 +408,7 @@ die ("FORM/VERIFY : UNUSED and dirty\n");
}
$res .= " </select>\n";
if (isset ($errors[$field->name]))
if (isset ($errors[$field->name]))
$res .= " <span class='help-block'>".$errors[$field->name][1].
"</span>\n";
}
@@ -495,7 +495,7 @@ die ("FORM/VERIFY : UNUSED and dirty\n");
return $res;
}
/** Check the token from the user
/** Check the token from the user
@param string $tokenFromUser The value form the user's token */
public function checkToken ($tokenFromUser)
{