[www-doc] [Git][VideoLAN.org/websites][master] use right quotes
Christoph Miebach
gitlab at videolan.org
Mon Jan 16 19:31:04 CET 2017
Christoph Miebach pushed to branch master at VideoLAN organization / websites
Commits:
ccebf139 by Christoph Miebach at 2017-01-16T13:31:01-05:00
use right quotes
- - - - -
1 changed file:
- www.videolan.org/index.php
Changes:
=====================================
www.videolan.org/index.php
=====================================
--- a/www.videolan.org/index.php
+++ b/www.videolan.org/index.php
@@ -267,7 +267,7 @@ include($_SERVER["DOCUMENT_ROOT"] . "/include/magpierss/rss_fetch.inc");
$entries_per_column = 5;
$columns = 1;
foreach ($rss->items as $item) {
- echo '<p dir='ltr' style="border-bottom: 1px dashed #CCC;padding-bottom:5px;margin-bottom:5px; text-align: left;">';
+ echo '<p dir="ltr" style="border-bottom: 1px dashed #CCC;padding-bottom:5px;margin-bottom:5px; text-align: left;">';
echo preg_replace(array('^(http://\S+)^is', '^(https://\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++;
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/ccebf1398c7305224b9cc497f3250e01bfe2e384
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20170116/4ece1482/attachment.html>
More information about the www-doc
mailing list