summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-12 19:46:07 +0300
committerAndrew Dolgov <[email protected]>2010-01-12 19:46:07 +0300
commitcf9dc03257dd08df4b58ff476e6115666a6b7e12 (patch)
treee8c8065f23b7443a6b7c9198013c4f21700bbade /modules/popup-dialog.php
parent58b9d4759e563ef4fbd8b9294f2bec924dcef92f (diff)
rework the way published feed is displayed; css cleanups
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index ea3ff8135..e75d8a9ad 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -3,6 +3,33 @@
$id = $_REQUEST["id"];
$param = db_escape_string($_REQUEST["param"]);
+ if ($id == "pubUrl") {
+
+ print "<div id=\"infoBoxTitle\">".__('Published Articles')."</div>";
+ print "<div class=\"infoBoxContents\">";
+
+ $url_path = article_publish_url($link);
+
+ print __("Your Published articles feed URL is:");
+
+ print "<div class=\"tagCloudContainer\">";
+ print "<a id='pub_feed_url' href='$url_path' target='_blank'>$url_path</a>";
+ print "</div>";
+
+ print "<div align='center'>";
+
+ print "<button onclick=\"return pubRegenKey()\">".
+ __('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>";