2002-10-14 02:42:31 +02:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2005-11-12 14:25:59 +01:00
<template id="infolog.index.header_left" template="" lang="" group="0" version="1.0.1.001">
2011-05-03 09:26:32 +02:00
<description class="headertext bold" value="InfoLog"/>
2005-11-12 14:25:59 +01:00
<styles>.bold { font-weight: bold; }</styles>
</template>
2009-12-15 13:14:23 +01:00
<template id="infolog.index.header_right" template="" lang="" group="0" version="1.7.001">
2005-11-12 14:25:59 +01:00
<hbox>
2011-05-03 09:26:32 +02:00
<description class="headertext" value="Add:"/>
<button image="task" label="ToDo" id="add[task]" statustext="Add a new ToDo" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&type=task&action=$cont[action]&action_id=$cont[action_id]&cat_id=$cont[cat_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
<button image="phone" label="Phonecall" id="add[phone]" statustext="Add a new Phonecall" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&type=phone&action=$cont[action]&action_id=$cont[action_id]&cat_id=$cont[cat_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
<button image="note" label="Note" id="add[note]" statustext="Add a new Note" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&type=note&action=$cont[action]&action_id=$cont[action_id]&cat_id=$cont[cat_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
2005-11-12 14:25:59 +01:00
</hbox>
</template>
2011-05-02 21:41:21 +02:00
<template id="infolog.index.rows" template="" lang="" group="0" version="1.9.002">
<grid width="100%">
2005-07-14 19:12:50 +02:00
<columns>
<column width="2%"/>
<column/>
2008-01-19 06:36:20 +01:00
<column disabled="@no_customfields"/>
2007-07-29 08:55:36 +02:00
<column/>
2006-03-17 21:53:26 +01:00
<column width="120"/>
2007-03-07 13:31:48 +01:00
<column/>
2009-05-11 11:19:16 +02:00
<column/>
2007-07-29 08:55:36 +02:00
<column width="8%" disabled="@no_info_owner_info_responsible"/>
<column width="12%"/>
2005-07-14 19:12:50 +02:00
<column width="3%" disabled="@no_actions"/>
<column width="3%" disabled="@no_actions"/>
</columns>
<rows>
<row class="th">
2006-10-24 12:08:21 +02:00
<vbox options="0,0">
2006-12-08 16:14:20 +01:00
<nextmatch-filterheader options="Type" id="info_type" no_lang="1"/>
2006-04-05 18:17:05 +02:00
<nextmatch-filterheader options="Status" id="info_status" align="center"/>
2006-03-17 21:53:26 +01:00
<nextmatch-sortheader label="Completed" id="info_percent" align="right"/>
2005-07-14 19:12:50 +02:00
</vbox>
<grid width="100%" spacing="0" padding="0">
<columns>
<column/>
<column/>
</columns>
<rows>
2006-04-05 18:17:05 +02:00
<row>
2009-09-25 10:03:01 +02:00
<nextmatch-customfilter options="link-entry" id="linked" onchange="1"/>
2006-04-05 18:17:05 +02:00
<nextmatch-sortheader label="Priority" align="right" id="info_priority" options="DESC" class="noPrint"/>
</row>
2005-07-14 19:12:50 +02:00
<row>
<nextmatch-sortheader label="Subject" id="info_subject"/>
2006-04-05 18:17:05 +02:00
<nextmatch-sortheader label="Creation" align="right" id="info_id" options="DESC" class="noPrint"/>
2005-07-14 19:12:50 +02:00
</row>
<row>
<nextmatch-sortheader label="Description" id="info_des"/>
2006-04-05 18:17:05 +02:00
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC" class="noPrint" align="right"/>
2005-07-14 19:12:50 +02:00
</row>
</rows>
</grid>
2008-01-19 06:36:20 +01:00
<nextmatch-customfields id="customfields"/>
2007-07-29 08:55:36 +02:00
<nextmatch-header label="Category" id="cat_id"/>
2006-10-24 12:08:21 +02:00
<vbox options="0,0">
2005-07-14 19:12:50 +02:00
<nextmatch-sortheader label="Startdate" id="info_startdate"/>
<nextmatch-sortheader label="Enddate" id="info_enddate"/>
2006-03-17 21:53:26 +01:00
<nextmatch-sortheader id="info_datecompleted" label="Date completed"/>
2005-07-14 19:12:50 +02:00
</vbox>
2009-05-11 11:19:16 +02:00
<vbox rows="2" cols="1">
<nextmatch-sortheader label="Times" id="info_used_time"/>
<nextmatch-sortheader id="info_planned_time" class="planned" label="planned"/>
</vbox>
<vbox rows="2" cols="1" options="0,0">
2005-12-06 08:11:14 +01:00
<nextmatch-sortheader label="Times" id="info_used_time"/>
<nextmatch-sortheader id="info_planned_time" class="planned" label="planned"/>
2008-10-07 10:40:46 +02:00
<nextmatch-sortheader id="info_replanned_time" class="replanned" label="Re-planned"/>
2005-12-06 08:11:14 +01:00
</vbox>
2006-10-24 12:08:21 +02:00
<vbox options="0,0">
2007-07-29 08:55:36 +02:00
<nextmatch-accountfilter id="info_owner" options="Owner" statustext="Select to filter by owner" class="user_filter"/>
<nextmatch-accountfilter id="info_responsible" options="Responsible,both" statustext="Select to filter by responsible" class="user_filter"/>
2005-07-14 19:12:50 +02:00
</vbox>
2005-07-17 23:54:28 +02:00
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC"/>
2006-03-27 00:31:33 +02:00
<description value="Sub" class="noPrint"/>
2011-05-02 21:41:21 +02:00
<nextmatch-header label="Action" class="noPrint" id="actions"/>
2005-07-14 19:12:50 +02:00
</row>
2011-05-02 21:41:21 +02:00
<row class="row $row_cont[class] $row_cont[cat_id]" valign="top">
2006-09-27 15:22:56 +02:00
<hbox options="5" align="center">
2005-07-14 19:12:50 +02:00
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
2008-10-07 14:50:14 +02:00
<button image="$row_cont[info_status_label]" ro_image="$row_cont[info_status_label]" label="$row_cont[info_status_label]" id="edit_status[$row_cont[info_id]]" statustext="Change the status of an entry, eg. close it" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&info_id=$row_cont[info_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
<button image="$row_cont[info_percent]" label="$row_cont[info_percent]" id="edit_percent[$row_cont[info_id]]" statustext="Change the status of an entry, eg. close it" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&info_id=$row_cont[info_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
<image label="$row_cont[info_percent2]" src="{$row}[info_percent2]" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&info_id=$row_cont[info_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
2005-07-14 19:12:50 +02:00
</hbox>
2006-10-24 12:08:21 +02:00
<vbox options="0,0" class="fullWidth">
2005-11-12 14:25:59 +01:00
<link label="%s $row_cont[info_addr]" id="${row}[info_link]" options="b"/>
2006-09-27 15:22:56 +02:00
<hbox options="0,0">
2006-03-24 17:10:09 +01:00
<description class="$row_cont[sub_class]" no_lang="1" id="${row}[info_subject]"/>
<description no_lang="1" align="right" id="{$row}[info_number]" class="infoId"/>
</hbox>
2009-05-08 18:01:33 +02:00
<box class="infoDes">
<description no_lang="1" id="${row}[info_des]" options=",,1"/>
</box>
2005-07-14 19:12:50 +02:00
<link-string id="${row}[filelinks]"/>
</vbox>
2008-01-19 06:36:20 +01:00
<customfields-list class="customfields" id="$row"/>
2007-07-29 08:55:36 +02:00
<menulist>
<menupopup type="select-cat" id="${row}[info_cat]" readonly="true"/>
</menulist>
2006-09-27 15:22:56 +02:00
<vbox options="0,0,1" rows="3" cols="1">
<date-time options=",8" id="${row}[info_startdate]" readonly="true" class="fixedHeight"/>
<date class="$row_cont[end_class] fixedHeight" id="${row}[info_enddate]" readonly="true"/>
<date-time id="${row}[info_datecompleted]" readonly="true" class="fixedHeight"/>
2005-07-14 19:12:50 +02:00
</vbox>
2009-05-11 11:19:16 +02:00
<vbox rows="3" cols="1" options="0,0">
2009-05-22 14:51:41 +02:00
<hbox readonly="true">
<hbox readonly="true" options="1,0">
<date-duration id="${row}[info_used_time]" readonly="true" options="@duration_format"/>
<date-duration id="${row}[info_sum_timesheets]" readonly="true" options="@duration_format" class="timesheet"/>
</hbox>
<description/>
</hbox>
2009-05-11 11:19:16 +02:00
<date-duration id="${row}[info_planned_time]" span="all" class="planned" readonly="true" options="@duration_format"/>
</vbox>
<vbox rows="3" cols="1" options="0,0">
2008-10-07 10:40:46 +02:00
<hbox options="1,0" id="r_used_time">
<image label="Times" src="timesheet"/>
<date-duration id="${row}[info_used_time]" readonly="true" options="@duration_format"/>
<date-duration id="${row}[info_sum_timesheets]" readonly="true" options="@duration_format" class="timesheet"/>
</hbox>
<hbox options="1,0" id="planified">
2009-05-11 11:19:16 +02:00
<image label="planned time" src="k_alarm.png"/>
2008-10-07 10:40:46 +02:00
<date-duration id="${row}[info_planned_time]" span="all" class="planned" readonly="true" options="@duration_format"/>
</hbox>
<hbox options="1,0" id="replanified">
<image label="Re-planned time" src="agt_reload.png"/>
<date-duration id="${row}[info_replanned_time]" span="all" class="replanned" readonly="true" options="@duration_format"/>
</hbox>
2005-12-06 08:11:14 +01:00
</vbox>
2006-10-24 12:08:21 +02:00
<vbox options="0,0">
2005-07-14 19:12:50 +02:00
<menulist>
<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
</menulist>
2005-10-05 09:50:47 +02:00
<listbox type="select-account" id="${row}[info_responsible]" readonly="true" rows="5"/>
2005-07-14 19:12:50 +02:00
</vbox>
2006-09-27 15:22:56 +02:00
<vbox options="0" orient="0">
2005-07-14 19:12:50 +02:00
<date-time id="${row}[info_datemodified]" readonly="true"/>
<menulist>
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
</menulist>
</vbox>
2006-09-27 15:22:56 +02:00
<vbox options="0" align="center" class="noPrint" orient="0">
2008-10-07 14:50:14 +02:00
<button image="new" label="Add sub" align="center" id="sp[$row_cont[info_id]]" statustext="Add a new sub-task, -note, -call to this entry" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&action=sp&action_id=$row_cont[info_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
2009-05-08 18:01:33 +02:00
<button image="view" label="View subs" align="center" id="view[$row_cont[info_id]]" statustext="View all subs of this entry"/>
<button image="parent" label="View parent" align="center" id="view[$row_cont[info_id_parent]]" statustext="View the parent of this entry and all his subs"/>
2008-10-07 14:50:14 +02:00
<button image="timesheet" label="Add timesheet entry" id="timesheet[$row_cont[info_id]]" onclick="window.open(egw::link('/index.php','menuaction=timesheet.timesheet_ui.edit&link_app[]=infolog&cat_id=$row_cont[info_cat]&link_id[]=$row_cont[info_id]$row_cont[extra_links]'),'_blank','dependent=yes,width=600,height=400,scrollbars=yes,status=yes'); return false;" align="center"/>
2005-07-14 19:12:50 +02:00
</vbox>
2009-05-08 18:01:33 +02:00
<vbox options="0" class="noPrint" orient="0">
<hbox options="0,0" class="noPrint" orient="0">
<button image="edit" label="Edit" id="edit[$row_cont[info_id]]" statustext="Edit this entry" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&info_id=$row_cont[info_id]'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
<button image="delete" label="Delete" id="delete[$row_cont[info_id]]" statustext="Delete this entry" onclick="return $row_cont[info_anz_subs] || confirm('Delete this entry');"/>
2011-05-02 21:41:21 +02:00
<checkbox id="checked[]" options="$row_cont[info_id]" statustext="Select multiple contacts for a further action" align="right"/>
2009-05-08 18:01:33 +02:00
</hbox>
<hbox options="0,0" class="noPrint" orient="0">
2009-12-15 13:14:23 +01:00
<button image="done" label="Set status to done" id="close[$row_cont[info_id]]" statustext="Sets the status of this entry to done"/>
<button image="done_all" label="Set status to done for all entries" id="close_all[$row_cont[info_id]]" statustext="Sets the status of this entry and its subs to done"/>
2009-05-08 18:01:33 +02:00
</hbox>
2011-05-02 21:41:21 +02:00
<hbox options="0,0" class="image16" orient="0">
<button id="document[$row_cont[info_id]]" image="etemplate/merge" label="Insert in document"/>
<image src="filemanager/navbar" options="/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/infolog/$row_cont[info_id]" class="image16" label="Filemanager"/>
</hbox>
2009-05-08 18:01:33 +02:00
</vbox>
2005-07-14 19:12:50 +02:00
</row>
</rows>
</grid>
</template>
2011-05-02 21:41:21 +02:00
<template id="infolog.index" template="" lang="" group="0" version="1.9.002">
2005-07-14 19:12:50 +02:00
<grid width="100%" border="0" spacing="0" padding="0">
<columns>
2011-05-02 21:41:21 +02:00
<column width="70%"/>
2005-07-14 19:12:50 +02:00
<column/>
</columns>
<rows>
2008-09-22 11:04:19 +02:00
<row disabled="!@css">
2006-04-05 18:17:05 +02:00
<html span="all" id="css"/>
</row>
2005-11-12 14:25:59 +01:00
<row disabled="!@msg">
<description span="all" class="redItalic" align="center" id="msg" no_lang="1"/>
<description/>
</row>
2005-07-14 19:12:50 +02:00
<row disabled="1">
2009-05-08 18:01:33 +02:00
<template id="header_left"/>
<template id="header_right"/>
2005-07-14 19:12:50 +02:00
</row>
<row>
<nextmatch options="infolog.index.rows" span="all" id="nm"/>
</row>
2011-05-02 21:41:21 +02:00
<row class="noPrint" disabled="!@nm[selectcols]=/actions/">
<hbox>
2008-10-07 14:50:14 +02:00
<button label="Add" id="add[note]" statustext="Add a new Entry" onclick="window.open(egw::link('/index.php','menuaction=infolog.infolog_ui.edit&type=note&action=$cont[action]&action_id=$cont[action_id]&cat_id={$cont[nm][cat_id]}'),'_blank','dependent=yes,width=750,height=600,scrollbars=yes,status=yes'); return false;"/>
2005-07-14 19:12:50 +02:00
<button label="Cancel" id="cancel" statustext="Back to main list"/>
</hbox>
2011-05-02 21:41:21 +02:00
<hbox options="0" align="right" orient="0">
<buttononly id="legacy_actions" statustext="Select action" label="Select action" onclick="if (!egw_objectManager.executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;"/>
<button image="arrow_ltr" label="Check all" id="check_all" statustext="Check all" onclick="toggle_all(this.form,form::name('nm[rows][checked][]')); return false;" needed="1" class="checkAllArrow"/>
</hbox>
</row>
<row>
<box id="responsible_popup" class="action_popup prompt">
<vbox>
<description class="promptheader" value="Change responsible"/>
<description value="Select users or groups"/>
<listbox type="select-account" class="action_popup-content" id="responsible" rows="5" options="both"/>
<hbox>
2011-05-03 09:26:32 +02:00
<button label="Add" id="responsible_action[add]" onclick="submit_popup(this); return false;"/>
<button id="responsible_action[delete]" label="Delete" onclick="submit_popup(this); return false;"/>
2011-05-02 21:41:21 +02:00
<buttononly label="Cancel" onclick="hide_popup(this,'responsible_popup');"/>
</hbox>
</vbox>
</box>
<box id="link_popup" class="action_popup prompt">
<vbox>
<description class="promptheader" value="Add / Remove link"/>
<link-entry id="link" class="action_popup-content"/>
<hbox>
2011-05-03 09:26:32 +02:00
<button label="Add" id="link_action[add]" onclick="submit_popup(this); return false;"/>
<button id="link_action[delete]" label="Delete" onclick="submit_popup(this); return false;"/>
2011-05-02 21:41:21 +02:00
<buttononly label="Cancel" onclick="hide_popup(this,'link_popup');"/>
</hbox>
</vbox>
</box>
2005-07-14 19:12:50 +02:00
</row>
</rows>
</grid>
2011-05-02 21:41:21 +02:00
<styles>
/**
* Add / remove link or category popup used for actions on multiple entries
*/
.action_popup {
position: fixed;
top: 200px;
left: 450px;
width: 76ex;
z-index: 20000;
display: none;
border-collapse:collapse;
border-spacing:0px
}
.action_popup-content {
display:block;
padding:2ex;
color:#666666;
margin: -2px -1px 0px -2px;
}
.action_popup > table {
width: 100%
}
.action_popup .promptheader {
padding: 1ex;
width: 100%
}
.action_select {
width: 100%
}
</styles>
2005-07-14 19:12:50 +02:00
</template>
2002-10-14 02:42:31 +02:00
</overlay>