summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-08-13 13:06:03 +0300
committerAndrew Dolgov <[email protected]>2015-08-13 13:06:03 +0300
commit73dfda1da6c641ca86965b0501bb1ec54f5daa81 (patch)
treebbbcab27b254c7701c9dd0e82458e4cb76f40c55 /plugins
parent8b8820e52431f807ee0ded7a5fad59223f58fe5f (diff)
various minor style updates, add danger buttons
Diffstat (limited to 'plugins')
-rw-r--r--plugins/af_psql_trgm/init.php2
-rw-r--r--plugins/af_redditimgur/init.php4
-rw-r--r--plugins/bookmarklets/init.php4
-rw-r--r--plugins/share/init.php8
4 files changed, 7 insertions, 11 deletions
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 "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"save\">";
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"plugin\" value=\"af_psql_trgm\">";
- 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 "<p>" . __("PostgreSQL trigram extension returns string similarity as a floating point number (0-1). Setting it too low might produce false positives, zero disables checking.") . "</p>";
print_notice("Enable the plugin for specific feeds in the feed editor.");
print "<h3>" . __("Global settings") . "</h3>";
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 "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"save\">";
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"plugin\" value=\"af_redditimgur\">";
- print "<h3>" . __("Global settings") . "</h3>";
-
- print_notice("Uses Readability (full-text-rss) implementation by <a target='_blank' href='https://bitbucket.org/fivefilters/'>FiveFilters.org</a>");
+ print "<p>" . __("Uses Readability (full-text-rss) implementation by <a target='_blank' href='https://bitbucket.org/fivefilters/'>FiveFilters.org</a>");
print "<p/>";
print "<input dojoType=\"dijit.form.CheckBox\" id=\"enable_readability\"
diff --git a/plugins/bookmarklets/init.php b/plugins/bookmarklets/init.php
index 4c4d95d49..a230b2854 100644
--- a/plugins/bookmarklets/init.php
+++ b/plugins/bookmarklets/init.php
@@ -19,7 +19,7 @@ class Bookmarklets extends Plugin {
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Bookmarklets')."\">";
- 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 "<p>" . __("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.") . "</p>";
$bm_subscribe_url = str_replace('%s', '', add_feed_url());
@@ -31,7 +31,7 @@ class Bookmarklets extends Plugin {
print "<a href=\"$bm_url\" class='bookmarklet'>" . __('Subscribe in Tiny Tiny RSS'). "</a>";
print "</p>";
- print_notice(__("Use this bookmarklet to publish arbitrary pages using Tiny Tiny RSS"));
+ print "<p>" . __("Use this bookmarklet to publish arbitrary pages using Tiny Tiny RSS") . "</p>";
print "<p>";
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 "<p>" . __("You can disable all articles shared by unique URLs here.") . "</p>";
- print "<p>";
-
- print "<button dojoType=\"dijit.form.Button\" onclick=\"return clearArticleAccessKeys()\">".
+ print "<button class=\"danger\" dojoType=\"dijit.form.Button\" onclick=\"return clearArticleAccessKeys()\">".
__('Unshare all articles')."</button> ";
print "</p>";
@@ -96,7 +94,7 @@ class Share extends Plugin {
AND owner_uid = " . $_SESSION['uid']);
}
- print "<h2>". __("You can share this article by the following unique URL:") . "</h2>";
+ print __("You can share this article by the following unique URL:") . "<br/>";
$url_path = get_self_url_prefix();
$url_path .= "/public.php?op=share&key=$uuid";