Refactoring - removed reference return types from a couple of functions to keep thing...
authoranuko <support@anuko.com>
Thu, 16 Feb 2017 21:16:17 +0000 (21:16 +0000)
committeranuko <support@anuko.com>
Thu, 16 Feb 2017 21:16:17 +0000 (21:16 +0000)
WEB-INF/lib/form/Form.class.php
WEB-INF/templates/footer.tpl

index b37903c..8bf3eca 100644 (file)
@@ -42,24 +42,19 @@ class Form {
     $this->name = $formName;
   }
 
-  // TODO: refactoring ongoing down from here.
+  function getElement($name) {
+    return $this->elements[$name];
+  }
 
-    function &getElement($name) {
-       return $this->elements[$name];
-    }
-    
-    function &getElements() {
-       return $this->elements;
-    }
+  function getElements() {
+    return $this->elements;
+  }
+
+  function getName() { return $this->name; }
     
-       //// FORM element
-       // action
-       // method - GET, POST
-       // enctype - enctype="multipart/form-data"
-       // name
-       // onsubmit
-       // onreset
-    function getName() { return $this->name; }
+  // TODO: refactoring ongoing down from here.
+
+
 
        //// INPUT element
        // type = TEXT | PASSWORD | CHECKBOX | RADIO | SUBMIT | RESET | FILE | HIDDEN | IMAGE | BUTTON
index fe95f10..6714afe 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.3586 | 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.3587 | 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>