summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-05-15 18:16:32 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-05-15 18:17:12 -0400
commit8ebfea4425ea4119850cd4263b67c879ba71a7fa (patch)
tree69c0370faabf4497bb28cfbf83705d7ca007f758
parent311e471c146b4ba6c17dec34246e5a1c832bb92b (diff)
License link, no title
-rw-r--r--plugins/WikiHashtagsPlugin.php15
1 files changed, 11 insertions, 4 deletions
diff --git a/plugins/WikiHashtagsPlugin.php b/plugins/WikiHashtagsPlugin.php
index 4d386e198..141cb07d2 100644
--- a/plugins/WikiHashtagsPlugin.php
+++ b/plugins/WikiHashtagsPlugin.php
@@ -82,13 +82,20 @@ class WikiHashtagsPlugin extends Plugin
$action->elementStart('div', array('id' => 'wikihashtags', 'class' => 'section'));
- $action->element('h2', null, _('WikiHashtags'));
-
if (!empty($html)) {
- $action->element('style', null, 'span.editsection { display: none }');
+ $action->element('style', null,
+ "span.editsection { display: none }\n".
+ "table.toc { display: none }");
$action->raw($html);
- $action->element('a', array('href' => $editurl),
+ $action->elementStart('p');
+ $action->element('a', array('href' => $editurl,
+ 'title' => sprintf(_('Edit the article for #%s on WikiHashtags'), $tag)),
_('Edit'));
+ $action->element('a', array('href' => 'http://www.gnu.org/copyleft/fdl.html',
+ 'title' => _('Shared under the terms of the GNU Free Documentation License'),
+ 'rel' => 'license'),
+ 'GNU FDL');
+ $action->elementEnd('p');
} else {
$action->element('a', array('href' => $editurl),
sprintf(_('Start the article for #%s on WikiHashtags'), $tag));