Skip to content

Commit da8c62d

Browse files
committed
Some templates switched to html_ncoptions
1 parent 1c5b42b commit da8c62d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/templates_ajax/admin_sys_pageedit.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</select>
2020

2121
<label for="usermask">{'Access control to the page'|gettext}<br /><small>{'If no group is selected, access is garanted to everyone'|gettext}</small></label>
22-
{html_options name=roles options=$roles selected=$page.usermask_array class="form-control" multiple="" id="usermask" size="10"}
22+
{html_ncoptions name=roles options=$roles selected=$page.usermask_array class="form-control" multiple="" id="usermask" size="10"}
2323

2424
<button type="button" class="form-control btn btn-success" onclick="savepageitem();">{'Save your changes'|gettext}</button><br />
2525
<button type="button" class="form-control btn btn-warning" onclick="showpages();">{'Cancel'|gettext}</button>

app/templates_ajax/admin_user_view.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<label class="control-label col-sm-2" for="userroles">{'User Roles'|gettext}</label>
7575
<div class="controls col-sm-10">
7676

77-
{html_options name=roles options=$roles selected=$userdata.roles_id_array class="form-control" multiple="" id="roles"}
77+
{html_ncoptions name=roles options=$roles selected=$userdata.roles_id_array class="form-control" multiple="" id="roles"}
7878

7979

8080
<p class="help-block"></p>

0 commit comments

Comments
 (0)