Code Duplication    Length = 4-4 lines in 4 locations

htdocs/class/xoopseditor/xinha/plugins/ExtendedFileManager/images.php 4 locations

@@ 107-110 (lines=4) @@
104
			    	<?php if ($IMConfig['allow_rename']) { ?>
105
			                    <a href="#" title="Rename" onclick="renameDir('<?php echo rawurlencode($dir['entry']);?>'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_rename.gif" height="15" width="15" alt="Rename" border="0" /></a>
106
			        <?php }  ?>
107
    				<?php if ($IMConfig['allow_cut_copy_paste']) { ?>
108
                    <a href="#" title="Cut" onclick="copyDir('<?php echo rawurlencode($dir['entry']);?>','move'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_cut.gif" height="15" width="15" alt="Cut" /></a>
109
                     <a href="#" title="Copy" onclick="copyDir('<?php echo rawurlencode($dir['entry']);?>','copy'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_copy.gif" height="15" width="15" alt="Copy" /></a>
110
     		   		<?php }  ?>
111
    			</td>
112
    			</tr>
113
    		  <?php
@@ 148-151 (lines=4) @@
145
        			<?php if ($IMConfig['allow_rename']) { ?>
146
                    <a href="#" title="Rename" onclick="renameFile('<?php echo rawurlencode($file['relative']);?>'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_rename.gif" height="15" width="15" alt="Rename" border="0" /></a>
147
                    <?php }  ?>
148
        			<?php if ($IMConfig['allow_cut_copy_paste']) { ?>
149
                    <a href="#" title="Cut" onclick="copyFile('<?php echo rawurlencode($entry);?>','move'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_cut.gif" height="15" width="15" alt="Cut" /></a>
150
                     <a href="#" title="Copy" onclick="copyFile('<?php echo rawurlencode($entry);?>','copy'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_copy.gif" height="15" width="15" alt="Copy" /></a>
151
                    <?php }  ?>
152
                  </td>
153
                </tr>
154
    		  <?php
@@ 189-192 (lines=4) @@
186
    	<?php if ($IMConfig['allow_rename']) { ?>
187
                    <a href="#" title="Rename" onclick="renameDir('<?php echo rawurlencode($dir['entry']);?>'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_rename.gif" height="15" width="15" alt="Rename" border="0" /></a>
188
        <?php }  ?>
189
        <?php if ($IMConfig['allow_cut_copy_paste']) { ?>
190
                    <a href="#" title="Cut" onclick="copyDir('<?php echo rawurlencode($dir['entry']);?>','move'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_cut.gif" height="15" width="15" alt="Cut" /></a>
191
                     <a href="#" title="Copy" onclick="copyDir('<?php echo rawurlencode($dir['entry']);?>','copy'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_copy.gif" height="15" width="15" alt="Copy" /></a>
192
        <?php }  ?>
193
      </div>
194
    </div>
195
    		  <?php
@@ 230-233 (lines=4) @@
227
        			<?php if ($IMConfig['allow_rename']) { ?>
228
                    <a href="#" title="Rename" onclick="renameFile('<?php echo rawurlencode($file['relative']);?>'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_rename.gif" height="15" width="15" alt="Rename" /></a>
229
                    <?php $thisFileNameLength -= 3; }  ?>
230
                	<?php if ($IMConfig['allow_cut_copy_paste']) { ?>
231
                    <a href="#" title="Cut" onclick="copyFile('<?php echo rawurlencode($entry);?>','move'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_cut.gif" height="15" width="15" alt="Cut" /></a>
232
                     <a href="#" title="Copy" onclick="copyFile('<?php echo rawurlencode($entry);?>','copy'); return false;"><img src="<?php print $IMConfig['base_url'];?>img/edit_copy.gif" height="15" width="15" alt="Copy" /></a>
233
                    <?php $thisFileNameLength -= 6; }  ?>
234
            		
235
                  </div>
236
                </div>