mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-04 18:39:16 +00:00
various minor style updates, add danger buttons
This commit is contained in:
@@ -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>";
|
||||
|
||||
@@ -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\"
|
||||
|
||||
@@ -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>";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user