* fixed printing in calendar (only first page of list was printed and some UI not disabled)

--> fix for egw.stylite.de bug #8142: calendar list view printed on three pages
This commit is contained in:
Ralf Becker 2010-08-23 15:57:09 +00:00
parent ea97fc438f
commit b51c248768
2 changed files with 20 additions and 14 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,8 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="calendar.list.rows" template="" lang="" group="0" version="1.7.002">
<grid width="100%" overflow="auto">
<template id="calendar.list.rows" template="" lang="" group="0" version="1.7.003">
<grid width="100%">
<columns>
<column/>
<column width="40%"/>
@ -53,7 +53,9 @@
</vbox>
<vbox>
<description readonly="true" no_lang="1" id="${row}[title]" options="b"/>
<box no_lang="1" class="listDescription">
<description no_lang="1" id="${row}[description]"/>
</box>
<description no_lang="1" id="${row}[recure]"/>
</vbox>
<description id="${row}[title]"/>
@ -75,15 +77,16 @@
<description no_lang="1" id="${row}[location]"/>
<html readonly="true" no_lang="1" id="${row}[parts]"/>
<customfields-list id="$row"/>
<vbox options="0,0">
<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 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;" align="center"/>
<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">
<image src="filemanager/navbar" options="/index.php?menuaction=filemanager.filemanager_ui.index&amp;path=/apps/calendar/$row_cont[id]" class="image16" label="Filemanager"/>
<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;"/>
</hbox>
</vbox>
</row>
@ -96,19 +99,22 @@
<column/>
</columns>
<rows>
<row disabled="!@css">
<html span="all" id="css"/>
</row>
<row disabled="!@msg">
<description class="redItalic" align="center" id="msg" no_lang="1"/>
<description align="center" no_lang="1" id="msg" class="redItalic"/>
</row>
<row>
<nextmatch options="calendar.list.rows" id="nm"/>
<nextmatch id="nm" options="calendar.list.rows"/>
</row>
<row>
<row class="noPrint">
<hbox align="right">
<checkbox id="use_all" label="whole query" onchange="if (this.checked==true &amp;&amp; !confirm('Apply the action on the whole query, NOT only the shown events')) this.checked=false;" statustext="Apply the action on the whole query, NOT only the shown events"/>
<checkbox label="whole query" onchange="if (this.checked==true &amp;&amp; !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"/>
<menulist>
<menupopup onchange="do_action(this);" options="Select an action..." no_lang="1" id="action" statustext="Select an action"/>
<menupopup onchange="do_action(this);" no_lang="1" id="action" options="Select an action..." statustext="Select an action"/>
</menulist>
<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"/>
<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"/>
</hbox>
</row>
</rows>