1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 01:25:55 +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

@@ -306,11 +306,8 @@
print "<rpc-reply>";
set_pref($link, "_PREFS_PUBLISH_KEY", generate_publish_key());
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . \
parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
$new_link = $url_path . "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY");
$new_link = article_publish_url($link);
print "<link><![CDATA[$new_link]]></link>";

View File

@@ -1052,10 +1052,7 @@
print "<p>".__('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the address specified below.')."</p>";
$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");
$url_path = article_publish_url($link);
print "<p class=\"small\"><a id=\"pubGenAddress\" target=\"_new\" href=\"$url_path\">$url_path</a></p>";