diff options
author | friendica <info@friendica.com> | 2013-08-13 18:10:03 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-13 18:10:03 -0700 |
commit | 680baff73d70769714d806c00cc84c6e65faba0f (patch) | |
tree | e4d66e2d7baf54597e125ad6c4c83dbbd65f1715 /view/tpl/menuedit.tpl | |
parent | d6c6a2b144ad1c619cef70310bad7e0cdc920e77 (diff) | |
download | volse-hubzilla-680baff73d70769714d806c00cc84c6e65faba0f.tar.gz volse-hubzilla-680baff73d70769714d806c00cc84c6e65faba0f.tar.bz2 volse-hubzilla-680baff73d70769714d806c00cc84c6e65faba0f.zip |
menu management complete (as opposed to menu *content* management, which is not). As usual, this means functionally complete - as theming and presentation have been left for those more suited to the task.
Diffstat (limited to 'view/tpl/menuedit.tpl')
-rw-r--r-- | view/tpl/menuedit.tpl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/view/tpl/menuedit.tpl b/view/tpl/menuedit.tpl new file mode 100644 index 000000000..a46727c55 --- /dev/null +++ b/view/tpl/menuedit.tpl @@ -0,0 +1,21 @@ + +<h2>{{$header}}</h2> + +{{if $menu_id}} +<a href="medit/{{$menu_id}}" title="{{$hintedit}}">{{$editcontents}}</a> +{{/if}} + +<form id="menuedit" action="menu{{if $menu_id}}/{{$menu_id}}{{/if}}" method="post" > + +{{if $menu_id}} +<input type="hidden" name="menu_id" value="{{$menu_id}}" /> +{{/if}} + +{{include file="field_input.tpl" field=$menu_name}} +{{include file="field_input.tpl" field=$menu_desc}} + +<div class="menuedit-submit-wrapper" > +<input type="submit" name="submit" class="menuedit-submit" value="{{$submit}}" /> +</div> + +</form> |