diff options
author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-26 21:52:17 -0500 |
---|---|---|
committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-26 21:52:17 -0500 |
commit | a0701d581dfa39113c1af68637118d99d5a0822a (patch) | |
tree | 17858862321c09316dbbeb9038695a8815406e2a /includes/classes.php | |
parent | 6d28ed7cd510621e571da1d5a20848d58d079f53 (diff) | |
download | bayonetcms-a0701d581dfa39113c1af68637118d99d5a0822a.tar.gz |
commit just prior to some pure insanity.
implementing theme system
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@463 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'includes/classes.php')
-rw-r--r-- | includes/classes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/classes.php b/includes/classes.php index 33794c2..0042c95 100644 --- a/includes/classes.php +++ b/includes/classes.php @@ -68,13 +68,13 @@ class BayonetForm echo "<input type=\"reset\" value=\"{$value}\" />\n";
}
- function textField($extern_name, $value = NULL, $isPassword = false)
+ function textField($extern_name, $value = NULL, $isPassword = false, $size = NULL, $max = NULL)
{
$type = 'text';
if($isPassword) $type = 'password';
$value = filter_var($value, FILTER_SANITIZE_STRING);
- echo "<input type=\"{$type}\" name=\"{$extern_name}\" value=\"$value\" />\n";
+ echo "<input type=\"{$type}\" name=\"{$extern_name}\" value=\"$value\" size=\"{$size}\" maxLength=\"{$max}\" />\n";
}
function radioButton($extern_name, $value, $isChecked = false)
|