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:
@@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user