From 335147e572c8557751c0a035647a7ad729b43674 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 22 Feb 2019 10:48:56 +0300 Subject: dialogs: use semantic markup instead of dlgsec stuff continue unifying quoting style for html strings --- classes/dlg.php | 52 +++++++++++++++++++++++++--------------------------- 1 file changed, 25 insertions(+), 27 deletions(-) (limited to 'classes/dlg.php') diff --git a/classes/dlg.php b/classes/dlg.php index 89b88825e..4489af51a 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -14,7 +14,7 @@ class Dlg extends Handler_Protected { } function importOpml() { - print __("If you have imported labels and/or filters, you might need to reload preferences to see your new data.") . "

"; + print_notice("If you have imported labels and/or filters, you might need to reload preferences to see your new data."); print "
"; @@ -24,11 +24,11 @@ class Dlg extends Handler_Protected { print "
"; - print "
"; - print ""; - print "
"; + print ""; print ""; @@ -38,25 +38,25 @@ class Dlg extends Handler_Protected { function pubOPMLUrl() { $url_path = Opml::opml_publish_url(); - print "
" . __("Your Public OPML URL is:") . "
"; + print "
" . __("Your Public OPML URL is:") . "
"; - print "
"; + print "
"; print "
"; print "$url_path"; print "
"; - print "
"; + print ""; - print "
"; + print "
"; - print " "; - print ""; - print "
"; + print ""; //return; } @@ -84,12 +84,10 @@ class Dlg extends Handler_Protected { print ""; - print "
"; - + print "
"; print ""; - - print "
"; + print ""; //return; } @@ -149,11 +147,11 @@ class Dlg extends Handler_Protected { print ""; - print "
"; - print ""; - print "
"; + print ""; } @@ -169,15 +167,15 @@ class Dlg extends Handler_Protected { $feed_title = Feeds::getFeedTitle($feed_id, $is_cat); - print "
".T_sprintf("%s can be accessed via the following secret URL:", $feed_title)."
"; + print "
".T_sprintf("%s can be accessed via the following secret URL:", $feed_title)."
"; - print "
"; + print "
"; print "
"; print "$url_path"; print "
"; - print "
"; + print ""; - print "
"; + print "
"; print ""; @@ -188,7 +186,7 @@ class Dlg extends Handler_Protected { print ""; - print "
"; + print ""; //return; } @@ -197,12 +195,12 @@ class Dlg extends Handler_Protected { print_warning(__("You are using default tt-rss password. Please change it in the Preferences (Personal data / Authentication).")); - print "
"; - print " "; - print ""; - print "
"; + print ""; } } -- cgit v1.2.3-54-g00ecf