aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-19 23:30:52 -0700
committerzotlabs <mike@macgirvin.com>2017-09-19 23:30:52 -0700
commit61d9b34929adc831eb780fd3410660eb98c114a9 (patch)
tree2f7d6a76a156a2eceb9249d2d05785b13075b070 /Zotlabs/Widget
parent00fe4e747f9884ab11fe94621f645fc351285964 (diff)
downloadvolse-hubzilla-61d9b34929adc831eb780fd3410660eb98c114a9.tar.gz
volse-hubzilla-61d9b34929adc831eb780fd3410660eb98c114a9.tar.bz2
volse-hubzilla-61d9b34929adc831eb780fd3410660eb98c114a9.zip
use mimetype text description rather than technical name in dropdown choices, found bug in mimetype selection option code
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Wiki_pages.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Wiki_pages.php b/Zotlabs/Widget/Wiki_pages.php
index f98081da0..b4928ede5 100644
--- a/Zotlabs/Widget/Wiki_pages.php
+++ b/Zotlabs/Widget/Wiki_pages.php
@@ -53,7 +53,8 @@ class Wiki_pages {
'$addnew' => t('Add new page'),
'$typelock' => $typelock,
'$lockedtype' => $w['mimeType'],
- '$mimetype' => mimetype_select(0,$w['mimeType'], [ 'text/markdown','text/bbcode', 'text/plain' ]),
+ '$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']
));