Code Duplication    Length = 2-3 lines in 2 locations

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

@@ 2399-2400 (lines=2) @@
2396
2397
		echo "<tr>";
2398
2399
		for($ii = 1; $ii < 8; $ii ++)
2400
			echo "<td class=\"weekdays\">", $DaysShort[$ii % 7], "</td>";
2401
2402
		echo "</tr>";
2403

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

@@ 3158-3160 (lines=3) @@
3155
        $html .= '</div>';
3156
        $html .= '<table id="agenda_list2" class="table table-bordered">';
3157
        $html .= '<tr>';
3158
        for ($ii = 1; $ii < 8; $ii ++) {
3159
            $html .= '<td class="weekdays">'.$DaysShort[$ii % 7].'</td>';
3160
        }
3161
        $html .= '</tr>';
3162
3163
        $curday = -1;