egroupware/admin/templates/default/categories.edit.xet

90 lines
3.3 KiB
Plaintext
Raw Normal View History

<?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.categories.edit.category" template="" lang="" group="0" version="1.9.001">
2014-06-30 09:48:05 +02:00
<grid width="100%">
<columns>
2014-06-30 09:48:05 +02:00
<column width="90"/>
<column width="300"/>
</columns>
<rows>
2014-06-30 09:48:05 +02:00
<row>
<description value="Parent category" for="parent"/>
<menulist>
<menupopup type="select-cat" id="parent" options="None,$cont[all_cats],,$cont[appname]"/>
</menulist>
</row>
2014-06-30 09:48:05 +02:00
<row valign="top">
<description value="Description" for="description"/>
<textbox multiline="true" id="description" rows="5" cols="50"/>
</row>
2011-06-22 21:45:36 +02:00
<row class="nmr" disabled="@no_private">
<description value="Private"/>
<checkbox id="access" options="private,public"/>
</row>
2014-06-30 09:48:05 +02:00
<row>
<description value="Color" for="cat_data[color]"/>
<colorpicker id="data[color]"/>
</row>
2014-06-30 09:48:05 +02:00
<row>
<description value="Icon" for="data[icon]"/>
<hbox options="0,0">
<menulist>
<menupopup id="data[icon]" onchange="app.admin.change_icon(widget);" options="None"/>
</menulist>
2012-04-25 01:13:57 +02:00
<image src="icon_url" id="icon_url" class="leftPad5"/>
</hbox>
</row>
2014-06-30 09:48:05 +02:00
<row disabled="@appname=phpgw">
<description value="Application"/>
<menulist>
<menupopup type="select-app" id="appname" readonly="true" options="All applications"/>
</menulist>
</row>
2014-06-30 09:48:05 +02:00
<row>
<description value="Category owner" for="owner"/>
<taglist statustext="Limit global category to members of a certain group" id="owner" needed="1" height="190" class="et2_fullWidth" rows="4" />
</row>
</rows>
</grid>
</template>
<template id="admin.categories.edit" template="" lang="" group="0" version="1.9.001">
<grid width="100%">
<columns>
<column width="90"/>
<column width="300"/>
</columns>
<rows>
<row class="dialogHeader">
<description value="Name" for="name"/>
<textbox id="name" needed="1" size="50" maxlength="150" class="et2_fullWidth"/>
</row>
<row>
<tabbox id="tabs" span="all" tab_height="350">
<tabs>
<tab id="category" label="Category"/>
</tabs>
<tabpanels>
<template id="admin.categories.edit.category"/>
</tabpanels>
</tabbox>
</row>
2014-06-30 09:48:05 +02:00
<row disabled="!@last_mod">
<description value="Modified"/>
<date-time id="last_mod" readonly="true"/>
</row>
2014-06-30 09:48:05 +02:00
<row class="dialogFooterToolbar">
<hbox span="all">
2014-01-23 09:44:49 +01:00
<button label="Save" id="button[save]" onclick="return app.admin.check_owner(widget);" image="save" background_image="1"/>
<button label="Apply" id="button[apply]" onclick="return app.admin.check_owner(widget);" image="apply" background_image="1"/>
<buttononly label="Cancel" id="button[cancel]" onclick="window.close();" image="cancel" background_image="1"/>
<buttononly align="right" statustext="Delete this category" label="Delete" id="button[delete]" onclick="egw.open_link('admin.admin_categories.delete&amp;cat_id='+widget.getRoot().getArrayMgr('content').getEntry('id'),'_browser','450x400');window.close();" image="delete" background_image="1"/>
</hbox>
</row>
</rows>
</grid>
</template>
</overlay>