change wording restricted -> custom selection and add a label to the select
This commit is contained in:
parent
573dea42d0
commit
1e00fa79b3
@ -271,7 +271,8 @@ function populate_acl($defaults = null,$show_jotnets = true, $emptyACL_descripti
|
|||||||
'$showall' => $showall_caption,
|
'$showall' => $showall_caption,
|
||||||
'$showallOrigin' => $showall_origin,
|
'$showallOrigin' => $showall_origin,
|
||||||
'$showallIcon' => $showall_icon,
|
'$showallIcon' => $showall_icon,
|
||||||
'$showlimited' => t("Restricted"),
|
'$select_label' => t('Who can see this'),
|
||||||
|
'$showlimited' => t('Custom selection'),
|
||||||
'$showlimitedDesc' => t('Select "Show" to allow viewing. "Don\'t show" lets you override and limit the scope of "Show".'),
|
'$showlimitedDesc' => t('Select "Show" to allow viewing. "Don\'t show" lets you override and limit the scope of "Show".'),
|
||||||
'$show' => t("Show"),
|
'$show' => t("Show"),
|
||||||
'$hide' => t("Don't show"),
|
'$hide' => t("Don't show"),
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
{{if $aclModalDesc}}
|
{{if $aclModalDesc}}
|
||||||
<div id="acl-dialog-description" class="section-content-info-wrapper">{{$aclModalDesc}}</div>
|
<div id="acl-dialog-description" class="section-content-info-wrapper">{{$aclModalDesc}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
<label for="acl-select">{{$select_label}}</label>
|
||||||
<select id="acl-select" name="optionsRadios" class="form-control form-group">
|
<select id="acl-select" name="optionsRadios" class="form-control form-group">
|
||||||
<option id="acl-showall" value="option1" selected>{{$showall}}</option>
|
<option id="acl-showall" value="option1" selected>{{$showall}}</option>
|
||||||
<option id="acl-showlimited" value="option2">{{$showlimited}}</option>
|
<option id="acl-showlimited" value="option2">{{$showlimited}}</option>
|
||||||
|
Reference in New Issue
Block a user