projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added paid checkbox to desktop time edit page.
[timetracker.git]
/
WEB-INF
/
lib
/
form
/
TextArea.class.php
diff --git
a/WEB-INF/lib/form/TextArea.class.php
b/WEB-INF/lib/form/TextArea.class.php
index
9e8515f
..
be884f0
100644
(file)
--- a/
WEB-INF/lib/form/TextArea.class.php
+++ b/
WEB-INF/lib/form/TextArea.class.php
@@
-29,8
+29,6
@@
import('form.FormElement');
class TextArea extends FormElement {
import('form.FormElement');
class TextArea extends FormElement {
- var $mColumns = "";
- var $mRows = "";
var $mOnKeyPress = "";
function __construct($name)
var $mOnKeyPress = "";
function __construct($name)
@@
-39,12
+37,6
@@
class TextArea extends FormElement {
$this->name = $name;
}
$this->name = $name;
}
- function setColumns($value) { $this->mColumns = $value; }
- function getColumns() { return $this->mColumns; }
-
- function setRows($value) { $this->mRows = $value; }
- function getRows() { return $this->mRows; }
-
function getHtml() {
if (empty($this->id))
function getHtml() {
if (empty($this->id))
@@
-52,13
+44,7
@@
class TextArea extends FormElement {
$html = "\n\t<textarea";
$html .= " name=\"$this->name\" id=\"$this->id\"";
$html = "\n\t<textarea";
$html .= " name=\"$this->name\" id=\"$this->id\"";
-
- if ($this->mColumns!="")
- $html .= " cols=\"$this->mColumns\"";
-
- if ($this->mRows!="")
- $html .= " rows=\"$this->mRows\"";
-
+
if ($this->max_length!="") {
if ($this->mOnKeyPress) $this->mOnKeyPress .= ";";
$this->mOnKeyPress .= "return validateMaxLenght_".$this->name."(this, event);";
if ($this->max_length!="") {
if ($this->mOnKeyPress) $this->mOnKeyPress .= ";";
$this->mOnKeyPress .= "return validateMaxLenght_".$this->name."(this, event);";