1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-23 12:41:28 +00:00

localization updates

This commit is contained in:
Andrew Dolgov
2007-08-10 05:25:06 +01:00
parent ef1ac7c73a
commit f56e308090
9 changed files with 191 additions and 104 deletions

View File

@@ -3855,7 +3855,11 @@
$feed_title = $qfh_ret[1];
$feed_site_url = $qfh_ret[2];
$last_error = $qfh_ret[3];
if ($feed == -2) {
$feed_site_url = article_publish_url($link);
}
/// STOP //////////////////////////////////////////////////////////////////////////////////
if (!$offset) {
@@ -4208,4 +4212,14 @@
return sha1(uniqid(rand(), true));
}
function article_publish_url($link) {
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . \
parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$url_path .= "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY");
return $url_path;
}
?>