1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-23 11:46:37 +02:00

adding a dialog for revealing the OPML url

This commit is contained in:
Matt Katz 2010-04-09 19:21:34 -04:00
parent b2a653c37f
commit 03b7473df4

View File

@ -1494,11 +1494,19 @@
if (!get_pref($link, "_PREFS_PUBLISH_KEY")) {
set_pref($link, "_PREFS_PUBLISH_KEY", generate_publish_key());
}
if (!get_pref($link, "_PREFS_OPML_PUBLISH_KEY")){
set_pref($link, "_PREFS_OPML_PUBLISH_KEY", generate_publish_key());
print "<p>".__('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the URL specified below.')."</p>";
print "<button onclick=\"return displayDlg('pubUrl')\">".
__('Display URL')."</button> ";
print "<p>".__('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.')."</p>";
print "<button onclick=\"return displayDlg('pubOPMLUrl')\">".
__('Display URL')."</button> ";
}