mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 05:25:56 +00:00
Added a new dialog section yes this is all copypasta
This commit is contained in:
@@ -185,6 +185,33 @@
|
|||||||
return;
|
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") {
|
if ($id == "explainError") {
|
||||||
|
|
||||||
print "<div id=\"infoBoxTitle\">".__('Notice')."</div>";
|
print "<div id=\"infoBoxTitle\">".__('Notice')."</div>";
|
||||||
|
|||||||
Reference in New Issue
Block a user