diff options
Diffstat (limited to 'templates/admin_list_users.tpl')
| -rwxr-xr-x | templates/admin_list_users.tpl | 33 |
1 files changed, 9 insertions, 24 deletions
diff --git a/templates/admin_list_users.tpl b/templates/admin_list_users.tpl index b255924..c17297f 100755 --- a/templates/admin_list_users.tpl +++ b/templates/admin_list_users.tpl @@ -70,25 +70,14 @@ </div> <div class="form-group"> - {if $gBitSystem->isPackageActive('protector')} - {if $defaultRoleId eq ''} - {formfeedback error="No default role is currently set. Please set one in the Administration --> Users --> <a href=\"`$smarty.const.USERS_PKG_URL`admin/edit_role.php\">Roles and Permissions</a> page"} - {/if} - {formlabel label="User will be added to the following role" for=""} - {forminput} - {$defaultRoleName} <a href="{$smarty.const.USERS_PKG_URL}admin/edit_role.php?role_id={$defaultRoleId}">{booticon iname="fa-pen-to-square" iexplain="change settings"}</a> - {formhelp note="This is the role that is selected as the default role. If you would like to change the default role, please click on the edit icon and set a different role as default role."} - {/forminput} - {else} - {if $defaultGroupId eq ''} - {formfeedback error="No default group is currently set. Please set one in the Administration --> Users --> <a href=\"`$smarty.const.USERS_PKG_URL`admin/edit_group.php\">Groups and Permissions</a> page"} - {/if} - {formlabel label="User will be added to the following group" for=""} - {forminput} - {$defaultGroupName} <a href="{$smarty.const.USERS_PKG_URL}admin/edit_group.php?group_id={$defaultGroupId}">{booticon iname="fa-pen-to-square" iexplain="change settings"}</a> - {formhelp note="This is the group that is selected as the default group. If you would like to change the default group, please click on the edit icon and set a different group as default group."} - {/forminput} - {/if} + {if $defaultRoleId eq ''} + {formfeedback error="No default role is currently set. Please set one in the Administration --> Users --> <a href=\"`$smarty.const.USERS_PKG_URL`admin/edit_role.php\">Roles and Permissions</a> page"} + {/if} + {formlabel label="User will be added to the following role" for=""} + {forminput} + {$defaultRoleName} <a href="{$smarty.const.USERS_PKG_URL}admin/edit_role.php?role_id={$defaultRoleId}">{booticon iname="fa-pen-to-square" iexplain="change settings"}</a> + {formhelp note="This is the role that is selected as the default role. If you would like to change the default role, please click on the edit icon and set a different role as default role."} + {/forminput} </div> <div class="form-group"> @@ -120,11 +109,7 @@ {*include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_mini_tpl"*} <div class="form-group submit"> - {if $gBitSystem->isPackageActive('protector')} - <input type="submit" class="btn btn-default" name="newuser" value="{tr}Add User{/tr}"{if $defaultRoleId eq ''} disabled="disabled"{/if} /> - {else} - <input type="submit" class="btn btn-default" name="newuser" value="{tr}Add User{/tr}"{if $defaultGroupId eq ''} disabled="disabled"{/if} /> - {/if} + <input type="submit" class="btn btn-default" name="newuser" value="{tr}Add User{/tr}"{if $defaultRoleId eq ''} disabled="disabled"{/if} /> </div> {/form} {/jstab} |
