egroupware/infolog/templates/default/edit.xet
Ralf Becker 95a3e604b0 big InfoLog update:
- using popups for editing
- renamed filter my to responsible
- warning if a log entry has been updated, while you edit it
- improved referer handling
- optimisations for so class, less DB accesses
2005-11-12 13:25:59 +00:00

197 lines
7.2 KiB
XML

<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="infolog.edit.description" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%" height="245" border="0">
<columns>
<column width="100"/>
<column/>
</columns>
<rows>
<row class="th">
<description span="all" value="Description" options=",,,info_des"/>
</row>
<row class="row" valign="top">
<description/>
<textbox multiline="true" rows="14" cols="80" no_lang="1" id="info_des" statustext="enter a textual description of the log-entry"/>
</row>
</rows>
</grid>
</template>
<template id="infolog.edit.links" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%" height="245" overflow="auto">
<columns>
<column width="100"/>
<column/>
</columns>
<rows>
<row class="th" disabled="@status_only">
<description span="all" value="Create new links"/>
</row>
<row class="row" disabled="@status_only">
<link-to span="all" id="link_to"/>
</row>
<row class="th">
<description span="all" value="Existing links"/>
</row>
<row class="row_off" valign="top">
<link-list span="all" id="link_to"/>
</row>
</rows>
</grid>
</template>
<template id="infolog.edit.delegation" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%" height="245">
<columns>
<column width="100"/>
<column/>
</columns>
<rows>
<row class="th">
<description span="all" value="Priority"/>
</row>
<row class="row">
<description value="Priority" options=",,,info_priority"/>
<menulist>
<menupopup id="info_priority" statustext="select a priority for this task"/>
</menulist>
</row>
<row class="th">
<description span="all" value="Delegation"/>
</row>
<row class="row" valign="top">
<description value="Responsible" options=",,,info_responsible"/>
<listbox type="select-account" rows="5" id="info_responsible" statustext="select a responsible user: a person you want to delegate this task"/>
</row>
<row class="row" disabled="1">
<description value="Confirm" options=",,,info_confirm"/>
<menulist>
<menupopup id="info_confirm" statustext="do you want a confirmation of the responsible on: accepting, finishing the task or both"/>
</menulist>
</row>
<row class="th">
<description span="all" value="Times"/>
</row>
<row class="row">
<description options=",,,info_planned_time" value="planned time"/>
<date-duration id="info_planned_time"/>
</row>
<row class="row" valign="top">
<description options=",,,info_used_time" value="used time"/>
<date-duration id="info_used_time"/>
</row>
</rows>
</grid>
</template>
<template id="infolog.edit.customfields" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%" height="245" class="row_on" spacing="0" padding="0" overflow="auto">
<columns>
<column/>
</columns>
<rows>
<row class="th" height="20">
<description value="Custom fields"/>
</row>
<row height="100%">
<customfields id="customfields"/>
</row>
</rows>
</grid>
</template>
<template id="infolog.edit" template="" lang="" group="0" version="1.0.1.002">
<grid width="100%">
<columns>
<column width="103"/>
<column width="260"/>
<column width="120"/>
<column/>
</columns>
<rows>
<row disabled="!@msg">
<html span="all" class="redItalic" align="center" id="msg" no_lang="1"/>
<description/>
<description/>
<description/>
</row>
<row class="th" height="28">
<description value="Type" options=",,,info_type"/>
<menulist span="all">
<menupopup id="info_type" onchange="1" statustext="Type of the log-entry: Note, Phonecall or ToDo"/>
</menulist>
</row>
<row class="row">
<description value="Category" options=",,,info_cat"/>
<menulist span="all">
<menupopup type="select-cat" options="None" id="info_cat" statustext="select a category for this entry"/>
</menulist>
</row>
<row class="row">
<description value="Contact" options=",,,info_from"/>
<textbox size="35" maxlength="64" id="info_from" statustext="Custom contact-information, leave emtpy to use information from most recent link" blur="@blur_title"/>
<description value="Phone/Email" options=",,,_info_addr"/>
<textbox size="35" maxlength="64" id="info_addr" statustext="Custom contact-address, leave empty to use information from most recent link"/>
</row>
<row class="row">
<description value="Subject" options=",,,info_subject"/>
<textbox size="64" maxlength="64" span="all" id="info_subject" needed="1" statustext="a short subject for the entry"/>
</row>
<row valign="top" height="250">
<tabbox span="all">
<tabs>
<tab label="Description" statustext="longer textual description"/>
<tab label="Links" statustext="Links of this entry"/>
<tab label="Delegation" statustext="responsible user, priority, times"/>
<tab label="Customfields" statustext="Custom fields"/>
</tabs>
<tabpanels>
<template id="infolog.edit.description"/>
<template id="infolog.edit.links"/>
<template id="infolog.edit.delegation"/>
<template id="infolog.edit.customfields"/>
</tabpanels>
</tabbox>
</row>
<row class="th" disabled="1">
<description span="all" value="Dates, Status, Access"/>
</row>
<row class="row_on">
<description value="Startdate" options=",,,info_startdate"/>
<date-time options=",2" id="info_startdate" statustext="when should the ToDo or Phonecall be started, it shows up from that date in the filter open or own open (startpage)"/>
<description value="Enddate" options=",,,info_enddate"/>
<date id="info_enddate" statustext="til when should the ToDo or Phonecall be finished"/>
</row>
<row class="row">
<description value="Status" options=",,,info_status"/>
<menulist>
<menupopup id="info_status" statustext="@status_help"/>
</menulist>
<description value="Private" options=",,,info_access"/>
<checkbox options="private,public" id="info_access" statustext="should this entry only be visible to you and people you grant privat access via the ACL"/>
</row>
<row class="row" disabled="!@info_owner">
<description value="Owner"/>
<menulist>
<menupopup type="select-account" id="info_owner" readonly="true"/>
</menulist>
<description value="Last modified"/>
<hbox orient="0,0">
<menulist>
<menupopup type="select-account" id="info_modifier" readonly="true"/>
</menulist>
<date-time class="lpadding5" id="info_datemodified" readonly="true"/>
</hbox>
</row>
<row>
<hbox span="2">
<button label="Save" id="button[save]" statustext="Saves this entry"/>
<button id="button[apply]" label="Apply" statustext="Apply the changes"/>
<button label="Cancel" id="button[cancel]" statustext="leave without saveing the entry" onclick="window.close();"/>
<html id="js"/>
</hbox>
<description/>
<button label="Delete" align="right" id="button[delete]" statustext="delete this entry" onclick="return $cont[info_anz_subs] || confirm('Delete this entry');"/>
</row>
</rows>
</grid>
</template>
</overlay>