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

Twitts are always in LTR

parent ce66b611
......@@ -451,7 +451,7 @@ function vlcscreenshot($img,$thumb, $desc){
$entries_per_column = 4;
$columns = 1;
foreach($rss->items as $item) {
echo "<p style=\"border-bottom: 1px dashed #CCC;padding-bottom:5px;margin-bottom:5px\">";
echo '<p style="border-bottom: 1px dashed #CCC;padding-bottom:5px;margin-bottom:5px;direction:ltr:">';
echo preg_replace('^(http://\S+)^is', '<a href="$1">$1</a>', str_replace("videolan:", "<b>".date("Y-m-d h:i",strtotime($item['pubdate']))."</b>", $item['title']));
echo "</p>";
$i++;
......
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