summaryrefslogtreecommitdiff
path: root/plugins/share
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-02-22 10:48:56 +0300
committerAndrew Dolgov <[email protected]>2019-02-22 10:48:56 +0300
commit335147e572c8557751c0a035647a7ad729b43674 (patch)
treeff40a4363b4f7eb3c07c06fdaed104d2c8c97214 /plugins/share
parente9f58427c07956898234f0459b26c74ad8b98e28 (diff)
dialogs: use semantic markup instead of dlgsec stuff
continue unifying quoting style for html strings
Diffstat (limited to 'plugins/share')
-rw-r--r--plugins/share/init.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/share/init.php b/plugins/share/init.php
index ba33838b3..d0b3dfc0b 100644
--- a/plugins/share/init.php
+++ b/plugins/share/init.php
@@ -100,16 +100,16 @@ class Share extends Plugin {
$sth->execute([$uuid, $param, $_SESSION['uid']]);
}
- print "<div class='dlgSec'>" . __("You can share this article by the following unique URL:") . "</div>";
+ print "<header>" . __("You can share this article by the following unique URL:") . "</header>";
$url_path = get_self_url_prefix();
$url_path .= "/public.php?op=share&key=$uuid";
- print "<div class='dlgSecCont'>
+ print "<section>
<div class='panel text-center'>
<a id='gen_article_url' href='$url_path' target='_blank' rel='noopener noreferrer'>$url_path</a>
</div>
- </div>";
+ </section>";
/* if (!label_find_id(__('Shared'), $_SESSION["uid"]))
label_create(__('Shared'), $_SESSION["uid"]);
@@ -121,7 +121,7 @@ class Share extends Plugin {
print "Article not found.";
}
- print "<div align='center'>";
+ print "<footer class='text-center'>";
print "<button dojoType='dijit.form.Button' onclick=\"return dijit.byId('shareArticleDlg').unshare()\">".
__('Unshare article')."</button>";
@@ -132,7 +132,7 @@ class Share extends Plugin {
print "<button dojoType='dijit.form.Button' onclick=\"return dijit.byId('shareArticleDlg').hide()\">".
__('Close this window')."</button>";
- print "</div>";
+ print "</footer>";
}
function api_version() {