aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wikilist.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-11-18 21:55:29 -0500
committerAndrew Manning <tamanning@zoho.com>2016-11-18 21:55:29 -0500
commitd24e867603fd253ea42050057896422beeba59db (patch)
treea8bae0233152a1c9985d23a98c3dd328cbe41f8f /view/tpl/wikilist.tpl
parentd5c14a513d435aade7d16d792a7e7a22ff9b01ff (diff)
downloadvolse-hubzilla-d24e867603fd253ea42050057896422beeba59db.tar.gz
volse-hubzilla-d24e867603fd253ea42050057896422beeba59db.tar.bz2
volse-hubzilla-d24e867603fd253ea42050057896422beeba59db.zip
Move page list back out to the side menu, but with the new page form below the new page button like the new wiki form. Disable text editing if viewer lacks edit permission, and change the tab label to Source instead of Edit in that case.
Diffstat (limited to 'view/tpl/wikilist.tpl')
-rw-r--r--view/tpl/wikilist.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl
index b8da88ec4..51eccad90 100644
--- a/view/tpl/wikilist.tpl
+++ b/view/tpl/wikilist.tpl
@@ -21,7 +21,7 @@
{{/foreach}}
{{/if}}
{{if $owner}}
- <li><a href="#" class="fakelink" onclick="$('div[id^=\'edit-wiki-form-wrapper\']').hide(); openClose('new-wiki-form-wrapper'); return false;"><i id="new-wiki-button" class="fa fa-plus-circle"></i>&nbsp;{{$addnew}}</a></li>
+ <li><a href="#" class="fakelink" onclick="wiki_show_new_wiki_form(); return false;"><i id="new-wiki-button" class="fa fa-plus-circle"></i>&nbsp;{{$addnew}}</a></li>
{{/if}}
</ul>
{{if $owner}}