From 526ed56a0144e0602140dd7c65fe237f42a49e44 Mon Sep 17 00:00:00 2001 From: anuko Date: Tue, 28 Feb 2017 14:23:57 +0000 Subject: [PATCH] Removed unused member variable. --- WEB-INF/lib/form/DateField.class.php | 3 --- WEB-INF/lib/form/FormElement.class.php | 1 - WEB-INF/templates/footer.tpl | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/WEB-INF/lib/form/DateField.class.php b/WEB-INF/lib/form/DateField.class.php index 9035bffd..87f9ee82 100644 --- a/WEB-INF/lib/form/DateField.class.php +++ b/WEB-INF/lib/form/DateField.class.php @@ -409,9 +409,6 @@ class DateField extends TextField { if ($this->on_click!="") $html .= " onclick=\"$this->on_click\""; - if ($this->mOnFocus!="") - $html .= " onfocus=\"$this->mOnFocus\""; - $html .= " value=\"".htmlspecialchars($this->getValue())."\""; $html .= ">"; diff --git a/WEB-INF/lib/form/FormElement.class.php b/WEB-INF/lib/form/FormElement.class.php index a752aa5b..945fcfba 100644 --- a/WEB-INF/lib/form/FormElement.class.php +++ b/WEB-INF/lib/form/FormElement.class.php @@ -38,7 +38,6 @@ class FormElement { var $on_click = ''; // What happens when the control is clicked. // TODO: refactoring ongoing down from here. - var $mOnFocus = ""; var $mLabel = ""; var $mStyle = ""; var $mRenderable = true; diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index b53659f9..e6c1d4f3 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.10.38.3601 | Copyright © Anuko | +  Anuko Time Tracker 1.10.38.3602 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1