egroupware/calendar/templates/default/list.xet

152 lines
6.6 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2011-04-27 18:53:06 +02:00
<template id="calendar.list.rows" template="" lang="" group="0" version="1.9.004">
<grid width="100%">
<columns>
<column/>
<column width="40%"/>
<column/>
<column/>
<column/>
<column/>
<column/>
2008-06-07 19:45:33 +02:00
<column/>
<column/>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
<vbox>
<nextmatch-sortheader label="Start" id="cal_start"/>
<nextmatch-sortheader label="End" id="cal_end"/>
</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"/>
<nextmatch-header label="Category" id="cat_id"/>
<vbox>
<nextmatch-sortheader label="Owner" readonly="true" id="cal_owner"/>
<nextmatch-sortheader label="Location" id="cal_location"/>
</vbox>
<nextmatch-sortheader label="Owner" readonly="true" id="cal_owner"/>
<nextmatch-sortheader label="Location" id="cal_location"/>
<nextmatch-accountfilter label="Participants" id="participant" options="All"/>
2011-04-27 18:53:06 +02:00
<vbox>
<nextmatch-sortheader label="Created" id="cal_created"/>
<nextmatch-header id="cal_creator" options="Creator" label="Creator"/>
<description value="Last changed"/>
</vbox>
<nextmatch-customfields label="Custom fields" readonly="true" id="cfs"/>
<hbox label="Actions" class="noPrint">
2011-04-27 18:53:06 +02:00
<nextmatch-header label="Actions" statustext="Check all" class="noPrint" id="legacy_actions"/>
<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"/>
</hbox>
</row>
2011-04-27 18:53:06 +02:00
<row class="$row_cont[category] $row_cont[class]" valign="top">
<vbox id="start">
<date-time readonly="true" id="${row}[start]" options=",$cont[format]" class="noWrap"/>
<date-time readonly="true" id="${row}[end]" options=",$cont[format]" class="noWrap"/>
</vbox>
<vbox class="listVbox">
2011-04-27 18:53:06 +02:00
<hbox readonly="true" no_lang="1">
<description readonly="true" no_lang="1" id="${row}[title]" options="b"/>
<description value="#%s" id="${row}[id]" options="b" align="right"/>
</hbox>
<box no_lang="1" class="listDescription">
<description no_lang="1" id="${row}[description]"/>
</box>
<description no_lang="1" id="${row}[recure]"/>
</vbox>
2011-04-27 18:53:06 +02:00
<hbox>
<description id="${row}[title]"/>
<description value="#%s" id="${row}[id]" options="b" align="right"/>
</hbox>
<description no_lang="1" id="${row}[description]"/>
2008-06-07 19:45:33 +02:00
<description id="${row}[recure]"/>
<menulist>
<menupopup type="select-cat" readonly="true" id="${row}[category]"/>
</menulist>
<vbox>
<menulist>
<menupopup type="select-account" class="noWrap" readonly="true" id="${row}[owner]"/>
</menulist>
<description no_lang="1" id="${row}[location]"/>
</vbox>
<menulist>
<menupopup type="select-account" class="noWrap" readonly="true" id="${row}[owner]"/>
2008-06-07 19:45:33 +02:00
</menulist>
<description no_lang="1" id="${row}[location]"/>
<html readonly="true" no_lang="1" id="${row}[parts]"/>
2011-04-27 18:53:06 +02:00
<vbox>
<date-time id="${row}[created]" readonly="true"/>
<menulist>
<menupopup type="select-account" id="${row}[creator]" readonly="true"/>
</menulist>
<date-time id="${row}[modified]" readonly="true"/>
</vbox>
<customfields-list id="$row"/>
<vbox options="0,0" class="noPrint">
<hbox class="noPrint">
<button label="View" onclick="window.open(egw::link('/index.php','menuaction=calendar.calendar_uiforms.edit&amp;cal_id=$row_cont[id]&amp;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"/>
<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">
2011-04-27 18:53:06 +02:00
<button image="etemplate/merge" label="merge" id="document[$row_cont[id]:$row_cont[recur_date]]"/>
<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&amp;path=/apps/calendar/$row_cont[id]'); return false;"/>
2011-04-27 18:53:06 +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&amp;link_app[]=$row_cont[app]&amp;cat_id=$row_cont[category]&amp;link_id[]=$row_cont[app_id]$row_cont[extra_links]'),'_blank','dependent=yes,width=600,height=400,scrollbars=yes,status=yes'); return false;"/>
</hbox>
</vbox>
</row>
</rows>
</grid>
</template>
2011-04-27 18:53:06 +02:00
<template id="calendar.list" template="" lang="" group="0" version="1.9.002">
<grid width="100%">
<columns>
<column/>
2011-04-27 18:53:06 +02:00
<column width="30%"/>
</columns>
<rows>
<row disabled="!@css">
2011-04-27 18:53:06 +02:00
<description/>
<html span="all" id="css"/>
</row>
<row disabled="!@msg">
2011-04-27 18:53:06 +02:00
<description align="center" no_lang="1" id="msg" span="all" class="redItalic"/>
<description align="center" no_lang="1" id="msg" class="redItalic"/>
</row>
<row>
2011-04-27 18:53:06 +02:00
<nextmatch id="nm" options="calendar.list.rows" span="all"/>
</row>
2011-04-27 18:53:06 +02:00
<row class="noPrint" disabled="!@nm[selectcols]=/legacy_actions/">
<description/>
<hbox align="right">
2011-04-27 18:53:06 +02:00
<buttononly label="Select action" onclick="if (!egw_objectManager.executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;" id="legacy_actions" statustext="Select action"/>
2011-05-04 19:49:48 +02:00
<button label="Check all" onclick="egw_objectManager.toggleAllSelected(); 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>
</rows>
</grid>
<styles>
.noWrap { white-space: nowrap; }
.image16 img {
height: 16px;
}
.listVbox {
width: 100%;
}
</styles>
</template>
</overlay>