aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-13 01:24:02 -0700
committerfriendica <info@friendica.com>2013-08-13 01:24:02 -0700
commit55cb32248953c6e63a2da478f0eb3895875f93d8 (patch)
tree255c936a39290e5e2e089334030791fb084ca1e8 /view
parent04f8de184e8c925e38335eb18c102985ce421f95 (diff)
downloadvolse-hubzilla-55cb32248953c6e63a2da478f0eb3895875f93d8.tar.gz
volse-hubzilla-55cb32248953c6e63a2da478f0eb3895875f93d8.tar.bz2
volse-hubzilla-55cb32248953c6e63a2da478f0eb3895875f93d8.zip
a bit more work on menus
Diffstat (limited to 'view')
-rw-r--r--view/tpl/menulist.tpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/view/tpl/menulist.tpl b/view/tpl/menulist.tpl
new file mode 100644
index 000000000..3ad92cb7e
--- /dev/null
+++ b/view/tpl/menulist.tpl
@@ -0,0 +1,16 @@
+<h1>{{$title}}</h1>
+
+<a href="menu/new" title="{{$hintnew}}">{{$hintnew}}</a>
+
+<br />
+
+{{if $menus }}
+<ul id="menulist">
+{{foreach $menus as $m }}
+<li>{{$m.menu_name}} <a href="menu/{{$m.menu_id}}" title="{{$hintedit}}">{{$edit}}</a>|<a href="menu/{{$m.menu.id}}/drop" title={{$hintdrop}}>{{$drop}}</a></li>
+{{/foreach}}
+</ul>
+{{/if}}
+
+
+