1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:15:55 +00:00

various minor style updates, add danger buttons

This commit is contained in:
Andrew Dolgov
2015-08-13 13:06:03 +03:00
parent 8b8820e524
commit 73dfda1da6
6 changed files with 55 additions and 19 deletions

View File

@@ -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";