$html = "\n\t<select";
$html .= " name=\"$this->name\" id=\"$this->id\"";
- if ($this->mSize!="")
- $html .= " size=\"$this->mSize\"";
+ if ($this->size!="")
+ $html .= " size=\"$this->size\"";
if ($this->mMultiple)
$html .= " multiple";
$html .= "\n\t<input type=\"text\"";
$html .= " name=\"$this->name\" id=\"$this->id\"";
- if ($this->mSize!="")
- $html .= " size=\"$this->mSize\"";
+ if ($this->size!="")
+ $html .= " size=\"$this->size\"";
if ($this->mStyle!="")
$html .= " style=\"$this->mStyle\"";
var $name;
var $form_name = '';
var $value = '';
+ var $size = '';
+ var $max_length = '';
// TODO: refactoring ongoing down from here.
- var $mSize = "";
- var $mMaxLength = "";
var $mTabindex = "";
var $mAccesskey = "";
var $mOnSelect = "";
function setValueSafe($value) { $this->value = $value;}
function getValueSafe() { return $this->value; }
- function setId($id) { $this->id = $id; }
+ function setId($id) { $this->id = $id; }
function getId() { return $this->id; }
- function setSize($value) { $this->mSize = $value; }
- function getSize() { return $this->mSize; }
+ function setSize($value) { $this->size = $value; }
+ function getSize() { return $this->size; }
function setLabel($label) { $this->mLabel = $label; }
function getLabel() { return $this->mLabel; }
- function setMaxLength($value) { $this->mMaxLength = $value; }
- function getMaxLength() { return $this->mMaxLength; }
+ function setMaxLength($value) { $this->max_length = $value; }
+ function getMaxLength() { return $this->max_length; }
- function setTabindex($value) { $this->mTabindex = $value; }
+ function setTabindex($value) { $this->mTabindex = $value; }
function getTabindex() { return $this->mTabindex; }
- function setAccesskey($value) { $this->mAccesskey = $value; }
+ function setAccesskey($value) { $this->mAccesskey = $value; }
function getAccesskey() { return $this->mAccesskey; }
function setStyle($value) { $this->mStyle = $value; }
if ($this->mRows!="")
$html .= " rows=\"$this->mRows\"";
- if ($this->mMaxLength!="") {
+ if ($this->max_length!="") {
if ($this->mOnKeyPress) $this->mOnKeyPress .= ";";
$this->mOnKeyPress .= "return validateMaxLenght_".$this->name."(this, event);";
$js_maxlen = $this->getExtraScript();
- $html .= " maxlength=\"$this->mMaxLength\"";
+ $html .= " maxlength=\"$this->max_length\"";
}
if ($this->mStyle!="")
$s = "<script>\n";
$s .= "var isNS4 = (navigator.appName==\"Netscape\")?1:0;\n";
$s .= "function validateMaxLenght_".$this->name."(element, event) {\n";
- $s .= "\tmaxlength=".$this->mMaxLength.";\n";
+ $s .= "\tmaxlength=".$this->max_length.";\n";
$s .= "\tvar iKey = (!isNS4?event.keyCode:event.which);\n";
//$s .= "alert(iKey);";
$s .= "\tvar re = new RegExp(\"".'\r\n'."\",\"g\");\n";
$html .= ( $this->mPassword ? " type=\"password\"" : " type=\"text\"");
$html .= " name=\"$this->name\" id=\"$this->id\"";
- if ($this->mSize!="")
- $html .= " size=\"$this->mSize\"";
+ if ($this->size!="")
+ $html .= " size=\"$this->size\"";
if ($this->mStyle!="")
$html .= " style=\"$this->mStyle\"";
- if ($this->mMaxLength!="")
- $html .= " maxlength=\"$this->mMaxLength\"";
+ if ($this->max_length!="")
+ $html .= " maxlength=\"$this->max_length\"";
if ($this->mOnChange!="")
$html .= " onchange=\"$this->mOnChange\"";
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.10.38.3595 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.10.38.3596 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>