2002-10-14 02:42:31 +02:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2013-08-26 20:30:58 +02:00
<template id="infolog.index.header_left" template="" lang="" group="0" version="1.0.1.001">
2013-09-19 14:52:50 +02:00
<description value="InfoLog" class="infolog_headertext bold"/>
2013-08-26 20:30:58 +02:00
<styles>.bold { font-weight: bold; }</styles>
2005-11-12 14:25:59 +01:00
</template>
2013-08-26 20:30:58 +02:00
<template id="infolog.index.header_right" template="" lang="" group="0" version="1.9.001">
2005-11-12 14:25:59 +01:00
<hbox>
2013-09-19 14:52:50 +02:00
<description value="Add:" class="infolog_headertext"/>
2013-10-10 16:48:37 +02:00
<button statustext="Add a new ToDo" label="ToDo" id="add[task]" onclick="var options = {type: 'task',cat_id:widget.getRoot().getWidgetById('cat_id').getValue()}; if('$cont[action]' != 'null') options.action = '$cont[action]'; egw.open('','infolog','add',options)" image="task"/>
<button statustext="Add a new Phonecall" label="Phonecall" id="add[phone]" onclick="var options = {type: 'phone',cat_id:widget.getRoot().getWidgetById('cat_id').getValue()}; if('$cont[action]' != 'null') options.action = '$cont[action]'; egw.open('','infolog','add',options)" image="phone"/>
<button statustext="Add a new Note" label="Note" id="add[note]" onclick="var options = {type: 'note',cat_id:widget.getRoot().getWidgetById('cat_id').getValue()}; if('$cont[action]' != 'null') options.action = '$cont[action]'; egw.open('','infolog','add',options)" image="note"/>
2005-11-12 14:25:59 +01:00
</hbox>
</template>
2012-06-19 12:30:43 +02:00
<template id="infolog.index.rows" template="" lang="" group="0" version="1.9.005">
2011-05-02 21:41:21 +02:00
<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"/>
</columns>
<rows>
<row class="th">
2013-10-17 17:22:30 +02:00
<vbox>
2011-05-07 10:51:35 +02:00
<nextmatch-filterheader id="info_type" no_lang="1" options="Type"/>
2012-05-22 19:39:28 +02:00
<nextmatch-filterheader align="center" id="info_status" options="Status" class="selectboxFullWidth"/>
2011-05-07 10:51:35 +02:00
<nextmatch-sortheader align="right" label="Completed" id="info_percent"/>
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>
2013-10-24 18:05:19 +02:00
<nextmatch-customfilter id="linked" options="link-entry"/>
2011-05-07 10:51:35 +02:00
<nextmatch-sortheader align="right" label="Priority" id="info_priority" options="DESC" class="noPrint"/>
2006-04-05 18:17:05 +02:00
</row>
2005-07-14 19:12:50 +02:00
<row>
<nextmatch-sortheader label="Subject" id="info_subject"/>
2011-05-07 10:51:35 +02:00
<nextmatch-sortheader align="right" label="Creation" id="info_id" options="DESC" class="noPrint"/>
2005-07-14 19:12:50 +02:00
</row>
<row>
<nextmatch-sortheader label="Description" id="info_des"/>
2011-05-07 10:51:35 +02:00
<nextmatch-sortheader align="right" label="last changed" id="info_datemodified" options="DESC" class="noPrint"/>
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"/>
2013-10-17 17:22:30 +02:00
<vbox>
2005-07-14 19:12:50 +02:00
<nextmatch-sortheader label="Startdate" id="info_startdate"/>
<nextmatch-sortheader label="Enddate" id="info_enddate"/>
2011-05-07 10:51:35 +02:00
<nextmatch-sortheader label="Date completed" id="info_datecompleted"/>
2005-07-14 19:12:50 +02:00
</vbox>
2013-08-26 20:30:58 +02:00
<vbox>
2009-05-11 11:19:16 +02:00
<nextmatch-sortheader label="Times" id="info_used_time"/>
2013-09-19 14:52:50 +02:00
<nextmatch-sortheader label="planned" id="info_planned_time" class="infolog_planned"/>
2009-05-11 11:19:16 +02:00
</vbox>
2013-10-17 17:22:30 +02:00
<vbox>
2005-12-06 08:11:14 +01:00
<nextmatch-sortheader label="Times" id="info_used_time"/>
2013-09-19 14:52:50 +02:00
<nextmatch-sortheader label="planned" id="info_planned_time" class="infolog_planned"/>
2011-05-07 10:51:35 +02:00
<nextmatch-sortheader label="Re-planned" id="info_replanned_time" class="replanned"/>
2005-12-06 08:11:14 +01:00
</vbox>
2013-10-17 17:22:30 +02:00
<vbox>
2013-09-19 14:52:50 +02:00
<nextmatch-accountfilter statustext="Select to filter by owner" id="info_owner" options="Owner,both" class="infolog_user_filter"/>
<nextmatch-accountfilter statustext="Select to filter by responsible" id="info_responsible" options="Responsible,both" class="infolog_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"/>
2011-05-07 10:51:35 +02:00
<nextmatch-header label="Action" id="actions" class="noPrint"/>
2005-07-14 19:12:50 +02:00
</row>
2011-05-30 16:21:27 +02:00
<row class="$row_cont[info_cat] $row_cont[class]" valign="top">
2013-10-17 17:22:30 +02:00
<hbox align="center">
2005-07-14 19:12:50 +02:00
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
2011-05-07 10:51:35 +02:00
<button statustext="Change the status of an entry, eg. close it" label="$row_cont[info_status_label]" id="edit_status[$row_cont[info_id]]" 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="$row_cont[info_status_label]" ro_image="$row_cont[info_status_label]"/>
<button statustext="Change the status of an entry, eg. close it" label="$row_cont[info_percent]" id="edit_percent[$row_cont[info_id]]" 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="$row_cont[info_percent]"/>
2012-04-05 00:18:26 +02:00
<progress label="$row_cont[info_percent]" id="{$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>
2013-10-17 17:22:30 +02:00
<vbox class="infolog_fullWidth">
2005-11-12 14:25:59 +01:00
<link label="%s $row_cont[info_addr]" id="${row}[info_link]" options="b"/>
2013-10-17 17:22:30 +02:00
<hbox>
2011-05-07 10:51:35 +02:00
<description id="${row}[info_subject]" no_lang="1" class="$row_cont[sub_class]"/>
2013-09-19 14:52:50 +02:00
<description align="right" id="{$row}[info_number]" no_lang="1" class="infolog_infoId"/>
2006-03-24 17:10:09 +01:00
</hbox>
2009-05-08 18:01:33 +02:00
<box class="infoDes">
2011-09-08 21:00:57 +02:00
<description id="${row}[info_des]" no_lang="1" activate_links="1"/>
2009-05-08 18:01:33 +02:00
</box>
2005-07-14 19:12:50 +02:00
<link-string id="${row}[filelinks]"/>
</vbox>
2011-05-07 10:51:35 +02:00
<customfields-list id="$row" class="customfields"/>
2007-07-29 08:55:36 +02:00
<menulist>
2011-05-05 08:30:44 +02:00
<menupopup type="select-cat" id="${row}[info_cat]" readonly="true"/>
2007-07-29 08:55:36 +02:00
</menulist>
2013-10-17 17:22:30 +02:00
<vbox>
2013-09-19 14:52:50 +02:00
<date-time id="${row}[info_startdate]" readonly="true" options=",8" class="infolog_fixedHeight"/>
<date-time id="${row}[info_enddate]" readonly="true" options=",8" class="$row_cont[end_class] infolog_fixedHeight"/>
<date-time id="${row}[info_datecompleted]" readonly="true" class="infolog_fixedHeight"/>
2005-07-14 19:12:50 +02:00
</vbox>
2013-10-17 17:22:30 +02:00
<vbox>
2009-05-22 14:51:41 +02:00
<hbox readonly="true">
2013-10-17 17:22:30 +02:00
<hbox readonly="true">
2011-05-05 08:30:44 +02:00
<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"/>
2009-05-22 14:51:41 +02:00
</hbox>
<description/>
</hbox>
2013-09-19 14:52:50 +02:00
<date-duration id="${row}[info_planned_time]" readonly="true" options="@duration_format" span="all" class="infolog_planned"/>
2009-05-11 11:19:16 +02:00
</vbox>
2013-10-17 17:22:30 +02:00
<vbox>
<hbox id="r_used_time">
2008-10-07 10:40:46 +02:00
<image label="Times" src="timesheet"/>
2011-05-05 08:30:44 +02:00
<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"/>
2008-10-07 10:40:46 +02:00
</hbox>
2013-10-17 17:22:30 +02:00
<hbox id="planified">
2009-05-11 11:19:16 +02:00
<image label="planned time" src="k_alarm.png"/>
2013-09-19 14:52:50 +02:00
<date-duration id="${row}[info_planned_time]" readonly="true" options="@duration_format" span="all" class="infolog_planned"/>
2008-10-07 10:40:46 +02:00
</hbox>
2013-10-17 17:22:30 +02:00
<hbox id="replanified">
2008-10-07 10:40:46 +02:00
<image label="Re-planned time" src="agt_reload.png"/>
2011-05-07 10:51:35 +02:00
<date-duration id="${row}[info_replanned_time]" readonly="true" options="@duration_format" span="all" class="replanned"/>
2008-10-07 10:40:46 +02:00
</hbox>
2005-12-06 08:11:14 +01:00
</vbox>
2013-10-17 17:22:30 +02:00
<vbox>
2005-07-14 19:12:50 +02:00
<menulist>
2011-05-05 08:30:44 +02:00
<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
2005-07-14 19:12:50 +02:00
</menulist>
2011-05-05 08:30:44 +02:00
<listbox type="select-account" id="${row}[info_responsible]" readonly="true" rows="5"/>
2005-07-14 19:12:50 +02:00
</vbox>
2013-10-17 17:22:30 +02:00
<vbox>
2011-05-05 08:30:44 +02:00
<date-time id="${row}[info_datemodified]" readonly="true"/>
2005-07-14 19:12:50 +02:00
<menulist>
2011-05-05 08:30:44 +02:00
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
2005-07-14 19:12:50 +02:00
</menulist>
</vbox>
2013-10-17 17:22:30 +02:00
<vbox class="noPrint">
<hbox class="noPrint">
2011-05-07 10:51:35 +02:00
<button statustext="Edit this entry" label="Edit" id="edit[$row_cont[info_id]]" 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="edit"/>
<button statustext="Delete this entry" label="Delete" id="delete[$row_cont[info_id]]" onclick="return $row_cont[info_anz_subs] || confirm('Delete this entry');" image="delete"/>
<checkbox align="right" statustext="Select multiple contacts for a further action" id="checked[]" options="$row_cont[info_id]"/>
2009-05-08 18:01:33 +02:00
</hbox>
2013-10-17 17:22:30 +02:00
<hbox class="noPrint">
2011-05-07 10:51:35 +02:00
<button statustext="Sets the status of this entry to done" label="Set status to done" id="close[$row_cont[info_id]]" image="done"/>
<button statustext="Sets the status of this entry and its subs to done" label="Set status to done for all entries" id="close_all[$row_cont[info_id]]" image="done_all"/>
2009-05-08 18:01:33 +02:00
</hbox>
2013-10-17 17:22:30 +02:00
<hbox class="image16">
2011-05-07 10:51:35 +02:00
<button label="Insert in document" id="document[$row_cont[info_id]]" image="etemplate/merge"/>
2013-09-19 14:52:50 +02:00
<image label="Filemanager" src="filemanager/navbar" href="/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/infolog/$row_cont[info_id]" class="infolog_image16"/>
2011-05-02 21:41:21 +02:00
</hbox>
2009-05-08 18:01:33 +02:00
</vbox>
2005-07-14 19:12:50 +02:00
</row>
</rows>
</grid>
</template>
2013-08-26 20:30:58 +02:00
<template id="infolog.index" template="" lang="" group="0" version="1.9.005">
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">
2011-05-07 10:51:35 +02:00
<html id="css" span="all"/>
2006-04-05 18:17:05 +02:00
</row>
2013-08-27 12:25:24 +02:00
<row>
<description align="center" id="msg" no_lang="1" span="all" class="message"/>
2005-11-12 14:25:59 +01:00
</row>
2005-07-14 19:12:50 +02:00
<row disabled="1">
2013-08-26 20:30:58 +02:00
<template id="header_left"/>
2009-05-08 18:01:33 +02:00
<template id="header_right"/>
2005-07-14 19:12:50 +02:00
</row>
<row>
2013-08-26 20:30:58 +02:00
<nextmatch id="nm" template="infolog.index.rows" span="all"/>
2005-07-14 19:12:50 +02:00
</row>
2011-05-02 21:41:21 +02:00
<row class="noPrint" disabled="!@nm[selectcols]=/actions/">
<hbox>
2013-08-26 20:30:58 +02:00
<button statustext="Add a new Entry" label="Add" id="add[note]" onclick="egw.open('','infolog','add',{type:'note',action: '$cont[action]',action_id:'$cont[action_id]',cat_id:$cont[cat_id])"/>
2011-05-07 10:51:35 +02:00
<button statustext="Back to main list" label="Cancel" id="cancel"/>
2005-07-14 19:12:50 +02:00
</hbox>
2013-08-26 20:30:58 +02:00
<hbox align="right" orient="0" span="all">
2011-06-02 18:54:26 +02:00
<buttononly statustext="Select action" label="Select action" id="legacy_actions" onclick="if (!egw_globalObjectManager.getObjectById('infolog.index.rows').executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;"/>
<button statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_globalObjectManager.getObjectById('infolog.index.rows').toggleAllSelected(); return false;" image="arrow_ltr" class="checkAllArrow"/>
2011-05-02 21:41:21 +02:00
</hbox>
</row>
<row>
2012-04-10 22:28:31 +02:00
<hbox class=" ">
2013-08-26 20:30:58 +02:00
<box id="responsible_popup" class="action_popup prompt">
2011-05-04 19:17:23 +02:00
<vbox>
<description value="Change responsible" class="promptheader"/>
<description value="Select users or groups"/>
<listbox type="select-account" id="responsible" rows="5" options="both" class="action_popup-content"/>
<hbox>
2011-05-07 10:51:35 +02:00
<button label="Add" id="responsible_action[add]" onclick="nm_submit_popup(this); return false;"/>
<button label="Delete" id="responsible_action[delete]" onclick="nm_submit_popup(this); return false;"/>
<buttononly label="Cancel" onclick="nm_hide_popup(this,'responsible_popup');"/>
2011-05-04 19:17:23 +02:00
</hbox>
</vbox>
</box>
2013-08-26 20:30:58 +02:00
<box id="delete_popup" class="action_popup prompt">
2011-05-04 19:17:23 +02:00
<vbox>
<description value="Delete" class="promptheader"/>
<description value="Delete selected entries?" id="delete_prompt"/>
<hbox>
2011-05-07 10:51:35 +02:00
<button label="Yes - Delete" id="delete" onclick="nm_submit_popup(this); return false;"/>
<button label="Yes - Delete including sub-entries" id="delete_sub" onclick="nm_popup_action.id = 'delete_sub'; nm_submit_popup(this); return false;"/>
<buttononly label="No - Cancel" onclick="nm_hide_popup(this,'delete_popup');"/>
2011-05-04 19:17:23 +02:00
</hbox>
</vbox>
</box>
2013-08-26 20:30:58 +02:00
<box id="link_popup" class="action_popup prompt">
2012-04-02 21:20:33 +02:00
<vbox>
<description value="Add / Remove link" class="promptheader"/>
<link-entry id="link" class="action_popup-content"/>
<hbox>
<button label="Add" id="link_action[add]" onclick="nm_submit_popup(this); return false;"/>
<button label="Delete" id="link_action[delete]" onclick="nm_submit_popup(this); return false;"/>
<buttononly label="Cancel" onclick="nm_hide_popup(this,'link_popup');"/>
</hbox>
</vbox>
</box>
2011-05-04 19:17:23 +02:00
</hbox>
2012-04-02 21:20:33 +02:00
<description/>
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
*/
2012-04-10 22:28:31 +02:00
div.action_popup[id] {
2011-05-02 21:41:21 +02:00
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>
2013-08-28 08:58:00 +02:00
</overlay>