From: anuko Date: Mon, 8 Jan 2018 18:19:09 +0000 (+0000) Subject: Removed obsolete code. X-Git-Tag: timetracker_1.19-1~1389 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7fec9e24e61b856bd67ed58421445a0eb878e446;p=timetracker.git Removed obsolete code. --- 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}