From 73dfda1da6c641ca86965b0501bb1ec54f5daa81 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 13 Aug 2015 13:06:03 +0300 Subject: various minor style updates, add danger buttons --- plugins/af_psql_trgm/init.php | 2 +- plugins/af_redditimgur/init.php | 4 +--- plugins/bookmarklets/init.php | 4 ++-- plugins/share/init.php | 8 +++----- 4 files changed, 7 insertions(+), 11 deletions(-) (limited to 'plugins') diff --git a/plugins/af_psql_trgm/init.php b/plugins/af_psql_trgm/init.php index d89c122f6..f93f7c02b 100644 --- a/plugins/af_psql_trgm/init.php +++ b/plugins/af_psql_trgm/init.php @@ -156,7 +156,7 @@ class Af_Psql_Trgm extends Plugin { print ""; print ""; - print_notice("PostgreSQL trigram extension returns string similarity as a floating point number (0-1). Setting it too low might produce false positives, zero disables checking."); + print "

" . __("PostgreSQL trigram extension returns string similarity as a floating point number (0-1). Setting it too low might produce false positives, zero disables checking.") . "

"; print_notice("Enable the plugin for specific feeds in the feed editor."); print "

" . __("Global settings") . "

"; diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index e7658120d..9b3a999d3 100644 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -43,9 +43,7 @@ class Af_RedditImgur extends Plugin { print ""; print ""; - print "

" . __("Global settings") . "

"; - - print_notice("Uses Readability (full-text-rss) implementation by FiveFilters.org"); + print "

" . __("Uses Readability (full-text-rss) implementation by FiveFilters.org"); print "

"; print ""; - print_notice(__("Drag the link below to your browser toolbar, open the feed you're interested in in your browser and click on the link to subscribe to it.")); + print "

" . __("Drag the link below to your browser toolbar, open the feed you're interested in in your browser and click on the link to subscribe to it.") . "

"; $bm_subscribe_url = str_replace('%s', '', add_feed_url()); @@ -31,7 +31,7 @@ class Bookmarklets extends Plugin { print "" . __('Subscribe in Tiny Tiny RSS'). ""; print "

"; - print_notice(__("Use this bookmarklet to publish arbitrary pages using Tiny Tiny RSS")); + print "

" . __("Use this bookmarklet to publish arbitrary pages using Tiny Tiny RSS") . "

"; print "

"; diff --git a/plugins/share/init.php b/plugins/share/init.php index bcc081897..0f8f8fec1 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -36,11 +36,9 @@ class Share extends Plugin { function hook_prefs_tab_section($id) { if ($id == "prefFeedsPublishedGenerated") { - print_warning(__("You can disable all articles shared by unique URLs here.")); + print "

" . __("You can disable all articles shared by unique URLs here.") . "

"; - print "

"; - - print " "; print "

"; @@ -96,7 +94,7 @@ class Share extends Plugin { AND owner_uid = " . $_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"; -- cgit v1.2.3-54-g00ecf