2005-11-09 00:15:14 +01:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2010-08-23 17:57:09 +02:00
<template id="calendar.list.rows" template="" lang="" group="0" version="1.7.003">
<grid width="100%">
2005-11-09 00:15:14 +01:00
<columns>
<column/>
<column width="40%"/>
<column/>
<column/>
2007-03-09 12:38:44 +01:00
<column/>
<column/>
<column/>
2008-06-07 19:45:33 +02:00
<column/>
<column/>
<column/>
<column/>
<column/>
2009-10-03 09:32:05 +02:00
<column/>
2005-11-09 00:15:14 +01:00
</columns>
<rows>
<row class="th">
<vbox>
<nextmatch-sortheader label="Start" id="cal_start"/>
2010-04-15 20:23:02 +02:00
<nextmatch-sortheader label="End" id="cal_end"/>
2005-11-09 00:15:14 +01:00
</vbox>
<vbox>
<nextmatch-sortheader label="Title" id="cal_title"/>
<nextmatch-sortheader label="Description" id="cal_description"/>
</vbox>
2008-06-07 19:45:33 +02:00
<nextmatch-sortheader label="Title" id="cal_title"/>
<nextmatch-sortheader label="Description" id="cal_description"/>
<nextmatch-sortheader label="Recurrence" id="recure"/>
2007-03-09 12:38:44 +01:00
<nextmatch-header label="Project" id="pm_id"/>
<nextmatch-header label="Category" id="cat_id"/>
2005-11-09 00:15:14 +01:00
<vbox>
2010-04-15 20:23:02 +02:00
<nextmatch-sortheader label="Owner" readonly="true" id="cal_owner"/>
<nextmatch-sortheader label="Location" id="cal_location"/>
2005-11-09 00:15:14 +01:00
</vbox>
2010-04-15 20:23:02 +02:00
<nextmatch-sortheader label="Owner" readonly="true" id="cal_owner"/>
<nextmatch-sortheader label="Location" id="cal_location"/>
<nextmatch-accountfilter label="Participants" id="participant" options="All"/>
<nextmatch-customfields label="Custom fields" readonly="true" id="cfs"/>
2009-10-03 09:32:05 +02:00
<hbox label="Actions" class="noPrint">
<description value="Actions" statustext="Check all" class="noPrint"/>
2010-04-15 20:23:02 +02:00
<button label="Check all" onclick="toggle_all(this.form,form::name('checked[]')); return false;" needed="1" align="right" id="check_all" image="check" statustext="Check all"/>
2009-10-03 09:32:05 +02:00
</hbox>
2005-11-09 00:15:14 +01:00
</row>
<row class="row" valign="top">
<vbox id="start">
2010-04-15 20:23:02 +02:00
<date-time readonly="true" id="${row}[start]" options=",$cont[format]" class="noWrap"/>
<date-time readonly="true" id="${row}[end]" options=",$cont[format]" class="noWrap"/>
2005-11-09 00:15:14 +01:00
</vbox>
<vbox>
2010-04-15 20:23:02 +02:00
<description readonly="true" no_lang="1" id="${row}[title]" options="b"/>
2010-08-23 17:57:09 +02:00
<box no_lang="1" class="listDescription">
<description no_lang="1" id="${row}[description]"/>
</box>
2010-04-15 20:23:02 +02:00
<description no_lang="1" id="${row}[recure]"/>
2005-11-09 00:15:14 +01:00
</vbox>
2008-06-07 19:45:33 +02:00
<description id="${row}[title]"/>
2010-04-15 20:23:02 +02:00
<description no_lang="1" id="${row}[description]"/>
2008-06-07 19:45:33 +02:00
<description id="${row}[recure]"/>
2010-04-15 20:23:02 +02:00
<link-string id="${row}[id]" options="calendar,projectmanager"/>
2007-03-09 12:38:44 +01:00
<menulist>
2010-04-15 20:23:02 +02:00
<menupopup type="select-cat" readonly="true" id="${row}[category]"/>
2007-03-09 12:38:44 +01:00
</menulist>
2005-11-09 00:15:14 +01:00
<vbox>
2010-04-15 20:23:02 +02:00
<menulist>
<menupopup type="select-account" class="noWrap" readonly="true" id="${row}[owner]"/>
2005-11-09 00:15:14 +01:00
</menulist>
2010-04-15 20:23:02 +02:00
<description no_lang="1" id="${row}[location]"/>
2005-11-09 00:15:14 +01:00
</vbox>
2010-04-15 20:23:02 +02:00
<menulist>
<menupopup type="select-account" class="noWrap" readonly="true" id="${row}[owner]"/>
2008-06-07 19:45:33 +02:00
</menulist>
2010-04-15 20:23:02 +02:00
<description no_lang="1" id="${row}[location]"/>
<html readonly="true" no_lang="1" id="${row}[parts]"/>
2009-10-03 09:32:05 +02:00
<customfields-list id="$row"/>
2010-08-23 17:57:09 +02:00
<vbox options="0,0" class="noPrint">
2010-04-15 20:23:02 +02:00
<hbox class="noPrint">
<button label="View" onclick="window.open(egw::link('/index.php','menuaction=calendar.calendar_uiforms.edit&cal_id=$row_cont[id]&date=$row_cont[date]'),'425','dependent=yes,width=750,height=450,scrollbars=yes,status=yes'); return false;" id="view[$row_cont[id]]" image="view" statustext="View this event"/>
2010-08-23 17:57:09 +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[]=$row_cont[app]&cat_id=$row_cont[category]&link_id[]=$row_cont[app_id]$row_cont[extra_links]'),'_blank','dependent=yes,width=600,height=400,scrollbars=yes,status=yes'); return false;" align="center"/>
2010-04-15 20:23:02 +02:00
<button label="Edit" onclick="$row_cont[edit_link]" id="edit[$row_cont[id]]" image="edit" statustext="Edit this event"/>
<button label="Delete" onclick="return confirm('Delete this event');" id="delete[$row_cont[id]]" image="delete" statustext="Delete this event"/>
<checkbox align="right" id="checked[]" options="$row_cont[id]:$row_cont[recur_date]" statustext="Select multiple contacts for a further action"/>
</hbox>
<hbox options="0,0">
2010-08-23 17:57:09 +02:00
<button label="Filemanager" image="filemanager/navbar" id="filemanager[$row_cont[id]]" class="image16" onclick="window.location.href=egw::link('/index.php','menuaction=filemanager.filemanager_ui.index&path=/apps/calendar/$row_cont[id]'); return false;"/>
2010-04-15 20:23:02 +02:00
</hbox>
</vbox>
2005-11-09 00:15:14 +01:00
</row>
</rows>
</grid>
</template>
2010-04-15 20:23:02 +02:00
<template id="calendar.list" template="" lang="" group="0" version="1.7.003">
2005-11-09 00:15:14 +01:00
<grid width="100%">
<columns>
<column/>
</columns>
<rows>
2010-08-23 17:57:09 +02:00
<row disabled="!@css">
<html span="all" id="css"/>
</row>
2005-11-09 00:15:14 +01:00
<row disabled="!@msg">
2010-08-23 17:57:09 +02:00
<description align="center" no_lang="1" id="msg" class="redItalic"/>
2005-11-09 00:15:14 +01:00
</row>
<row>
2010-08-23 17:57:09 +02:00
<nextmatch id="nm" options="calendar.list.rows"/>
2005-11-09 00:15:14 +01:00
</row>
2010-08-23 17:57:09 +02:00
<row class="noPrint">
2010-04-15 20:23:02 +02:00
<hbox align="right">
2010-08-23 17:57:09 +02:00
<checkbox label="whole query" onchange="if (this.checked==true && !confirm('Apply the action on the whole query, NOT only the shown events')) this.checked=false;" id="use_all" statustext="Apply the action on the whole query, NOT only the shown events"/>
2010-04-15 20:23:02 +02:00
<menulist>
2010-08-23 17:57:09 +02:00
<menupopup onchange="do_action(this);" no_lang="1" id="action" options="Select an action..." statustext="Select an action"/>
2010-04-15 20:23:02 +02:00
</menulist>
2010-08-23 17:57:09 +02:00
<button label="Check all" onclick="toggle_all(this.form,form::name('nm[rows][checked][]')); return false;" needed="1" id="check_all" image="arrow_ltr" statustext="Check all" class="checkAllArrow"/>
2008-06-07 19:45:33 +02:00
</hbox>
</row>
2005-11-09 00:15:14 +01:00
</rows>
</grid>
2007-03-09 12:38:44 +01:00
<styles>
.noWrap { white-space: nowrap; }
2010-04-15 20:23:02 +02:00
.image16 img {
height: 16px;
}
2007-03-09 12:38:44 +01:00
</styles>
2005-11-09 00:15:14 +01:00
</template>
</overlay>