aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-26 22:02:50 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-26 22:02:50 +0200
commita7948d7bfee1c0c8c9f1a731aabdc636c280bff0 (patch)
tree16ed302c1fc01084f8e8c9f790494d3b4762b567 /view
parent505782f224d232acd57f7a5986adfc9bf8a7bb79 (diff)
downloadvolse-hubzilla-a7948d7bfee1c0c8c9f1a731aabdc636c280bff0.tar.gz
volse-hubzilla-a7948d7bfee1c0c8c9f1a731aabdc636c280bff0.tar.bz2
volse-hubzilla-a7948d7bfee1c0c8c9f1a731aabdc636c280bff0.zip
permcats app
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/abook_edit.tpl2
-rwxr-xr-xview/tpl/defperms.tpl2
-rw-r--r--view/tpl/permcats.tpl (renamed from view/tpl/settings_permcats.tpl)6
3 files changed, 5 insertions, 5 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl
index d72258fa0..6ff7bffcd 100755
--- a/view/tpl/abook_edit.tpl
+++ b/view/tpl/abook_edit.tpl
@@ -485,7 +485,7 @@
</div>
{{if $permcat_enable}}
- <a href="settings/permcats" class="pull-right"><i class="fa fa-plus"></i>&nbsp;{{$permcat_new}}</a>
+ <a href="permcats" class="pull-right"><i class="fa fa-plus"></i>&nbsp;{{$permcat_new}}</a>
{{include file="field_select.tpl" field=$permcat}}
{{/if}}
diff --git a/view/tpl/defperms.tpl b/view/tpl/defperms.tpl
index 5273ee91b..29f642cff 100755
--- a/view/tpl/defperms.tpl
+++ b/view/tpl/defperms.tpl
@@ -17,7 +17,7 @@
<p>{{$permnote_self}}</p>
</div>
{{if $permcat_enable}}
- <a href="settings/permcats" class="pull-right"><i class="fa fa-plus"></i>&nbsp;{{$permcat_new}}</a>
+ <a href="permcats" class="pull-right"><i class="fa fa-plus"></i>&nbsp;{{$permcat_new}}</a>
{{include file="field_select.tpl" field=$permcat}}
{{/if}}
diff --git a/view/tpl/settings_permcats.tpl b/view/tpl/permcats.tpl
index bbbd41669..2cad2db5b 100644
--- a/view/tpl/settings_permcats.tpl
+++ b/view/tpl/permcats.tpl
@@ -8,7 +8,7 @@
{{$desc}}
</div>
- <form action="settings/permcats" id="settings-permcats-form" method="post" autocomplete="off" >
+ <form action="permcats" id="settings-permcats-form" method="post" autocomplete="off" >
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
{{include file="field_input.tpl" field=$name}}
@@ -50,8 +50,8 @@
<table id="permcat-index">
{{foreach $permcats as $k => $v}}
<tr class="permcat-row-{{$k}}">
- <td width="99%"><a href="settings/permcats/{{$k}}">{{$v}}</a></td>
- <td width="1%"><i class="fa fa-trash-o drop-icons" onClick="dropItem('/settings/permcats/{{$k}}/drop', '.permcat-row-{{$k}}')"></i></td>
+ <td width="99%"><a href="permcats/{{$k}}">{{$v}}</a></td>
+ <td width="1%"><i class="fa fa-trash-o drop-icons" onClick="dropItem('permcats/{{$k}}/drop', '.permcat-row-{{$k}}')"></i></td>
</tr>
{{/foreach}}
</table>