From 03b7473df4fe70fc9d634ee32ad67735d5dfc752 Mon Sep 17 00:00:00 2001 From: Matt Katz Date: Fri, 9 Apr 2010 19:21:34 -0400 Subject: [PATCH] adding a dialog for revealing the OPML url --- modules/pref-feeds.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index fc72c01f2..7f46c3535 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 " "; }