From 55b032a6bd13c8e8d7cf9ca4070ade5a888cad24 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 22 Feb 2019 06:35:14 +0300 Subject: plugins/share: update layout --- plugins/share/init.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/plugins/share/init.php b/plugins/share/init.php index 7917c4856..ba33838b3 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -44,7 +44,7 @@ class Share extends Plugin { print "

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

"; - print " "; print "

"; @@ -100,14 +100,16 @@ class Share extends Plugin { $sth->execute([$uuid, $param, $_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"; - print "
"; - print "$url_path"; - print "
"; + print "
+
+ $url_path +
+
"; /* if (!label_find_id(__('Shared'), $_SESSION["uid"])) label_create(__('Shared'), $_SESSION["uid"]); @@ -121,13 +123,13 @@ class Share extends Plugin { print "
"; - print ""; - print ""; - print ""; print "
"; -- cgit v1.2.3