Commit 27d2d8f4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

NEWS: cool URI don't changes

Using the count with a document where data is prepended is not a good idea...

parent e6c7ef23
......@@ -59,9 +59,9 @@
}
else { echo ("<div class='item-really-old'>\n"); }
$postdate = date("Y-m-d", strtotime( $date) );
echo "<a id='news-$postdate' href=\"/news.html?$count#news-$count\"></a>";
echo "<a id='news-$postdate' name='news-$postdate'></a>";
echo ("<div class='title'>".$title."</div>\n" );
echo ("<div class='title'><a href=\"/news.html#news-$postdate\">".$title."</a></div>\n" );
//echo "<div id=\"news-$count\">";
echo ("<div class='date'>".$postdate."</div>\n");
echo "<p class='news-descr'>".$short;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment