Server IP : 213.176.29.180  /  Your IP : 3.137.211.49
Web Server : Apache
System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
User : webtaragh ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/webtaragh/public_html/whmcs/templates/twenty-one/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/webtaragh/public_html/whmcs/templates/twenty-one/account-user-permissions.tpl
{include file="$template/includes/flashmessage.tpl"}

<div class="card">
    <div class="card-body">
        <h3 class="card-title">{lang key='userManagement.managePermissions'}</h3>

        <p>{$user->email}</p>

        <p class="h5">{lang key="userManagement.permissions"}</p>

        <form method="post" action="{routePath('account-users-permissions-save', $user->id)}">

            {foreach $permissions as $permission}
                <label class="form-check form-check-inline">
                    <input type="checkbox" class="form-check-input" name="perms[{$permission.key}]" value="1"{if $userPermissions->hasPermission($permission.key)} checked{/if}>
                    {$permission.title}
                    <span class="d-none d-md-inline">-</span>
                    <br class="d-md-none">
                    <span class="text-muted">{$permission.description}</span>
                </label>
                <br>
            {/foreach}

            <br>

            <p>
                <button type="submit" class="btn btn-primary">
                    {lang key="clientareasavechanges"}
                </button>
                <a href="{routePath('account-users')}" class="btn btn-default">
                    {lang key="clientareacancel"}
                </a>
            </p>

        </form>

    </div>
</div>