aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki_page_list.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-14 17:14:50 -0700
committerzotlabs <mike@macgirvin.com>2017-09-14 17:14:50 -0700
commitcf120b235117017a81b8a9b1a073919fb1b7d50b (patch)
treede1e922bed55ef09b4651eb9aab5c5cc6ca8f0ec /view/tpl/wiki_page_list.tpl
parent6481722fd91a9c4c27c728aa161093fc97217a8e (diff)
downloadvolse-hubzilla-cf120b235117017a81b8a9b1a073919fb1b7d50b.tar.gz
volse-hubzilla-cf120b235117017a81b8a9b1a073919fb1b7d50b.tar.bz2
volse-hubzilla-cf120b235117017a81b8a9b1a073919fb1b7d50b.zip
wiki: lock mimetype
Diffstat (limited to 'view/tpl/wiki_page_list.tpl')
-rw-r--r--view/tpl/wiki_page_list.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/tpl/wiki_page_list.tpl b/view/tpl/wiki_page_list.tpl
index 2e7fb8b9e..3d38a0b81 100644
--- a/view/tpl/wiki_page_list.tpl
+++ b/view/tpl/wiki_page_list.tpl
@@ -21,7 +21,11 @@
<div id="new-page-form-wrapper" class="sub-menu" style="display:none;">
<form id="new-page-form" action="wiki/{{$channel_address}}/create/page" method="post" >
<input type="hidden" name="resource_id" value="{{$resource_id}}">
+ {{if $typelock}}
+ <input type="hidden" name="mimetype" value="{{$lockedtype}}">
+ {{else}}
{{$mimetype}}
+ {{/if}}
{{include file="field_input.tpl" field=$pageName}}
<button id="new-page-submit" class="btn btn-primary" type="submit" name="submit" >Submit</button>
</form>