diff options
author | Andrew Dolgov <[email protected]> | 2015-08-13 13:06:03 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-08-13 13:06:03 +0300 |
commit | 73dfda1da6c641ca86965b0501bb1ec54f5daa81 (patch) | |
tree | bbbcab27b254c7701c9dd0e82458e4cb76f40c55 /plugins/share/init.php | |
parent | 8b8820e52431f807ee0ded7a5fad59223f58fe5f (diff) |
various minor style updates, add danger buttons
Diffstat (limited to 'plugins/share/init.php')
-rw-r--r-- | plugins/share/init.php | 8 |
1 files changed, 3 insertions, 5 deletions
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"; |