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 --- plugins/af_psql_trgm/init.php | 17 ++++++++--------- plugins/af_readability/init.php | 6 +++--- plugins/import_export/init.php | 15 +++++++-------- plugins/mail/init.php | 15 +++++++-------- plugins/mailto/init.php | 6 +++--- plugins/note/init.php | 11 ++++------- plugins/share/init.php | 10 +++++----- 7 files changed, 37 insertions(+), 43 deletions(-) (limited to 'plugins') diff --git a/plugins/af_psql_trgm/init.php b/plugins/af_psql_trgm/init.php index 255c91a0f..f8e4db834 100644 --- a/plugins/af_psql_trgm/init.php +++ b/plugins/af_psql_trgm/init.php @@ -107,9 +107,9 @@ class Af_Psql_Trgm extends Plugin { } - print "
"; - print ""; - print "
"; + print ""; } @@ -214,8 +214,8 @@ class Af_Psql_Trgm extends Plugin { } function hook_prefs_edit_feed($feed_id) { - print "
".__("Similarity (pg_trgm)")."
"; - print "
"; + print "
".__("Similarity (pg_trgm)")."
"; + print "
"; $enabled_feeds = $this->host->get($this, "enabled_feeds"); if (!array($enabled_feeds)) $enabled_feeds = array(); @@ -225,13 +225,12 @@ class Af_Psql_Trgm extends Plugin { print "
"; - print ""; + print ""; print "
"; - print "
"; + print ""; } function hook_prefs_save_feed($feed_id) { diff --git a/plugins/af_readability/init.php b/plugins/af_readability/init.php index c44ad89ef..694c3782e 100755 --- a/plugins/af_readability/init.php +++ b/plugins/af_readability/init.php @@ -104,8 +104,8 @@ class Af_Readability extends Plugin { } function hook_prefs_edit_feed($feed_id) { - print "
".__("Readability")."
"; - print "
"; + print "
".__("Readability")."
"; + print "
"; $enabled_feeds = $this->host->get($this, "enabled_feeds"); if (!is_array($enabled_feeds)) $enabled_feeds = array(); @@ -121,7 +121,7 @@ class Af_Readability extends Plugin { print ""; - print "
"; + print ""; } function hook_prefs_save_feed($feed_id) { diff --git a/plugins/import_export/init.php b/plugins/import_export/init.php index c49426f9f..9f2aa18c4 100755 --- a/plugins/import_export/init.php +++ b/plugins/import_export/init.php @@ -437,24 +437,23 @@ class Import_Export extends Plugin implements IHandler { print "

You need to prepare exported data first by clicking the button below.

"; - print "
"; - print ""; - print ""; - print "
"; - - + print ""; } function dataImport() { header("Content-Type: text/html"); # required for iframe - print "
"; + print "
"; if ($_FILES['export_file']['error'] != 0) { print_error(T_sprintf("Upload failed with error code %d (%s)", @@ -486,7 +485,7 @@ class Import_Export extends Plugin implements IHandler { } } - print ""; diff --git a/plugins/mail/init.php b/plugins/mail/init.php index 72d8a65c2..e85053566 100644 --- a/plugins/mail/init.php +++ b/plugins/mail/init.php @@ -162,22 +162,21 @@ class Mail extends Plugin { print ""; - print ""; + print ""; print ""; - print ""; print ""; - print "
"; - print " "; - print ""; - print "
"; + print "
"; + print " "; + print ""; + print "
"; //return; } diff --git a/plugins/mailto/init.php b/plugins/mailto/init.php index 26871ac2b..421d5fd59 100644 --- a/plugins/mailto/init.php +++ b/plugins/mailto/init.php @@ -81,9 +81,9 @@ class MailTo extends Plugin { print "

"; - print "

"; - print ""; - print "
"; + print "
"; + print ""; + print "
"; //return; } diff --git a/plugins/note/init.php b/plugins/note/init.php index a0abb7f19..3c2ca0075 100644 --- a/plugins/note/init.php +++ b/plugins/note/init.php @@ -42,21 +42,18 @@ class Note extends Plugin { print_hidden("method", "setNote"); print_hidden("plugin", "note"); - print "
"; - print ""; - print "
"; } - print "
"; + print "
"; print " "; print ""; - print "
"; + print "
"; } @@ -78,4 +75,4 @@ class Note extends Plugin { return 2; } -} \ No newline at end of file +} diff --git a/plugins/share/init.php b/plugins/share/init.php index ba33838b3..d0b3dfc0b 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -100,16 +100,16 @@ class Share extends Plugin { $sth->execute([$uuid, $param, $_SESSION['uid']]); } - print "
" . __("You can share this article by the following unique URL:") . "
"; + print "
" . __("You can share this article by the following unique URL:") . "
"; $url_path = get_self_url_prefix(); $url_path .= "/public.php?op=share&key=$uuid"; - print "
+ print "
-
"; + "; /* if (!label_find_id(__('Shared'), $_SESSION["uid"])) label_create(__('Shared'), $_SESSION["uid"]); @@ -121,7 +121,7 @@ class Share extends Plugin { print "Article not found."; } - print "
"; + print "
"; + print ""; } function api_version() { -- cgit v1.2.3