Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 145-150 (lines=6) @@
142
            }
143
            $configured[] = 'buttons';
144
145
            if (isset($this->config['toolbar_location'])) {
146
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_location'] = $this->config['toolbar_location'];
147
                $configured[]                                                            = 'toolbar_location';
148
            } else {
149
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_location'] = 'top';
150
            }
151
152
            if (isset($this->config['toolbar_align'])) {
153
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_align'] = $this->config['toolbar_align'];
@@ 152-157 (lines=6) @@
149
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_location'] = 'top';
150
            }
151
152
            if (isset($this->config['toolbar_align'])) {
153
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_align'] = $this->config['toolbar_align'];
154
                $configured[]                                                         = 'toolbar_align';
155
            } else {
156
                $this->setting['theme_' . $this->setting['theme'] . '_toolbar_align'] = 'left';
157
            }
158
159
            if (isset($this->config['statusbar_location'])) {
160
                $this->setting['theme_' . $this->setting['theme'] . '_statusbar_location'] = $this->config['statusbar_location'];