diff options
author | Matt Katz <[email protected]> | 2010-04-09 19:56:44 -0400 |
---|---|---|
committer | Matt Katz <[email protected]> | 2010-04-09 19:56:44 -0400 |
commit | c8640edadb151dbae7d23945264d09b502b67c10 (patch) | |
tree | 9b6bc295a5ef8640ec629de019193097f2cc46af /modules/popup-dialog.php | |
parent | e0dc56d4668afb759b8cdd8cbd7ee6094917b673 (diff) |
Added a new dialog section yes this is all copypasta
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r-- | modules/popup-dialog.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php index 81a795a01..a80d61287 100644 --- a/modules/popup-dialog.php +++ b/modules/popup-dialog.php @@ -185,6 +185,33 @@ return; } + if ($id == "pubOPMLUrl") { + + print "<div id=\"infoBoxTitle\">".__('Public OPML URL')."</div>"; + print "<div class=\"infoBoxContents\">"; + + $url_path = opml_publish_url($link); + + print __("Your Public OPML URL is:"); + + print "<div class=\"tagCloudContainer\">"; + print "<a id='pub_opml_url' href='$url_path' target='_blank'>$url_path</a>"; + print "</div>"; + + print "<div align='center'>"; + + print "<button onclick=\"return opmlRegenKey()\">". + __('Generate new URL')."</button> "; + + print "<input class=\"button\" + type=\"submit\" onclick=\"return closeInfoBox()\" + value=\"".__('Close this window')."\">"; + + print "</div></div>"; + + return; + } + if ($id == "explainError") { print "<div id=\"infoBoxTitle\">".__('Notice')."</div>"; |