Code Duplication    Length = 4-4 lines in 4 locations

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

@@ 149-152 (lines=4) @@
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'];
151
                $configured[]                                                              = 'statusbar_location';
152
            }
153
154
            if (isset($this->config['path_location'])) {
155
                $this->setting['theme_' . $this->setting['theme'] . '_path_location'] = $this->config['path_location'];
@@ 154-157 (lines=4) @@
151
                $configured[]                                                              = 'statusbar_location';
152
            }
153
154
            if (isset($this->config['path_location'])) {
155
                $this->setting['theme_' . $this->setting['theme'] . '_path_location'] = $this->config['path_location'];
156
                $configured[]                                                         = 'path_location';
157
            }
158
159
            if (isset($this->config['resize_horizontal'])) {
160
                $this->setting['theme_' . $this->setting['theme'] . '_resize_horizontal'] = $this->config['resize_horizontal'];
@@ 159-162 (lines=4) @@
156
                $configured[]                                                         = 'path_location';
157
            }
158
159
            if (isset($this->config['resize_horizontal'])) {
160
                $this->setting['theme_' . $this->setting['theme'] . '_resize_horizontal'] = $this->config['resize_horizontal'];
161
                $configured[]                                                             = 'resize_horizontal';
162
            }
163
164
            if (isset($this->config['resizing'])) {
165
                $this->setting['theme_' . $this->setting['theme'] . '_resizing'] = $this->config['resizing'];
@@ 164-167 (lines=4) @@
161
                $configured[]                                                             = 'resize_horizontal';
162
            }
163
164
            if (isset($this->config['resizing'])) {
165
                $this->setting['theme_' . $this->setting['theme'] . '_resizing'] = $this->config['resizing'];
166
                $configured[]                                                    = 'resizing';
167
            }
168
169
            if (!empty($this->config['fonts'])) {
170
                $this->setting['theme_' . $this->setting['theme'] . '_fonts'] = $this->config['fonts'];