Code Duplication    Length = 5-5 lines in 3 locations

class/APCal_xoops.php 2 locations

@@ 408-412 (lines=5) @@
405
                    }
406
407
                    // $day_start ���꤬������Ρ�24:00�ʹߤν���
408
                    if ($event->is_start_date && $bottomtime_of_day - $event->start <= $this->day_start) {
409
                        $start_desc = $this->get_middle_hi($start, true);
410
                    } else {
411
                        $start_desc = $this->get_middle_hi($start);
412
                    }
413
414
                    if ($event->is_end_date) {
415
                        // $day_start ���꤬������Ρ�24:00�ʹߤν���
@@ 416-420 (lines=5) @@
413
414
                    if ($event->is_end_date) {
415
                        // $day_start ���꤬������Ρ�24:00�ʹߤν���
416
                        if ($bottomtime_of_day - $event->end <= $this->day_start) {
417
                            $end_desc = $this->get_middle_hi($end, true);
418
                        } else {
419
                            $end_desc = $this->get_middle_hi($end);
420
                        }
421
                    } else {
422
                        $end_desc = $this->get_middle_md($end);
423
                    }

class/APCal.php 1 location

@@ 4314-4318 (lines=5) @@
4311
            $end   = $event->end + $tzoffset;
4312
4313
            // $day_start ���꤬������Ρ�24:00�ʹߤν���
4314
            if ($event->is_start_date && $event->start >= $border_for_2400) {
4315
                $start_desc = $this->get_middle_hi($start, true);
4316
            } else {
4317
                $start_desc = $this->get_middle_hi($start);
4318
            }
4319
4320
            if ($event->is_end_date && $event->end >= $border_for_2400) {
4321
                $end_desc = $this->get_middle_hi($end, true);