aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/menuedit.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-02 12:46:50 -0700
committerzotlabs <mike@macgirvin.com>2017-05-02 12:46:50 -0700
commit80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc (patch)
tree484f2101b78ae16f397310470b7e30f2c03d7b57 /view/tpl/menuedit.tpl
parent83c4dd6bda1677a3441d06247ea076094394703e (diff)
downloadvolse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.tar.gz
volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.tar.bz2
volse-hubzilla-80ec92ce8d9f615eeb06d92b67ad1ff840cad0cc.zip
Revert "move theme specific files to theme dir"
This reverts commit e332d1074f1b663ec66d37b0f575df2e41d5535c.
Diffstat (limited to 'view/tpl/menuedit.tpl')
-rw-r--r--view/tpl/menuedit.tpl33
1 files changed, 33 insertions, 0 deletions
diff --git a/view/tpl/menuedit.tpl b/view/tpl/menuedit.tpl
new file mode 100644
index 000000000..84b16dc0b
--- /dev/null
+++ b/view/tpl/menuedit.tpl
@@ -0,0 +1,33 @@
+{{if $header}}
+<div class="generic-content-wrapper">
+<div class="section-title-wrapper">
+ {{if $menu_edit_link}}
+ <div class="pull-right">
+ <a href="{{$menu_edit_link}}" title="{{$hintedit}}" class="btn btn-sm btn-success"><i class="fa fa-pencil-square-o"></i>&nbsp;{{$editcontents}}</a>
+ </div>
+ {{/if}}
+ <h2>{{$header}}</h2>
+ <div class="clear"></div>
+</div>
+{{/if}}
+<div id="menu-creator" class="section-content-tools-wrapper" style="display: {{$display}};">
+ <form id="menuedit" action="menu{{if $menu_id}}/{{$menu_id}}{{/if}}{{if $sys}}?f=&sys=1{{/if}}" method="post" >
+ {{if $menu_id}}
+ <input type="hidden" name="menu_id" value="{{$menu_id}}" />
+ {{/if}}
+ {{if $menu_system}}
+ <input type="hidden" name="menu_system" value="{{$menu_system}}" />
+ {{/if}}
+ {{include file="field_input.tpl" field=$menu_name}}
+ {{include file="field_input.tpl" field=$menu_desc}}
+
+ {{include file="field_checkbox.tpl" field=$menu_bookmark}}
+ <div class="menuedit-submit-wrapper form-group pull-right" >
+ <button type="submit" name="submit" class="btn btn-primary">{{$submit}}&nbsp;<i class="fa fa-caret-right"></i></button>
+ </div>
+ <div class="clear"></div>
+ </form>
+</div>
+{{if $header}}
+</div>
+{{/if}}