Code Duplication    Length = 10-10 lines in 3 locations

class/APCal.php 3 locations

@@ 649-658 (lines=10) @@
646
            }
647
648
            // ͽ����ɲáʱ�ɮ���������
649
            if ($this->insertable) {
650
                $ret .= "
651
           <dl>
652
             <dt>
653
               &nbsp; <span style='font-size: x-small; '><a href='$get_target?smode=Daily&amp;action=Edit&amp;caldate=$this->caldate'><img src='$this->images_url/addevent.gif' border='0' width='14' height='12' />"
654
                        . _APCAL_MB_ADDEVENT
655
                        . "</a></span>
656
             </dt>
657
           </dl>\n";
658
            }
659
660
            return $ret;
661
        }
@@ 745-754 (lines=10) @@
742
            }
743
744
            // ͽ����ɲáʱ�ɮ���������
745
            if ($this->insertable) {
746
                $ret .= "
747
           <dl>
748
             <dt>
749
               &nbsp; <span style='font-size: x-small; '><a href='$get_target?smode=Daily&amp;action=Edit&amp;caldate=$this->caldate'><img src='$this->images_url/addevent.gif' border='0' width='14' height='12' />"
750
                        . _APCAL_MB_ADDEVENT
751
                        . "</a></span>
752
             </dt>
753
           </dl>\n";
754
            }
755
756
            return $ret;
757
        }
@@ 2198-2207 (lines=10) @@
2195
            }
2196
2197
            // ͽ����ɲáʱ�ɮ���������
2198
            if ($this->insertable) {
2199
                $ret .= "
2200
           <tr>
2201
             <td valign='bottom' colspan='2'>
2202
               &nbsp; <span style='font-size: x-small; '><a href='$get_target?cid=$this->now_cid&amp;smode=Daily&amp;action=Edit&amp;caldate=$this->caldate'><img src='$this->images_url/addevent.gif' border='0' width='14' height='12' />"
2203
                        . _APCAL_MB_ADDEVENT
2204
                        . "</a></span>
2205
             </td>
2206
           </tr>\n";
2207
            }
2208
2209
            $ret .= "
2210
         </table>