egroupware/admin/templates/default/acl.edit.xet
2017-03-09 11:06:44 -07:00

53 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//Stylite AG//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
<template id="admin.acl.edit" template="" lang="" group="0" version="1.9.001">
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row disabled="@acl_location=run" part="header">
<description value="Application"/>
<menulist>
<!-- app.admin doesn't exist (for unknown reason), but accessing it through etemplate2 works -->
<menupopup id="acl_appname" needed="1" onchange="etemplate2.getById('admin-acl').app_obj.admin.acl_reopen_dialog" options="Select one"/>
</menulist>
</row>
<row part="header">
<description value="Data from" for="acl_account"/>
<menulist>
<!-- app.admin doesn't exist (for unknown reason), but accessing it through etemplate2 works -->
<menupopup type="select-account" id="acl_account" account_type="both" needed="1" onchange="etemplate2.getById('admin-acl').app_obj.admin.acl_reopen_dialog"/>
</menulist>
</row>
<row disabled="@acl_location=run" part="header">
<description value="Access by" for="acl_location"/>
<menulist>
<menupopup type="select-account" id="acl_location" account_type="both"/>
</menulist>
</row>
<row valign="top" disabled="@acl_location=run">
<description value="Rights"/>
<grid>
<columns>
<column/>
</columns>
<rows>
<row>
<checkbox label="@label[$row]" id="acl[$row]" options="{$cont[right][$row]},0" span="all"/>
</row>
</rows>
</grid>
</row>
<row disabled="!@acl_location=run">
<description value="Applications" for="apps"/>
<listbox type="select-app" id="apps" rows="8" options=",enabled,,,,,0"/>
</row>
</rows>
</grid>
</template>
</overlay>