egroupware_official/admin/templates/default/acl.edit.xet
2018-08-24 12:03:19 -06:00

63 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
<template id="admin.acl.edit.acl" 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>
<template id="admin.acl.edit" template="" lang="" group="0" version="1.9.001">
<tabbox id="tabs" class="et2_nowrap" span="all" width="100%" tab_height="250px">
<tabs>
<tab id="acl" label="Access" statustext="Access"/>
</tabs>
<tabpanels>
<template id="admin.acl.edit.acl"/>
</tabpanels>
</tabbox>
</template>
</overlay>