diff options
author | zotlabs <mike@macgirvin.com> | 2018-06-05 21:12:42 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-06-05 21:12:42 -0700 |
commit | d6f98ab88ec147b317bc9266395320e9cc64329a (patch) | |
tree | 3adf022b96a3d09db6067adf51b4b4fe6c007e42 /view/tpl/menuedit.tpl | |
parent | e1b85a361cf53fd7bb79ef24d9d5b0dfb145fccf (diff) | |
download | volse-hubzilla-d6f98ab88ec147b317bc9266395320e9cc64329a.tar.gz volse-hubzilla-d6f98ab88ec147b317bc9266395320e9cc64329a.tar.bz2 volse-hubzilla-d6f98ab88ec147b317bc9266395320e9cc64329a.zip |
some work to make menus editable by visitors with webpage write permissions; this needed to revise the link structure so that the page specified an owner channel in the url. Otherwise we could only operate on menus owned by local_channel(). Have done some basic regression testing but have not yet fully tested guest editing functionality.
Diffstat (limited to 'view/tpl/menuedit.tpl')
-rw-r--r-- | view/tpl/menuedit.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/menuedit.tpl b/view/tpl/menuedit.tpl index 84b16dc0b..3558bdbaa 100644 --- a/view/tpl/menuedit.tpl +++ b/view/tpl/menuedit.tpl @@ -11,7 +11,7 @@ </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" > + <form id="menuedit" action="menu/{{$nick}}{{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}} |