From 7fec9e24e61b856bd67ed58421445a0eb878e446 Mon Sep 17 00:00:00 2001 From: anuko Date: Mon, 8 Jan 2018 18:19:09 +0000 Subject: [PATCH] Removed obsolete code. --- WEB-INF/lib/form/TextArea.class.php | 22 ---------------------- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/WEB-INF/lib/form/TextArea.class.php b/WEB-INF/lib/form/TextArea.class.php index a9c0c800..9e8515f9 100644 --- a/WEB-INF/lib/form/TextArea.class.php +++ b/WEB-INF/lib/form/TextArea.class.php @@ -50,8 +50,6 @@ class TextArea extends FormElement { if (empty($this->id)) $this->id = $this->name; - $js_maxlen = ""; - $html = "\n\tname\" id=\"$this->id\""; @@ -64,7 +62,6 @@ class TextArea extends FormElement { if ($this->max_length!="") { if ($this->mOnKeyPress) $this->mOnKeyPress .= ";"; $this->mOnKeyPress .= "return validateMaxLenght_".$this->name."(this, event);"; - $js_maxlen = $this->getExtraScript(); $html .= " maxlength=\"$this->max_length\""; } @@ -76,26 +73,7 @@ class TextArea extends FormElement { } $html .= ">".htmlspecialchars($this->getValue()).""; - if ($js_maxlen) $html = $js_maxlen."\n".$html; return $html; } - - function getExtraScript() { - $s = "\n"; - return $s; - } } diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index b62eb7da..e35be904 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.13.11.3731 | Copyright © Anuko | +  Anuko Time Tracker 1.13.11.3732 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1