Refactoring. Moved a member out of base class.
authoranuko <support@anuko.com>
Tue, 28 Feb 2017 14:11:24 +0000 (14:11 +0000)
committeranuko <support@anuko.com>
Tue, 28 Feb 2017 14:11:24 +0000 (14:11 +0000)
WEB-INF/lib/form/FormElement.class.php
WEB-INF/lib/form/TextArea.class.php
WEB-INF/templates/footer.tpl

index f2d0c92..a752aa5 100644 (file)
@@ -38,7 +38,6 @@ class FormElement {
   var $on_click = '';   // What happens when the control is clicked.
 
   // TODO: refactoring ongoing down from here.
-       var $mOnKeyPress        = ""; // This is only used in TextArea, consider moving out of the base class.
        var $mOnFocus           = "";
        var $mLabel         = "";
        var $mStyle         = "";
index 89eef4e..8a4e20a 100644 (file)
@@ -32,7 +32,8 @@ class TextArea extends FormElement {
     var $mPassword     = false;
     var $mColumns      = "";
     var $mRows         = "";
-    var $cClassName            = "TextArea";
+    var $cClassName    = "TextArea";
+    var $mOnKeyPress   = "";
 
        function __construct($name,$value="")
        {
index 86d5049..b53659f 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.3600 | 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.3601 | 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>