$indate = $this->value;
if (!$indate) $indate = strftime(DB_DATEFORMAT);
- if (!$this->isRenderable()) return "";
-
//current year and month
if ( strlen ( $indate ) > 0 ) {
$indateObj = new DateAndTime(DB_DATEFORMAT, $indate);
function setData($value) { $this->mOptions = $value; }
function getData() { return $this->mOptions; }
- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
+ function toStringControl() {
+
if ($this->id=="") $this->id = $this->name;
$html = "\n\t<input type=\"checkbox\"";
$this->lSelNone = $i18n->getKey('label.select_none');
}
- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
+ function toStringControl() {
+
if ($this->id=="") $this->id = $this->name;
$renderArray = array();
function getDataKeys() { return $this->mDataKeys; }
- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
+ function toStringControl() {
+
if ($this->id=="") $this->id = $this->name;
$html = "\n\t<select";
}
}
- function toStringControl() {
- if (!$this->isRenderable()) return "";
+ function toStringControl() {
if (!$this->isEnable()) {
$html = htmlspecialchars($this->getValue()).
var $style = ''; // Control style.
// TODO: refactoring ongoing down from here.
- var $mRenderable = true;
var $mEnabled = true;
var $cClassName = "FormElement";
var $mI18n = null;
function setStyle($value) { $this->style = $value; }
function getStyle() { return $this->style; }
-
- function setRenderable($flag) { $this->mRenderable = $flag; }
- function isRenderable() { return $this->mRenderable; }
-
+
function setEnable($flag) { $this->mEnabled = $flag; }
function isEnable() { return $this->mEnabled; }
$this->value = $value;
}
- function toStringControl() {
- if (!$this->isRenderable()) return "";
+ function toStringControl() {
if ($this->id=="") $this->id = $this->name;
}
function _process() {
- $this->mProccessed = true;
+ $this->mProccessed = true;
- if ($this->mInteractive) {
+ if ($this->mInteractive) {
// Add a column of clickable checkboxes.
$column = new TableColumn("","<input type=\"checkbox\" name=\"".$this->getName()."_all\" onclick=\"setAll(this.checked)\">");
import('form.CheckboxCellRenderer');
}
function toStringControl() {
- if (!$this->isRenderable()) return "";
if (!$this->mProccessed) $this->_process();
$html = "";
function setRows($value) { $this->mRows = $value; }
function getRows() { return $this->mRows; }
- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
+ function toStringControl() {
+
if ($this->id=="") $this->id = $this->mName;
$js_maxlen = "";
function setAsPassword($name) { $this->mPassword = $name; }
function getAsPassword() { return $this->mPassword; }
- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
+ function toStringControl() {
if (!$this->isEnable()) {
$html = "<input name=\"$this->name\" value=\"".htmlspecialchars($this->getValue())."\" readonly>\n";
} else {
function setMaxSize($value) { $this->mMaxSize = $value; }
function getMaxSize() { return $this->mMaxSize; }
- function toStringControl() {
- if (!$this->isRenderable()) return "";
-
- if ($this->id=="") $this->id = $this->name;
+ function toStringControl() {
+
+ if ($this->id=="") $this->id = $this->name;
$html = "\n\t<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"".$this->mMaxSize."\"/>";
$html .= "\n\t<input";
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.10.38.3604 | Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.10.38.3605 | 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>