diff options
Diffstat (limited to 'templates/choose_protection.tpl')
| -rwxr-xr-x | templates/choose_protection.tpl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/choose_protection.tpl b/templates/choose_protection.tpl new file mode 100755 index 0000000..9084600 --- /dev/null +++ b/templates/choose_protection.tpl @@ -0,0 +1,18 @@ +{strip} +<div class="form-group"> + {formlabel label="Protection Level"} + {forminput} + {if $gBitSystem->isFeatureActive( 'protector_single_role' )} + Assign content to the following user role:<br/> + {html_options name="$protector[role_id]" options=$protectorRolesId selected=$serviceHash.protector.role_id} + {formhelp note="Users assigned to this role can view this content item."} + {else} + Limit access to the following user roles:<br/> + {foreach from=$protectorRoles key=roleId item=role} + <input type="checkbox" name="$protector[role_id][]" value="{$roleId}" {if isset($serviceHash.protector.role.$roleId)}checked="checked"{/if} /> {$role.role_name}<br/> + {/foreach} + {formhelp note="Users assigned to these roles can view this content item."} + {/if} + {/forminput} +</div> +{/strip}
\ No newline at end of file |
