From d6f98ab88ec147b317bc9266395320e9cc64329a Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 5 Jun 2018 21:12:42 -0700 Subject: 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. --- view/tpl/design_tools.tpl | 2 +- view/tpl/menuedit.tpl | 2 +- view/tpl/menulist.tpl | 6 +++--- view/tpl/mitemedit.tpl | 2 +- view/tpl/mitemlist.tpl | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'view') diff --git a/view/tpl/design_tools.tpl b/view/tpl/design_tools.tpl index bc7d46dc1..b4657cb7f 100644 --- a/view/tpl/design_tools.tpl +++ b/view/tpl/design_tools.tpl @@ -2,7 +2,7 @@

{{$title}}

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 @@ {{/if}} {{/if}}