Commit e6c7ef23 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix the <a id tags

parent c966a717
......@@ -58,11 +58,12 @@
echo ("<div class='item'>\n");
else { echo ("<div class='item-really-old'>\n"); }
echo "<a id='news-$count' href=\"/news.html?$count#news-$count\"></a>";
$postdate = date("Y-m-d", strtotime( $date) );
echo "<a id='news-$postdate' href=\"/news.html?$count#news-$count\"></a>";
echo ("<div class='title'>".$title."</div>\n" );
//echo "<div id=\"news-$count\">";
echo ("<div class='date'>".date("Y-m-d", strtotime( $date) )."</div>\n");
echo ("<div class='date'>".$postdate."</div>\n");
echo "<p class='news-descr'>".$short;
if( isset($remain) )
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