From f73f9902e51376cd8fb327cb49343d3a585f5255 Mon Sep 17 00:00:00 2001 From: anuko Date: Tue, 28 Feb 2017 14:11:24 +0000 Subject: [PATCH] Refactoring. Moved a member out of base class. --- WEB-INF/lib/form/FormElement.class.php | 1 - WEB-INF/lib/form/TextArea.class.php | 3 ++- WEB-INF/templates/footer.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WEB-INF/lib/form/FormElement.class.php b/WEB-INF/lib/form/FormElement.class.php index f2d0c920..a752aa5b 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 $mOnKeyPress = ""; // This is only used in TextArea, consider moving out of the base class. var $mOnFocus = ""; var $mLabel = ""; var $mStyle = ""; diff --git a/WEB-INF/lib/form/TextArea.class.php b/WEB-INF/lib/form/TextArea.class.php index 89eef4e5..8a4e20a5 100644 --- a/WEB-INF/lib/form/TextArea.class.php +++ b/WEB-INF/lib/form/TextArea.class.php @@ -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="") { diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 86d50496..b53659f9 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.10.38.3600 | Copyright © Anuko | +  Anuko Time Tracker 1.10.38.3601 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.39.5