1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 18:39:14 +00:00

simplify dlgSec-related markup

This commit is contained in:
Andrew Dolgov
2019-02-20 14:37:59 +03:00
parent 6701497879
commit 4d9141d762
15 changed files with 402 additions and 254 deletions

View File

@@ -38,12 +38,16 @@ class Dlg extends Handler_Protected {
function pubOPMLUrl() {
$url_path = Opml::opml_publish_url();
print __("Your Public OPML URL is:");
print "<div class='dlgSec'>" . __("Your Public OPML URL is:") . "</div>";
print "<div class='dlgSecCont'>";
print "<div class='panel text-center'>";
print "<a id='pub_opml_url' href='$url_path' target='_blank'>$url_path</a>";
print "</div>";
print "</div>";
print "<div align='center'>";
print "<button dojoType=\"dijit.form.Button\" onclick=\"return Helpers.OPML.changeKey()\">".
@@ -165,11 +169,13 @@ class Dlg extends Handler_Protected {
$feed_title = Feeds::getFeedTitle($feed_id, $is_cat);
print "<div>".T_sprintf("%s can be accessed via the following secret URL:", $feed_title)."</div>";
print "<div class='dlgSec'>".T_sprintf("%s can be accessed via the following secret URL:", $feed_title)."</div>";
print "<div class='dlgSecCont'>";
print "<div class='panel text-center'>";
print "<a id='gen_feed_url' href='$url_path' target='_blank'>$url_path</a>";
print "</div>";
print "</div>";
print "<div align='center'>";
@@ -196,4 +202,4 @@ class Dlg extends Handler_Protected {
__('Close this window')."</button>";
print "</div>";
}
}
}