diff options
Diffstat (limited to 'view/tpl/menuedit.tpl')
-rw-r--r-- | view/tpl/menuedit.tpl | 33 |
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> {{$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}} <i class="fa fa-caret-right"></i></button> + </div> + <div class="clear"></div> + </form> +</div> +{{if $header}} +</div> +{{/if}} |