From f1c0034a18482ff85a1979fce94f3abd8622af0b Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 6 Jan 2022 21:09:18 +0000 Subject: more work on access tokens --- view/tpl/tokens.tpl | 21 +++++---------------- view/tpl/widget_menu.tpl | 10 ++++++++++ 2 files changed, 15 insertions(+), 16 deletions(-) create mode 100644 view/tpl/widget_menu.tpl (limited to 'view/tpl') diff --git a/view/tpl/tokens.tpl b/view/tpl/tokens.tpl index 443fb5392..835c1a6db 100644 --- a/view/tpl/tokens.tpl +++ b/view/tpl/tokens.tpl @@ -16,22 +16,11 @@ {{include file="field_input.tpl" field=$expires}} {{include file="field_select.tpl" field=$permcat}} -
- +
+ {{if $atoken}} + + {{/if}} +
- - {{if $tokens}} -
- - {{foreach $tokens as $t}} - - - - - {{/foreach}} -
{{$t.atoken_name}}
- -
- {{/if}} diff --git a/view/tpl/widget_menu.tpl b/view/tpl/widget_menu.tpl new file mode 100644 index 000000000..86799ff00 --- /dev/null +++ b/view/tpl/widget_menu.tpl @@ -0,0 +1,10 @@ +
+

{{$title}}

+ +
-- cgit v1.2.3