Code Duplication    Length = 2-3 lines in 2 locations

main/inc/lib/blog.lib.php 1 location

@@ 2412-2413 (lines=2) @@
2409
2410
        echo "<tr>";
2411
2412
        for($ii = 1; $ii < 8; $ii ++)
2413
            echo "<td class=\"weekdays\">", $DaysShort[$ii % 7], "</td>";
2414
2415
        echo "</tr>";
2416

main/inc/lib/agenda.lib.php 1 location

@@ 3758-3760 (lines=3) @@
3755
        $html .= '</div>';
3756
        $html .= '<table id="agenda_list2" class="table table-bordered">';
3757
        $html .= '<tr>';
3758
        for ($ii = 1; $ii < 8; $ii++) {
3759
            $html .= '<td class="weekdays">'.$DaysShort[$ii % 7].'</td>';
3760
        }
3761
        $html .= '</tr>';
3762
3763
        $curday = -1;