Code Duplication    Length = 6-6 lines in 2 locations

htdocs/class/xoopseditor/tinymce/tinymce.php 2 locations

@@ 135-140 (lines=6) @@
132
            }
133
            $configured[] = 'buttons';
134
135
            if (isset($this->config['toolbar_location'])) {
136
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_location'] = $this->config['toolbar_location'];
137
                $configured[]                                                            = 'toolbar_location';
138
            } else {
139
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_location'] = 'top';
140
            }
141
142
            if (isset($this->config['toolbar_align'])) {
143
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_align'] = $this->config['toolbar_align'];
@@ 142-147 (lines=6) @@
139
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_location'] = 'top';
140
            }
141
142
            if (isset($this->config['toolbar_align'])) {
143
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_align'] = $this->config['toolbar_align'];
144
                $configured[]                                                         = 'toolbar_align';
145
            } else {
146
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_align'] = 'left';
147
            }
148
149
            if (isset($this->config['statusbar_location'])) {
150
                $this->setting['theme_' . $this->setting['theme'] . '_statusbar_location'] = $this->config['statusbar_location'];