projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More usage of PasswordField element type.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
Form.class.php
diff --git
a/WEB-INF/lib/form/Form.class.php
b/WEB-INF/lib/form/Form.class.php
index
868a3b3
..
1beb590
100644
(file)
--- a/
WEB-INF/lib/form/Form.class.php
+++ b/
WEB-INF/lib/form/Form.class.php
@@
-59,7
+59,6
@@
class Form {
import('form.TextField');
$el = new TextField($arguments['name']);
$el->setMaxLength(@$arguments['maxlength']);
import('form.TextField');
$el = new TextField($arguments['name']);
$el->setMaxLength(@$arguments['maxlength']);
- if (isset($arguments['aspassword'])) $el->setAsPassword($arguments['aspassword']);
break;
case 'password':
break;
case 'password':
@@
-69,8
+68,7
@@
class Form {
break;
// TODO: refactoring ongoing down from here.
break;
// TODO: refactoring ongoing down from here.
-// aspassword - change this name to something better? Perhaps.
-// Change $arguments to something better too (maybe). $args or $params?
+// Change $arguments to something better (maybe). $args or $params?
case "datefield":
import('form.DateField');
$el = new DateField($arguments["name"]);
case "datefield":
import('form.DateField');
$el = new DateField($arguments["name"]);