aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-13 20:57:03 -0700
committerfriendica <info@friendica.com>2013-08-13 20:57:03 -0700
commit9508967c7350e69bf3321aaa63f5527a3e8096f4 (patch)
treec2b6c78f47cf2c7a1623d4bc528b58cc2d8793fc /view/tpl
parent680baff73d70769714d806c00cc84c6e65faba0f (diff)
downloadvolse-hubzilla-9508967c7350e69bf3321aaa63f5527a3e8096f4.tar.gz
volse-hubzilla-9508967c7350e69bf3321aaa63f5527a3e8096f4.tar.bz2
volse-hubzilla-9508967c7350e69bf3321aaa63f5527a3e8096f4.zip
menu management is now functional with the exception of acl's (and of course a way to display the menus you create, and probably a bit more input sanity checking)
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/menuedit.tpl2
-rw-r--r--view/tpl/menulist.tpl2
-rw-r--r--view/tpl/usermenu.tpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/menuedit.tpl b/view/tpl/menuedit.tpl
index a46727c55..ea9e775e2 100644
--- a/view/tpl/menuedit.tpl
+++ b/view/tpl/menuedit.tpl
@@ -2,7 +2,7 @@
<h2>{{$header}}</h2>
{{if $menu_id}}
-<a href="medit/{{$menu_id}}" title="{{$hintedit}}">{{$editcontents}}</a>
+<a href="mitem/{{$menu_id}}" title="{{$hintedit}}">{{$editcontents}}</a>
{{/if}}
<form id="menuedit" action="menu{{if $menu_id}}/{{$menu_id}}{{/if}}" method="post" >
diff --git a/view/tpl/menulist.tpl b/view/tpl/menulist.tpl
index 0761322cd..4ee382a27 100644
--- a/view/tpl/menulist.tpl
+++ b/view/tpl/menulist.tpl
@@ -7,7 +7,7 @@
{{if $menus }}
<ul id="menulist">
{{foreach $menus as $m }}
-<li><a href="menu/{{$m.menu_id}}" title="{{$hintedit}}">{{$edit}}</a> | <a href="menu/{{$m.menu.id}}/drop" title={{$hintdrop}}>{{$drop}}</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="medit/{{$m.menu_id}}" title="{{$hintcontent}}">{{$m.menu_name}}</a></li>
+<li><a href="menu/{{$m.menu_id}}" title="{{$hintedit}}">{{$edit}}</a> | <a href="menu/{{$m.menu_id}}/drop" title={{$hintdrop}}>{{$drop}}</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="mitem/{{$m.menu_id}}" title="{{$hintcontent}}">{{$m.menu_name}}</a></li>
{{/foreach}}
</ul>
{{/if}}
diff --git a/view/tpl/usermenu.tpl b/view/tpl/usermenu.tpl
index 771ae4b2a..3904f4696 100644
--- a/view/tpl/usermenu.tpl
+++ b/view/tpl/usermenu.tpl
@@ -5,7 +5,7 @@
{{if $items }}
<ul class="pmenu-body">
{{foreach $items as $mitem }}
-<li class="pmenu-item"><a href="{{$mitem.mitem_link}}">{{$mitem.mitem_desc}}</a></li>
+<li class="pmenu-item"><a href="{{$mitem.mitem_link}}" {{if $mitem.newwin}}target="_blank"{{/if}}>{{$mitem.mitem_desc}}</a></li>
{{/foreach }}
</ul>
{{/if}}