projects
/
timetracker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
2d0b41f
)
Some renaming.
author
anuko
<support@anuko.com>
Tue, 28 Feb 2017 16:09:46 +0000
(16:09 +0000)
committer
anuko
<support@anuko.com>
Tue, 28 Feb 2017 16:09:46 +0000
(16:09 +0000)
WEB-INF/lib/form/Calendar.class.php
patch
|
blob
|
history
WEB-INF/lib/form/Checkbox.class.php
patch
|
blob
|
history
WEB-INF/lib/form/CheckboxGroup.class.php
patch
|
blob
|
history
WEB-INF/lib/form/Combobox.class.php
patch
|
blob
|
history
WEB-INF/lib/form/DateField.class.php
patch
|
blob
|
history
WEB-INF/lib/form/FormElement.class.php
patch
|
blob
|
history
WEB-INF/lib/form/TextArea.class.php
patch
|
blob
|
history
WEB-INF/lib/form/TextField.class.php
patch
|
blob
|
history
WEB-INF/templates/footer.tpl
patch
|
blob
|
history
diff --git
a/WEB-INF/lib/form/Calendar.class.php
b/WEB-INF/lib/form/Calendar.class.php
index
a64a035
..
e9d5097
100644
(file)
--- a/
WEB-INF/lib/form/Calendar.class.php
+++ b/
WEB-INF/lib/form/Calendar.class.php
@@
-73,7
+73,7
@@
class Calendar extends FormElement {
$this->weekStartDay = $user->week_start;
}
$this->weekStartDay = $user->week_start;
}
- function setStyle($style) { $this->
mS
tyle = $style; }
+ function setStyle($style) { $this->
s
tyle = $style; }
function setCellStyle($style) { $this->mCellStyle = $style; }
function setACellStyle($style) { $this->mACellStyle = $style; }
function setLinkStyle($style) { $this->mLinkStyle = $style; }
function setCellStyle($style) { $this->mCellStyle = $style; }
function setACellStyle($style) { $this->mACellStyle = $style; }
function setLinkStyle($style) { $this->mLinkStyle = $style; }
diff --git
a/WEB-INF/lib/form/Checkbox.class.php
b/WEB-INF/lib/form/Checkbox.class.php
index
d79e5fe
..
7a49a6f
100644
(file)
--- a/
WEB-INF/lib/form/Checkbox.class.php
+++ b/
WEB-INF/lib/form/Checkbox.class.php
@@
-56,8
+56,8
@@
class Checkbox extends FormElement {
if ($this->on_change!="")
$html .= " onchange=\"$this->on_change\"";
if ($this->on_change!="")
$html .= " onchange=\"$this->on_change\"";
- if ($this->
mS
tyle!="")
- $html .= " style=\"$this->
mS
tyle\"";
+ if ($this->
s
tyle!="")
+ $html .= " style=\"$this->
s
tyle\"";
if ($this->mChecked || (($this->value == $this->mOptions) && ($this->value != null)))
$html .= " checked=\"true\"";
if ($this->mChecked || (($this->value == $this->mOptions) && ($this->value != null)))
$html .= " checked=\"true\"";
diff --git
a/WEB-INF/lib/form/CheckboxGroup.class.php
b/WEB-INF/lib/form/CheckboxGroup.class.php
index
13f207d
..
21a9e35
100644
(file)
--- a/
WEB-INF/lib/form/CheckboxGroup.class.php
+++ b/
WEB-INF/lib/form/CheckboxGroup.class.php
@@
-132,7
+132,7
@@
class CheckboxGroup extends FormElement {
}
}
- $html = "\n\t<table style=\"".$this->
mS
tyle."\"><tr><td align=\"center\" bgcolor=\"eeeeee\">\n";
+ $html = "\n\t<table style=\"".$this->
s
tyle."\"><tr><td align=\"center\" bgcolor=\"eeeeee\">\n";
$html .= '<a href="#" onclick="setAll'.$this->getName().'(true);return false;">'.$this->lSelAll.'</a> / <a href="#" onclick="setAll'.$this->getName().'(false);return false;">'.$this->lSelNone.'</a>';
$html .= "</td></tr>\n";
$html .= "<tr><td>";
$html .= '<a href="#" onclick="setAll'.$this->getName().'(true);return false;">'.$this->lSelAll.'</a> / <a href="#" onclick="setAll'.$this->getName().'(false);return false;">'.$this->lSelNone.'</a>';
$html .= "</td></tr>\n";
$html .= "<tr><td>";
diff --git
a/WEB-INF/lib/form/Combobox.class.php
b/WEB-INF/lib/form/Combobox.class.php
index
78bd996
..
1908194
100644
(file)
--- a/
WEB-INF/lib/form/Combobox.class.php
+++ b/
WEB-INF/lib/form/Combobox.class.php
@@
-82,8
+82,8
@@
class Combobox extends FormElement {
if ($this->on_change!="")
$html .= " onchange=\"$this->on_change\"";
if ($this->on_change!="")
$html .= " onchange=\"$this->on_change\"";
- if ($this->
mS
tyle!="")
- $html .= " style=\"$this->
mS
tyle\"";
+ if ($this->
s
tyle!="")
+ $html .= " style=\"$this->
s
tyle\"";
if (!$this->isEnable())
$html .= " disabled";
if (!$this->isEnable())
$html .= " disabled";
diff --git
a/WEB-INF/lib/form/DateField.class.php
b/WEB-INF/lib/form/DateField.class.php
index
87f9ee8
..
b85632d
100644
(file)
--- a/
WEB-INF/lib/form/DateField.class.php
+++ b/
WEB-INF/lib/form/DateField.class.php
@@
-398,8
+398,8
@@
class DateField extends TextField {
if ($this->size!="")
$html .= " size=\"$this->size\"";
if ($this->size!="")
$html .= " size=\"$this->size\"";
- if ($this->
mS
tyle!="")
- $html .= " style=\"$this->
mS
tyle\"";
+ if ($this->
s
tyle!="")
+ $html .= " style=\"$this->
s
tyle\"";
$html .= " maxlength=\"50\"";
$html .= " maxlength=\"50\"";
diff --git
a/WEB-INF/lib/form/FormElement.class.php
b/WEB-INF/lib/form/FormElement.class.php
index
7e20739
..
384dbeb
100644
(file)
--- a/
WEB-INF/lib/form/FormElement.class.php
+++ b/
WEB-INF/lib/form/FormElement.class.php
@@
-37,9
+37,9
@@
class FormElement {
var $on_change = ''; // What happens when value of control changes.
var $on_click = ''; // What happens when the control is clicked.
var $label = ''; // Optional label for control.
var $on_change = ''; // What happens when value of control changes.
var $on_click = ''; // What happens when the control is clicked.
var $label = ''; // Optional label for control.
+ var $style = ''; // Control style.
// TODO: refactoring ongoing down from here.
// TODO: refactoring ongoing down from here.
- var $mStyle = "";
var $mRenderable = true;
var $mEnabled = true;
var $cClassName = "FormElement";
var $mRenderable = true;
var $mEnabled = true;
var $cClassName = "FormElement";
@@
-74,8
+74,8
@@
class FormElement {
function setMaxLength($value) { $this->max_length = $value; }
function getMaxLength() { return $this->max_length; }
function setMaxLength($value) { $this->max_length = $value; }
function getMaxLength() { return $this->max_length; }
- function setStyle($value)
{ $this->mS
tyle = $value; }
- function getStyle() { return $this->
mS
tyle; }
+ function setStyle($value)
{ $this->s
tyle = $value; }
+ function getStyle() { return $this->
s
tyle; }
function setRenderable($flag) { $this->mRenderable = $flag; }
function isRenderable() { return $this->mRenderable; }
function setRenderable($flag) { $this->mRenderable = $flag; }
function isRenderable() { return $this->mRenderable; }
diff --git
a/WEB-INF/lib/form/TextArea.class.php
b/WEB-INF/lib/form/TextArea.class.php
index
8a4e20a
..
784803b
100644
(file)
--- a/
WEB-INF/lib/form/TextArea.class.php
+++ b/
WEB-INF/lib/form/TextArea.class.php
@@
-70,8
+70,8
@@
class TextArea extends FormElement {
$html .= " maxlength=\"$this->max_length\"";
}
$html .= " maxlength=\"$this->max_length\"";
}
- if ($this->
mS
tyle!="")
- $html .= " style=\"$this->
mS
tyle\"";
+ if ($this->
s
tyle!="")
+ $html .= " style=\"$this->
s
tyle\"";
if ($this->mOnKeyPress) {
$html .= " onkeypress=\"$this->mOnKeyPress\"";
if ($this->mOnKeyPress) {
$html .= " onkeypress=\"$this->mOnKeyPress\"";
diff --git
a/WEB-INF/lib/form/TextField.class.php
b/WEB-INF/lib/form/TextField.class.php
index
82d6af2
..
e4d5865
100644
(file)
--- a/
WEB-INF/lib/form/TextField.class.php
+++ b/
WEB-INF/lib/form/TextField.class.php
@@
-57,8
+57,8
@@
class TextField extends FormElement {
if ($this->size!="")
$html .= " size=\"$this->size\"";
if ($this->size!="")
$html .= " size=\"$this->size\"";
- if ($this->
mS
tyle!="")
- $html .= " style=\"$this->
mS
tyle\"";
+ if ($this->
s
tyle!="")
+ $html .= " style=\"$this->
s
tyle\"";
if ($this->max_length!="")
$html .= " maxlength=\"$this->max_length\"";
if ($this->max_length!="")
$html .= " maxlength=\"$this->max_length\"";
diff --git
a/WEB-INF/templates/footer.tpl
b/WEB-INF/templates/footer.tpl
index
8e76d6e
..
22ef890
100644
(file)
--- a/
WEB-INF/templates/footer.tpl
+++ b/
WEB-INF/templates/footer.tpl
@@
-12,7
+12,7
@@
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
<br>
<table cellspacing="0" cellpadding="4" width="100%" border="0">
<tr>
- <td align="center"> Anuko Time Tracker 1.10.38.360
3
| Copyright © <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+ <td align="center"> Anuko Time Tracker 1.10.38.360
4
| 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>
<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>