Code Duplication    Length = 3-6 lines in 3 locations

htdocs/class/xoopseditor/xinha/plugins/ExtendedFileManager/images.php 1 location

@@ 145-147 (lines=3) @@
142
                 <?php
143
               }
144
             ?>
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>

htdocs/class/xoopseditor/xinha/plugins/ImageManager/images.php 2 locations

@@ 99-104 (lines=6) @@
96
                  }
97
                ?>
98
                <?php
99
                  if($IMConfig['allow_edit'])
100
                  {
101
                    ?>
102
                <a href="javascript:;" title="Edit" onclick="editImage('<?php echo rawurlencode($file['relative']);?>');"><img src="<?php print $IMConfig['base_url'];?>img/edit_pencil.gif" height="15" width="15" alt="Edit" border="0" /></a>
103
                    <?php
104
                  }
105
                ?>
106
              </td>
107
            </tr>
@@ 139-144 (lines=6) @@
136
      ?>
137
      
138
      <?php
139
        if($IMConfig['allow_edit'])
140
        {
141
          ?>
142
        <a href="javascript:;" title="Edit" onclick="editImage('<?php echo rawurlencode($file['relative']);?>');"><img src="<?php print $IMConfig['base_url'];?>img/edit_pencil.gif" height="15" width="15" alt="Edit" /></a>
143
          <?php
144
        }
145
      ?>
146
        <?php if($file['image']){ echo $file['image'][0].'x'.$file['image'][1]; } else echo $entry;?>
147
      </div>