diff options
author | Andrew Dolgov <[email protected]> | 2019-02-20 14:37:59 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-02-20 14:37:59 +0300 |
commit | 4d9141d7623bc44b6d13aaa2b8b53d63b27819bd (patch) | |
tree | 10707a9dad640073dddaed11353633a55f32a48b /classes/dlg.php | |
parent | 6701497879d3e6c9e895cfcd56fb2d7a9297686d (diff) |
simplify dlgSec-related markup
Diffstat (limited to 'classes/dlg.php')
-rw-r--r-- | classes/dlg.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/classes/dlg.php b/classes/dlg.php index fa2b01156..cd8de206b 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -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>"; } -}
\ No newline at end of file +} |