fix tag display (caused by rtl checking)
This commit is contained in:
parent
ab1486d5ae
commit
2e915ba998
1 changed files with 16 additions and 10 deletions
|
@ -871,6 +871,8 @@
|
||||||
type=\"text/css\" href=\"tt-rss_compact.css\"/>";
|
type=\"text/css\" href=\"tt-rss_compact.css\"/>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (preg_match("/^-?[0-9][0-9]*$/", $feed) != false) {
|
||||||
|
|
||||||
$result = db_query($link, "SELECT rtl_content FROM ttrss_feeds
|
$result = db_query($link, "SELECT rtl_content FROM ttrss_feeds
|
||||||
WHERE id = '$feed' AND owner_uid = " . $_SESSION["uid"]);
|
WHERE id = '$feed' AND owner_uid = " . $_SESSION["uid"]);
|
||||||
|
|
||||||
|
@ -885,6 +887,10 @@
|
||||||
} else {
|
} else {
|
||||||
$rtl_tag = "";
|
$rtl_tag = "";
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$rtl_tag = "";
|
||||||
|
$rtl_content = false;
|
||||||
|
}
|
||||||
|
|
||||||
print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
|
print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">
|
||||||
<script type=\"text/javascript\" src=\"functions.js\"></script>
|
<script type=\"text/javascript\" src=\"functions.js\"></script>
|
||||||
|
|
Loading…
Reference in a new issue