From: anuko Date: Mon, 20 Feb 2017 00:04:30 +0000 (+0000) Subject: Refactoring - removed unused tabindex. X-Git-Tag: timetracker_1.19-1~1555 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e358c96cac5953f33fec0570e68f99f61802a436;p=timetracker.git Refactoring - removed unused tabindex. --- diff --git a/WEB-INF/lib/form/Checkbox.class.php b/WEB-INF/lib/form/Checkbox.class.php index 6822adf7..428d4289 100644 --- a/WEB-INF/lib/form/Checkbox.class.php +++ b/WEB-INF/lib/form/Checkbox.class.php @@ -52,10 +52,7 @@ class Checkbox extends FormElement { $html = "\n\tname\" id=\"$this->id\""; - - if ($this->mTabindex!="") - $html .= " tabindex=\"$this->mTabindex\""; - + if ($this->mOnChange!="") $html .= " onchange=\"$this->mOnChange\""; diff --git a/WEB-INF/lib/form/Combobox.class.php b/WEB-INF/lib/form/Combobox.class.php index 4d8df251..a421b66a 100644 --- a/WEB-INF/lib/form/Combobox.class.php +++ b/WEB-INF/lib/form/Combobox.class.php @@ -78,10 +78,7 @@ class Combobox extends FormElement { if ($this->mMultiple) $html .= " multiple"; - - if ($this->mTabindex!="") - $html .= " tabindex=\"$this->mTabindex\""; - + if ($this->mOnChange!="") $html .= " onchange=\"$this->mOnChange\""; diff --git a/WEB-INF/lib/form/FormElement.class.php b/WEB-INF/lib/form/FormElement.class.php index 3cab655a..f8b92d6f 100644 --- a/WEB-INF/lib/form/FormElement.class.php +++ b/WEB-INF/lib/form/FormElement.class.php @@ -35,7 +35,6 @@ class FormElement { var $size = ''; var $max_length = ''; // TODO: refactoring ongoing down from here. - var $mTabindex = ""; var $mAccesskey = ""; var $mOnSelect = ""; var $mOnChange = ""; @@ -78,9 +77,6 @@ class FormElement { function setMaxLength($value) { $this->max_length = $value; } function getMaxLength() { return $this->max_length; } - function setTabindex($value) { $this->mTabindex = $value; } - function getTabindex() { return $this->mTabindex; } - function setAccesskey($value) { $this->mAccesskey = $value; } function getAccesskey() { return $this->mAccesskey; } diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 102c648b..5340fa46 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.10.38.3596 | Copyright © Anuko | +  Anuko Time Tracker 1.10.38.3597 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}