if ($this->on_change!="")
$html .= " onchange=\"$this->on_change\"";
- if ($this->mOnClick!="")
- $html .= " onclick=\"$this->mOnClick\"";
+ if ($this->on_click!="")
+ $html .= " onclick=\"$this->on_click\"";
if ($this->mOnFocus!="")
$html .= " onfocus=\"$this->mOnFocus\"";
var $size = ''; // Control size.
var $max_length = ''; // Max lenght of text in control.
var $on_change = ''; // What happens when value of control changes.
+ var $on_click = ''; // What happens when the control is clicked.
+
// TODO: refactoring ongoing down from here.
- var $mOnClick = "";
- var $mOnKeyPress = "";
+ var $mOnKeyPress = ""; // This is only used in TextArea, consider moving out of the base class.
var $mOnFocus = "";
var $mLabel = "";
var $mStyle = "";
function isEnable() { return $this->mEnabled; }
function setOnChange($str) { $this->on_change = $str; }
- function setOnClick($str) { $this->mOnClick = $str; }
+ function setOnClick($str) { $this->on_click = $str; }
function setLocalization($i18n) {
$this->mI18n = $i18n;
$html .= " value=\"$this->value\"";
- if ($this->mOnClick) {
- $html .= " onclick=\"".$this->mOnClick."\"";
+ if ($this->on_click) {
+ $html .= " onclick=\"".$this->on_click."\"";
}
$html .= ">";
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.10.38.3599 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.10.38.3600 | 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>