Code Duplication    Length = 5-7 lines in 2 locations

manager/actions/document_data.static.php 1 location

@@ 174-180 (lines=7) @@
171
			default:
172
				if($children['isfolder']) {
173
					$icon = $_style['tree_folder_new'];
174
				} else {
175
					if(isset($icons[$children['contentType']])) {
176
						$icon = $icons[$children['contentType']];
177
					} else {
178
						$icon = $_style['tree_page'];
179
					}
180
				}
181
		}
182
183
		$private = ($children['privateweb'] || $children['privatemgr'] ? ' private' : '');

manager/frames/nodes.functions.inc.php 1 location

@@ 214-218 (lines=5) @@
211
                    $icon = $_style['tree_page_info'];
212
                    break;
213
                default:
214
                    if (isset($icons[$row['contentType']])) {
215
                        $icon = $icons[$row['contentType']];
216
                    } else {
217
                        $icon = $_style['tree_page'];
218
                    }
219
            }
220
            $ph['icon'] = $icon;
221