Some renaming.
authoranuko <support@anuko.com>
Tue, 28 Feb 2017 16:09:46 +0000 (16:09 +0000)
committeranuko <support@anuko.com>
Tue, 28 Feb 2017 16:09:46 +0000 (16:09 +0000)
WEB-INF/lib/form/Calendar.class.php
WEB-INF/lib/form/Checkbox.class.php
WEB-INF/lib/form/CheckboxGroup.class.php
WEB-INF/lib/form/Combobox.class.php
WEB-INF/lib/form/DateField.class.php
WEB-INF/lib/form/FormElement.class.php
WEB-INF/lib/form/TextArea.class.php
WEB-INF/lib/form/TextField.class.php
WEB-INF/templates/footer.tpl

index a64a035..e9d5097 100644 (file)
@@ -73,7 +73,7 @@ class Calendar extends FormElement {
       $this->weekStartDay = $user->week_start;
     }
 
-    function setStyle($style) { $this->mStyle = $style; }
+    function setStyle($style) { $this->style = $style; }
     function setCellStyle($style) { $this->mCellStyle = $style; }
     function setACellStyle($style) { $this->mACellStyle = $style; }
     function setLinkStyle($style) { $this->mLinkStyle = $style; }
index d79e5fe..7a49a6f 100644 (file)
@@ -56,8 +56,8 @@ class Checkbox extends FormElement {
                if ($this->on_change!="")
                   $html .= " onchange=\"$this->on_change\"";
                   
-               if ($this->mStyle!="")
-                  $html .= " style=\"$this->mStyle\"";
+               if ($this->style!="")
+                  $html .= " style=\"$this->style\"";
 
                if ($this->mChecked || (($this->value == $this->mOptions) && ($this->value != null)))
                   $html .= " checked=\"true\"";
index 13f207d..21a9e35 100644 (file)
@@ -132,7 +132,7 @@ class CheckboxGroup extends FormElement {
            }
            
            
-           $html = "\n\t<table style=\"".$this->mStyle."\"><tr><td align=\"center\" bgcolor=\"eeeeee\">\n";
+           $html = "\n\t<table style=\"".$this->style."\"><tr><td align=\"center\" bgcolor=\"eeeeee\">\n";
            $html .= '<a href="#" onclick="setAll'.$this->getName().'(true);return false;">'.$this->lSelAll.'</a>&nbsp;/&nbsp;<a href="#" onclick="setAll'.$this->getName().'(false);return false;">'.$this->lSelNone.'</a>';
            $html .= "</td></tr>\n";
            $html .= "<tr><td>";
index 78bd996..1908194 100644 (file)
@@ -82,8 +82,8 @@ class Combobox extends FormElement {
                if ($this->on_change!="")
                   $html .= " onchange=\"$this->on_change\"";
                   
-               if ($this->mStyle!="")
-                  $html .= " style=\"$this->mStyle\"";
+               if ($this->style!="")
+                  $html .= " style=\"$this->style\"";
                 
                 if (!$this->isEnable())
                   $html .= " disabled";
index 87f9ee8..b85632d 100644 (file)
@@ -398,8 +398,8 @@ class DateField extends TextField {
       if ($this->size!="")
         $html .= " size=\"$this->size\"";
 
-      if ($this->mStyle!="")
-         $html .= " style=\"$this->mStyle\"";
+      if ($this->style!="")
+         $html .= " style=\"$this->style\"";
 
         $html .= " maxlength=\"50\"";
 
index 7e20739..384dbeb 100644 (file)
@@ -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 $style = '';      // Control style.
 
   // TODO: refactoring ongoing down from here.
-       var $mStyle         = "";
        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 setStyle($value)       { $this->mStyle = $value; }
-       function getStyle() { return $this->mStyle; }
+       function setStyle($value) { $this->style = $value; }
+       function getStyle() { return $this->style; }
        
        function setRenderable($flag)   { $this->mRenderable = $flag;   }
        function isRenderable() { return $this->mRenderable; }
index 8a4e20a..784803b 100644 (file)
@@ -70,8 +70,8 @@ class TextArea extends FormElement {
                        $html .= " maxlength=\"$this->max_length\"";
                }
 
-               if ($this->mStyle!="")
-                  $html .= " style=\"$this->mStyle\"";
+               if ($this->style!="")
+                  $html .= " style=\"$this->style\"";
 
                if ($this->mOnKeyPress) {
                        $html .= " onkeypress=\"$this->mOnKeyPress\"";
index 82d6af2..e4d5865 100644 (file)
@@ -57,8 +57,8 @@ class TextField extends FormElement {
                        if ($this->size!="")
                          $html .= " size=\"$this->size\"";
                          
-                       if ($this->mStyle!="")
-                          $html .= " style=\"$this->mStyle\"";
+                       if ($this->style!="")
+                          $html .= " style=\"$this->style\"";
                          
                        if ($this->max_length!="")
                           $html .= " maxlength=\"$this->max_length\"";
index 8e76d6e..22ef890 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.10.38.3603 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.10.38.3604 | Copyright &copy; <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>