aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-09-20 11:08:01 +0200
committerMario Vavti <mario@mariovavti.com>2017-09-20 11:08:01 +0200
commit6f2dd5d32546c8f812e04bf098d61c7ec6ba73ac (patch)
tree53694520877725d184d2a095bc58b8a993c6fb3b /Zotlabs
parent9e46472ca26f2bd38d2e71c221a9fbf5618b5822 (diff)
downloadvolse-hubzilla-6f2dd5d32546c8f812e04bf098d61c7ec6ba73ac.tar.gz
volse-hubzilla-6f2dd5d32546c8f812e04bf098d61c7ec6ba73ac.tar.bz2
volse-hubzilla-6f2dd5d32546c8f812e04bf098d61c7ec6ba73ac.zip
wiki: translateable strings and move page mimetype selector to options submenu
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Wiki.php3
-rw-r--r--Zotlabs/Widget/Wiki_pages.php4
2 files changed, 5 insertions, 2 deletions
diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php
index 2668229ee..fe2bfbdfb 100644
--- a/Zotlabs/Module/Wiki.php
+++ b/Zotlabs/Module/Wiki.php
@@ -216,7 +216,8 @@ class Wiki extends \Zotlabs\Web\Controller {
'$deny_cid' => $x['deny_cid'],
'$deny_gid' => $x['deny_gid'],
'$typelock' => array('typelock', t('Lock content type'), '', '', array(t('No'), t('Yes'))),
- '$notify' => array('postVisible', t('Create a status post for this wiki'), '', '', array(t('No'), t('Yes')))
+ '$notify' => array('postVisible', t('Create a status post for this wiki'), '', '', array(t('No'), t('Yes'))),
+ '$edit_wiki_name' => t('Edit Wiki Name')
));
return $o;
diff --git a/Zotlabs/Widget/Wiki_pages.php b/Zotlabs/Widget/Wiki_pages.php
index b4928ede5..ac44b8d88 100644
--- a/Zotlabs/Widget/Wiki_pages.php
+++ b/Zotlabs/Widget/Wiki_pages.php
@@ -56,7 +56,9 @@ class Wiki_pages {
'$mimetype' => mimetype_select(0,$w['mimeType'],
[ 'text/markdown' => t('Markdown'), 'text/bbcode' => t('BBcode'), 'text/plain' => t('Text') ]),
'$pageName' => array('pageName', t('Page name')),
- '$refresh' => $arr['refresh']
+ '$refresh' => $arr['refresh'],
+ '$options' => t('Options'),
+ '$submit' => t('Submit')
));
}
}