From: Matt Katz Date: Fri, 9 Apr 2010 23:21:34 +0000 (-0400) Subject: adding a dialog for revealing the OPML url X-Git-Tag: 1.4.2~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=03b7473df4fe70fc9d634ee32ad67735d5dfc752;p=tt-rss.git adding a dialog for revealing the OPML url --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index fc72c01f..7f46c353 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -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 "

".__('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the URL specified below.')."

"; print " "; + + print "

".__('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.')."

"; + + print " "; }