| {:L('MODULE')} | {:L('VISIBLE')} | {:L('BROWSE')} | {:L('CREATE')} | {:L('EDIT')} | {:L('DELETE')} | {:L('EXPORT')}
--- | --- | --- | --- | --- | --- | --- | ---
| {:L('USER')} | if(in_array('user/index', $owned_permission)){ echo 'checked="checked"';} class="check_list12" type="checkbox" name="per[]" value="user/index"> | if(in_array('user/view', $owned_permission)){ echo 'checked="checked"';} class="check_list12" type="checkbox" name="per[]" value="user/view"> | if(in_array('user/add', $owned_permission)){ echo 'checked="checked"';} class="check_list12" type="checkbox" name="per[]" value="user/add"> | if(in_array('user/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list12" type="checkbox" name="per[]" value="user/edit"> | if(in_array('user/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list12" type="checkbox" name="per[]" value="user/delete"> |
| {:L('LEADS')} | if(in_array('leads/index', $owned_permission)){ echo 'checked="checked"';} class="check_list4" type="checkbox" name="per[]" value="leads/index"> | if(in_array('leads/view', $owned_permission)){ echo 'checked="checked"';} class="check_list4" type="checkbox" name="per[]" value="leads/view"> | if(in_array('leads/add', $owned_permission)){ echo 'checked="checked"';} class="check_list4" type="checkbox" name="per[]" value="leads/add"> | if(in_array('leads/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list4" type="checkbox" name="per[]" value="leads/edit"> | if(in_array('leads/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list4" type="checkbox" name="per[]" value="leads/delete"> | if(in_array('leads/export', $owned_permission)){ echo 'checked="checked"';} class="check_list4" type="checkbox" name="per[]" value="leads/export">
| {:L('BUSINESS')} | if(in_array('business/index', $owned_permission)){ echo 'checked="checked"';} class="check_list1" type="checkbox" name="per[]" value="business/index"> | if(in_array('business/view', $owned_permission)){ echo 'checked="checked"';} class="check_list1" type="checkbox" name="per[]" value="business/view"> | if(in_array('business/add', $owned_permission)){ echo 'checked="checked"';} class="check_list1" type="checkbox" name="per[]" value="business/add"> | if(in_array('business/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list1" type="checkbox" name="per[]" value="business/edit"> | if(in_array('business/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list1" type="checkbox" name="per[]" value="business/delete"> | if(in_array('business/export', $owned_permission)){ echo 'checked="checked"';} class="check_list1" type="checkbox" name="per[]" value="business/export">
| {:L('CUSTOMER')} | if(in_array('customer/index', $owned_permission)){ echo 'checked="checked"';} class="check_list3" type="checkbox" name="per[]" value="customer/index"> | if(in_array('customer/view', $owned_permission)){ echo 'checked="checked"';} class="check_list3" type="checkbox" name="per[]" value="customer/view"> | if(in_array('customer/add', $owned_permission)){ echo 'checked="checked"';} class="check_list3" type="checkbox" name="per[]" value="customer/add"> | if(in_array('customer/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list3" type="checkbox" name="per[]" value="customer/edit"> | if(in_array('customer/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list3" type="checkbox" name="per[]" value="customer/delete"> | if(in_array('customer/export', $owned_permission)){ echo 'checked="checked"';} class="check_list3" type="checkbox" name="per[]" value="customer/export">
| {:L('CONTRACT')} | if(in_array('contract/index', $owned_permission)){ echo 'checked="checked"';} class="check_list9" type="checkbox" name="per[]" value="contract/index"> | if(in_array('contract/view', $owned_permission)){ echo 'checked="checked"';} class="check_list9" type="checkbox" name="per[]" value="contract/view"> | if(in_array('contract/add', $owned_permission)){ echo 'checked="checked"';} class="check_list9" type="checkbox" name="per[]" value="contract/add"> | if(in_array('contract/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list9" type="checkbox" name="per[]" value="contract/edit"> | if(in_array('contract/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list9" type="checkbox" name="per[]" value="contract/delete"/> |
| {:L('FINANCE')} | if(in_array('finance/index', $owned_permission)){ echo 'checked="checked"';} class="check_list10" type="checkbox" name="per[]" value="finance/index"> | if(in_array('finance/view', $owned_permission)){ echo 'checked="checked"';} class="check_list10" type="checkbox" name="per[]" value="finance/view"> | if(in_array('finance/add', $owned_permission)){ echo 'checked="checked"';} class="check_list10" type="checkbox" name="per[]" value="finance/add"> | if(in_array('finance/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list10" type="checkbox" name="per[]" value="finance/edit"> | if(in_array('finance/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list10" type="checkbox" name="per[]" value="finance/delete"> |
| {:L('PRODUCT')} | if(in_array('product/index', $owned_permission)){ echo 'checked="checked"';} class="check_list2" type="checkbox" name="per[]" value="product/index"> | if(in_array('product/view', $owned_permission)){ echo 'checked="checked"';} class="check_list2" type="checkbox" name="per[]" value="product/view"> | if(in_array('product/add', $owned_permission)){ echo 'checked="checked"';} class="check_list2" type="checkbox" name="per[]" value="product/add"> | if(in_array('product/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list2" type="checkbox" name="per[]" value="product/edit"> | if(in_array('product/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list2" type="checkbox" name="per[]" value="product/delete"> | if(in_array('product/export', $owned_permission)){ echo 'checked="checked"';} class="check_list2" type="checkbox" name="per[]" value="product/export">
| {:L('CONTACTS')} | if(in_array('contacts/index', $owned_permission)){ echo 'checked="checked"';} class="check_list5" type="checkbox" name="per[]" value="contacts/index"> | if(in_array('contacts/view', $owned_permission)){ echo 'checked="checked"';} class="check_list5" type="checkbox" name="per[]" value="contacts/view"> | if(in_array('contacts/add', $owned_permission)){ echo 'checked="checked"';} class="check_list5" type="checkbox" name="per[]" value="contacts/add"> | if(in_array('contacts/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list5" type="checkbox" name="per[]" value="contacts/edit"> | if(in_array('contacts/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list5" type="checkbox" name="per[]" value="contacts/delete"> | if(in_array('contacts/export', $owned_permission)){ echo 'checked="checked"';} class="check_list5" type="checkbox" name="per[]" value="contacts/export">
| {:L('TASK')} | if(in_array('task/index', $owned_permission)){ echo 'checked="checked"';} class="check_list6" type="checkbox" name="per[]" value="task/index"> | if(in_array('task/view', $owned_permission)){ echo 'checked="checked"';} class="check_list6" type="checkbox" name="per[]" value="task/view"> | if(in_array('task/add', $owned_permission)){ echo 'checked="checked"';} class="check_list6" type="checkbox" name="per[]" value="task/add"> | if(in_array('task/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list6" type="checkbox" name="per[]" value="task/edit"> | if(in_array('task/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list6" type="checkbox" name="per[]" value="task/delete"> | if(in_array('task/export', $owned_permission)){ echo 'checked="checked"';} class="check_list6" type="checkbox" name="per[]" value="task/export">
| {:L('EVENT')} | if(in_array('event/index', $owned_permission)){ echo 'checked="checked"';} class="check_list7" type="checkbox" name="per[]" value="event/index"> | if(in_array('event/view', $owned_permission)){ echo 'checked="checked"';} class="check_list7" type="checkbox" name="per[]" value="event/view"> | if(in_array('event/add', $owned_permission)){ echo 'checked="checked"';} class="check_list7" type="checkbox" name="per[]" value="event/add"> | if(in_array('event/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list7" type="checkbox" name="per[]" value="event/edit"> | if(in_array('event/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list7" type="checkbox" name="per[]" value="event/delete"> | if(in_array('event/export', $owned_permission)){ echo 'checked="checked"';} class="check_list7" type="checkbox" name="per[]" value="event/export">
| {:L('MARKETING')} | {:L('ALL SEND EMAIL AND SMS AND SMSRECORD')} if(in_array('setting/marketing', $owned_permission)){ echo 'checked="checked"';} class="check_list13" type="checkbox" name="per[]" value="setting/marketing"> |
| {:L('KNOWLEDGE')} | if(in_array('knowledge/index', $owned_permission)){ echo 'checked="checked"';} class="check_list8" type="checkbox" name="per[]" value="knowledge/index"> | if(in_array('knowledge/view', $owned_permission)){ echo 'checked="checked"';} class="check_list8" type="checkbox" name="per[]" value="knowledge/view"> | if(in_array('knowledge/add', $owned_permission)){ echo 'checked="checked"';} class="check_list8" type="checkbox" name="per[]" value="knowledge/add"> | if(in_array('knowledge/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list8" type="checkbox" name="per[]" value="knowledge/edit"> | if(in_array('knowledge/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list8" type="checkbox" name="per[]" value="knowledge/delete"> | if(in_array('knowledge/export', $owned_permission)){ echo 'checked="checked"';} class="check_list8" type="checkbox" name="per[]" value="knowledge/export">
| {:L('announcement manager')} | if(in_array('announcement/index', $owned_permission)){ echo 'checked="checked"';} class="check_list11" type="checkbox" name="per[]" value="announcement/index"> | if(in_array('announcement/view', $owned_permission)){ echo 'checked="checked"';} class="check_list11" type="checkbox" name="per[]" value="announcement/view"> | if(in_array('announcement/add', $owned_permission)){ echo 'checked="checked"';} class="check_list11" type="checkbox" name="per[]" value="announcement/add"> | if(in_array('announcement/edit', $owned_permission)){ echo 'checked="checked"';} class="check_list11" type="checkbox" name="per[]" value="announcement/edit"> | if(in_array('announcement/delete', $owned_permission)){ echo 'checked="checked"';} class="check_list11" type="checkbox" name="per[]" value="announcement/delete"> |