More refactoring.
authoranuko <support@anuko.com>
Tue, 7 Feb 2017 01:04:41 +0000 (01:04 +0000)
committeranuko <support@anuko.com>
Tue, 7 Feb 2017 01:04:41 +0000 (01:04 +0000)
WEB-INF/lib/form/Form.class.php
WEB-INF/templates/footer.tpl

index 250f531..0fcbd62 100644 (file)
@@ -38,14 +38,13 @@ class Form {
   var $name = '';
   // TODO: refactoring ongoing down from here.
 
-       var $mId           = "";
     var $error;
        var $debugFunction;
        var $mElements     = array();
        var $mRequest;
     
-    function __construct($formid) {
-        $this->name = $formid;
+    function __construct($formName) {
+        $this->name = $formName;
     }
     
     function setRequest(&$request) {
@@ -67,12 +66,8 @@ class Form {
        // name
        // onsubmit
        // onreset
-       function setName($value) { $this->name = $value; }
     function getName() { return $this->name; }
     
-    function setId($value) { $this->mId = $value; }
-    function getId() { return $this->mId; }
-    
     function isSubmit()        {
        if (!isset($this->mRequest)) return false;
         $result = false;
@@ -246,9 +241,6 @@ class Form {
        function toStringOpenTag() {
         $html = "<form name=\"$this->name\"";
         
-        if ($this->mId!="") 
-            $html .= " id=\"$this->mId\"";
-            
         $html .= ' method="post"';
         
         // Add enctype for file upload forms.
index 78db278..34cdc72 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.9.36.3569 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.9.36.3570 | 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>