Only show wiki delete control if channel owner

This commit is contained in:
Andrew Manning
2016-05-29 20:39:19 -04:00
parent fad27fc1e7
commit 00d32f6b94
4 changed files with 16 additions and 7 deletions

View File

@@ -78,6 +78,7 @@ class Wiki extends \Zotlabs\Web\Controller {
if(argc()<3) {
// GET /wiki/channel
$channel = get_channel_by_nick(argv(1));
$wikiheader = t('Wiki Sandbox');
$content = '"# Wiki Sandbox\n\nContent you **edit** and **preview** here *will not be saved*."';
$hide_editor = false;