mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
- fixed not working delete - was commented ;-)
- using original labels, for which we have translations - always confirm with popup, not javascript confirm (makes things a lot easier)
This commit is contained in:
parent
99910cd62e
commit
c0c2a0ed0e
@ -932,8 +932,6 @@ class infolog_ui
|
|||||||
|
|
||||||
$actions['delete'] = array(
|
$actions['delete'] = array(
|
||||||
'caption' => 'Delete',
|
'caption' => 'Delete',
|
||||||
'confirm' => 'Are you sure you want to delete this entry ?',
|
|
||||||
'confirm_multiple' => 'Are you sure you want to delete these entries ?',
|
|
||||||
'group' => ++$group,
|
'group' => ++$group,
|
||||||
'disableClass' => 'rowNoDelete',
|
'disableClass' => 'rowNoDelete',
|
||||||
'onExecute' => 'javaScript:confirm_delete',
|
'onExecute' => 'javaScript:confirm_delete',
|
||||||
@ -1061,7 +1059,7 @@ class infolog_ui
|
|||||||
|
|
||||||
case 'delete':
|
case 'delete':
|
||||||
$action_msg = $settings == 'sub' ? lang(' (and children) deleted') : lang('deleted');
|
$action_msg = $settings == 'sub' ? lang(' (and children) deleted') : lang('deleted');
|
||||||
//$result = $this->bo->delete($id, $settings=='sub', false, $skip_notifications);
|
$result = $this->bo->delete($id, $settings=='sub', false, $skip_notifications);
|
||||||
if($result == true)
|
if($result == true)
|
||||||
{
|
{
|
||||||
$success++;
|
$success++;
|
||||||
|
@ -63,16 +63,15 @@ function hide_popup(element, div_id)
|
|||||||
function confirm_delete(_action, _senders)
|
function confirm_delete(_action, _senders)
|
||||||
{
|
{
|
||||||
var child_button = document.getElementById('exec[delete_sub]');
|
var child_button = document.getElementById('exec[delete_sub]');
|
||||||
var d_prompt = document.getElementById('delete_prompt');
|
|
||||||
if(d_prompt.previousSibling) $(d_prompt.previousSibling).remove();
|
|
||||||
var children = false;
|
var children = false;
|
||||||
if(child_button) {
|
if(child_button) {
|
||||||
for(var i = 0; i < _senders.length; i++) {
|
for(var i = 0; i < _senders.length; i++) {
|
||||||
children = children || $(_senders[i].iface.node).hasClass('rowHasSubs');
|
if ($(_senders[i].iface.node).hasClass('rowHasSubs')) {
|
||||||
|
children = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
child_button.style.display = children ? 'block' : 'none';
|
child_button.style.display = children ? 'block' : 'none';
|
||||||
|
|
||||||
$(d_prompt).text(_senders.length > 1 ? _action.data.confirm_multiple : _action.data.confirm);
|
|
||||||
}
|
}
|
||||||
open_popup(_action, _senders);
|
open_popup(_action, _senders);
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
@ -2,15 +2,15 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<overlay>
|
<overlay>
|
||||||
<template id="infolog.index.header_left" template="" lang="" group="0" version="1.0.1.001">
|
<template id="infolog.index.header_left" template="" lang="" group="0" version="1.0.1.001">
|
||||||
<description value="InfoLog" class="headertext bold"/>
|
<description class="headertext bold" value="InfoLog"/>
|
||||||
<styles>.bold { font-weight: bold; }</styles>
|
<styles>.bold { font-weight: bold; }</styles>
|
||||||
</template>
|
</template>
|
||||||
<template id="infolog.index.header_right" template="" lang="" group="0" version="1.7.001">
|
<template id="infolog.index.header_right" template="" lang="" group="0" version="1.7.001">
|
||||||
<hbox>
|
<hbox>
|
||||||
<description value="Add:" class="headertext"/>
|
<description class="headertext" value="Add:"/>
|
||||||
<button label="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;" id="add[task]" image="task" statustext="Add a new ToDo"/>
|
<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 label="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;" id="add[phone]" image="phone" statustext="Add a new Phonecall"/>
|
<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 label="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;" id="add[note]" image="note" statustext="Add a new Note"/>
|
<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;"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</template>
|
</template>
|
||||||
<template id="infolog.index.rows" template="" lang="" group="0" version="1.9.002">
|
<template id="infolog.index.rows" template="" lang="" group="0" version="1.9.002">
|
||||||
@ -31,9 +31,9 @@
|
|||||||
<rows>
|
<rows>
|
||||||
<row class="th">
|
<row class="th">
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<nextmatch-filterheader no_lang="1" id="info_type" options="Type"/>
|
<nextmatch-filterheader options="Type" id="info_type" no_lang="1"/>
|
||||||
<nextmatch-filterheader align="center" id="info_status" options="Status"/>
|
<nextmatch-filterheader options="Status" id="info_status" align="center"/>
|
||||||
<nextmatch-sortheader label="Completed" align="right" id="info_percent"/>
|
<nextmatch-sortheader label="Completed" id="info_percent" align="right"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<grid width="100%" spacing="0" padding="0">
|
<grid width="100%" spacing="0" padding="0">
|
||||||
<columns>
|
<columns>
|
||||||
@ -42,7 +42,7 @@
|
|||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<nextmatch-customfilter onchange="1" id="linked" options="link-entry"/>
|
<nextmatch-customfilter options="link-entry" id="linked" onchange="1"/>
|
||||||
<nextmatch-sortheader label="Priority" align="right" id="info_priority" options="DESC" class="noPrint"/>
|
<nextmatch-sortheader label="Priority" align="right" id="info_priority" options="DESC" class="noPrint"/>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@ -51,7 +51,7 @@
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<nextmatch-sortheader label="Description" id="info_des"/>
|
<nextmatch-sortheader label="Description" id="info_des"/>
|
||||||
<nextmatch-sortheader label="last changed" align="right" id="info_datemodified" options="DESC" class="noPrint"/>
|
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC" class="noPrint" align="right"/>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
@ -60,16 +60,16 @@
|
|||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<nextmatch-sortheader label="Startdate" id="info_startdate"/>
|
<nextmatch-sortheader label="Startdate" id="info_startdate"/>
|
||||||
<nextmatch-sortheader label="Enddate" id="info_enddate"/>
|
<nextmatch-sortheader label="Enddate" id="info_enddate"/>
|
||||||
<nextmatch-sortheader label="Date completed" id="info_datecompleted"/>
|
<nextmatch-sortheader id="info_datecompleted" label="Date completed"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox rows="2" cols="1">
|
<vbox rows="2" cols="1">
|
||||||
<nextmatch-sortheader label="Times" id="info_used_time"/>
|
<nextmatch-sortheader label="Times" id="info_used_time"/>
|
||||||
<nextmatch-sortheader label="planned" id="info_planned_time" class="planned"/>
|
<nextmatch-sortheader id="info_planned_time" class="planned" label="planned"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox rows="2" cols="1" options="0,0">
|
<vbox rows="2" cols="1" options="0,0">
|
||||||
<nextmatch-sortheader label="Times" id="info_used_time"/>
|
<nextmatch-sortheader label="Times" id="info_used_time"/>
|
||||||
<nextmatch-sortheader label="planned" id="info_planned_time" class="planned"/>
|
<nextmatch-sortheader id="info_planned_time" class="planned" label="planned"/>
|
||||||
<nextmatch-sortheader label="Re-planned" id="info_replanned_time" class="replanned"/>
|
<nextmatch-sortheader id="info_replanned_time" class="replanned" label="Re-planned"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<nextmatch-accountfilter id="info_owner" options="Owner" statustext="Select to filter by owner" class="user_filter"/>
|
<nextmatch-accountfilter id="info_owner" options="Owner" statustext="Select to filter by owner" class="user_filter"/>
|
||||||
@ -77,19 +77,19 @@
|
|||||||
</vbox>
|
</vbox>
|
||||||
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC"/>
|
<nextmatch-sortheader label="last changed" id="info_datemodified" options="DESC"/>
|
||||||
<description value="Sub" class="noPrint"/>
|
<description value="Sub" class="noPrint"/>
|
||||||
<nextmatch-header label="Action" id="actions" class="noPrint"/>
|
<nextmatch-header label="Action" class="noPrint" id="actions"/>
|
||||||
</row>
|
</row>
|
||||||
<row class="row $row_cont[class] $row_cont[cat_id]" valign="top">
|
<row class="row $row_cont[class] $row_cont[cat_id]" valign="top">
|
||||||
<hbox align="center" options="5">
|
<hbox options="5" align="center">
|
||||||
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
|
<image label="$row_cont[info_type]" src="${row}[info_type]"/>
|
||||||
<button label="$row_cont[info_status_label]" 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;" id="edit_status[$row_cont[info_id]]" image="$row_cont[info_status_label]" ro_image="$row_cont[info_status_label]" statustext="Change the status of an entry, eg. close it"/>
|
<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 label="$row_cont[info_percent]" 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;" id="edit_percent[$row_cont[info_id]]" image="$row_cont[info_percent]" statustext="Change the status of an entry, eg. close it"/>
|
<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]" 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;" src="{$row}[info_percent2]"/>
|
<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;"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<vbox class="fullWidth" options="0,0">
|
<vbox options="0,0" class="fullWidth">
|
||||||
<link label="%s $row_cont[info_addr]" id="${row}[info_link]" options="b"/>
|
<link label="%s $row_cont[info_addr]" id="${row}[info_link]" options="b"/>
|
||||||
<hbox options="0,0">
|
<hbox options="0,0">
|
||||||
<description no_lang="1" id="${row}[info_subject]" class="$row_cont[sub_class]"/>
|
<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"/>
|
<description no_lang="1" align="right" id="{$row}[info_number]" class="infoId"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<box class="infoDes">
|
<box class="infoDes">
|
||||||
@ -97,71 +97,71 @@
|
|||||||
</box>
|
</box>
|
||||||
<link-string id="${row}[filelinks]"/>
|
<link-string id="${row}[filelinks]"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<customfields-list id="$row" class="customfields"/>
|
<customfields-list class="customfields" id="$row"/>
|
||||||
<menulist>
|
<menulist>
|
||||||
<menupopup type="select-cat" readonly="true" id="${row}[info_cat]"/>
|
<menupopup type="select-cat" id="${row}[info_cat]" readonly="true"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
<vbox rows="3" cols="1" options="0,0,1">
|
<vbox options="0,0,1" rows="3" cols="1">
|
||||||
<date-time readonly="true" id="${row}[info_startdate]" options=",8" class="fixedHeight"/>
|
<date-time options=",8" id="${row}[info_startdate]" readonly="true" class="fixedHeight"/>
|
||||||
<date readonly="true" id="${row}[info_enddate]" class="$row_cont[end_class] fixedHeight"/>
|
<date class="$row_cont[end_class] fixedHeight" id="${row}[info_enddate]" readonly="true"/>
|
||||||
<date-time readonly="true" id="${row}[info_datecompleted]" class="fixedHeight"/>
|
<date-time id="${row}[info_datecompleted]" readonly="true" class="fixedHeight"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox rows="3" cols="1" options="0,0">
|
<vbox rows="3" cols="1" options="0,0">
|
||||||
<hbox readonly="true">
|
<hbox readonly="true">
|
||||||
<hbox readonly="true" options="1,0">
|
<hbox readonly="true" options="1,0">
|
||||||
<date-duration readonly="true" id="${row}[info_used_time]" options="@duration_format"/>
|
<date-duration id="${row}[info_used_time]" readonly="true" options="@duration_format"/>
|
||||||
<date-duration readonly="true" id="${row}[info_sum_timesheets]" options="@duration_format" class="timesheet"/>
|
<date-duration id="${row}[info_sum_timesheets]" readonly="true" options="@duration_format" class="timesheet"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<description/>
|
<description/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<date-duration span="all" class="planned" readonly="true" id="${row}[info_planned_time]" options="@duration_format"/>
|
<date-duration id="${row}[info_planned_time]" span="all" class="planned" readonly="true" options="@duration_format"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox rows="3" cols="1" options="0,0">
|
<vbox rows="3" cols="1" options="0,0">
|
||||||
<hbox id="r_used_time" options="1,0">
|
<hbox options="1,0" id="r_used_time">
|
||||||
<image label="Times" src="timesheet"/>
|
<image label="Times" src="timesheet"/>
|
||||||
<date-duration readonly="true" id="${row}[info_used_time]" options="@duration_format"/>
|
<date-duration id="${row}[info_used_time]" readonly="true" options="@duration_format"/>
|
||||||
<date-duration readonly="true" id="${row}[info_sum_timesheets]" options="@duration_format" class="timesheet"/>
|
<date-duration id="${row}[info_sum_timesheets]" readonly="true" options="@duration_format" class="timesheet"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox id="planified" options="1,0">
|
<hbox options="1,0" id="planified">
|
||||||
<image label="planned time" src="k_alarm.png"/>
|
<image label="planned time" src="k_alarm.png"/>
|
||||||
<date-duration span="all" class="planned" readonly="true" id="${row}[info_planned_time]" options="@duration_format"/>
|
<date-duration id="${row}[info_planned_time]" span="all" class="planned" readonly="true" options="@duration_format"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox id="replanified" options="1,0">
|
<hbox options="1,0" id="replanified">
|
||||||
<image label="Re-planned time" src="agt_reload.png"/>
|
<image label="Re-planned time" src="agt_reload.png"/>
|
||||||
<date-duration span="all" class="replanned" readonly="true" id="${row}[info_replanned_time]" options="@duration_format"/>
|
<date-duration id="${row}[info_replanned_time]" span="all" class="replanned" readonly="true" options="@duration_format"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox options="0,0">
|
<vbox options="0,0">
|
||||||
<menulist>
|
<menulist>
|
||||||
<menupopup type="select-account" readonly="true" id="${row}[info_owner]"/>
|
<menupopup type="select-account" id="${row}[info_owner]" readonly="true"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
<listbox type="select-account" readonly="true" id="${row}[info_responsible]" rows="5"/>
|
<listbox type="select-account" id="${row}[info_responsible]" readonly="true" rows="5"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox>
|
<vbox options="0" orient="0">
|
||||||
<date-time readonly="true" id="${row}[info_datemodified]"/>
|
<date-time id="${row}[info_datemodified]" readonly="true"/>
|
||||||
<menulist>
|
<menulist>
|
||||||
<menupopup type="select-account" readonly="true" id="${row}[info_modifier]"/>
|
<menupopup type="select-account" id="${row}[info_modifier]" readonly="true"/>
|
||||||
</menulist>
|
</menulist>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox align="center" class="noPrint">
|
<vbox options="0" align="center" class="noPrint" orient="0">
|
||||||
<button label="Add sub" align="center" 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;" id="sp[$row_cont[info_id]]" image="new" statustext="Add a new sub-task, -note, -call to this entry"/>
|
<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;"/>
|
||||||
<button label="View subs" align="center" id="view[$row_cont[info_id]]" image="view" statustext="View all subs of this entry"/>
|
<button image="view" label="View subs" align="center" id="view[$row_cont[info_id]]" statustext="View all subs of this entry"/>
|
||||||
<button label="View parent" align="center" id="view[$row_cont[info_id_parent]]" image="parent" statustext="View the parent of this entry and all his subs"/>
|
<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"/>
|
||||||
<button label="Add timesheet entry" 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" id="timesheet[$row_cont[info_id]]" image="timesheet"/>
|
<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"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox class="noPrint">
|
<vbox options="0" class="noPrint" orient="0">
|
||||||
<hbox class="noPrint" orient="0" options="0,0">
|
<hbox options="0,0" class="noPrint" orient="0">
|
||||||
<button label="Edit" 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;" id="edit[$row_cont[info_id]]" image="edit" statustext="Edit this entry"/>
|
<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 label="Delete" onclick="return $row_cont[info_anz_subs] || confirm('Delete this entry');" id="delete[$row_cont[info_id]]" image="delete" statustext="Delete this entry"/>
|
<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');"/>
|
||||||
<checkbox align="right" id="checked[]" options="$row_cont[info_id]" statustext="Select multiple contacts for a further action"/>
|
<checkbox id="checked[]" options="$row_cont[info_id]" statustext="Select multiple contacts for a further action" align="right"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox class="noPrint" orient="0" options="0,0">
|
<hbox options="0,0" class="noPrint" orient="0">
|
||||||
<button label="Set status to done" id="close[$row_cont[info_id]]" image="done" statustext="Sets the status of this entry to done"/>
|
<button image="done" label="Set status to done" id="close[$row_cont[info_id]]" statustext="Sets the status of this entry to done"/>
|
||||||
<button label="Set status to done for all entries" id="close_all[$row_cont[info_id]]" image="done_all" statustext="Sets the status of this entry and its subs 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"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox class="image16" orient="0" options="0,0">
|
<hbox options="0,0" class="image16" orient="0">
|
||||||
<button label="Insert in document" id="document[$row_cont[info_id]]" image="etemplate/merge"/>
|
<button id="document[$row_cont[info_id]]" image="etemplate/merge" label="Insert in document"/>
|
||||||
<image label="Filemanager" options="/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/infolog/$row_cont[info_id]" src="filemanager/navbar" class="image16"/>
|
<image src="filemanager/navbar" options="/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/infolog/$row_cont[info_id]" class="image16" label="Filemanager"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
</row>
|
</row>
|
||||||
@ -195,7 +195,7 @@
|
|||||||
<button label="Add" 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;" id="add[note]" statustext="Add a new Entry"/>
|
<button label="Add" 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;" id="add[note]" statustext="Add a new Entry"/>
|
||||||
<button label="Cancel" id="cancel" statustext="Back to main list"/>
|
<button label="Cancel" id="cancel" statustext="Back to main list"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
<hbox align="right">
|
<hbox align="right" span="all">
|
||||||
<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"/>
|
<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"/>
|
||||||
<button label="Check all" onclick="egw_objectManager.toggleAllSelected(); return false;" needed="1" id="check_all" image="arrow_ltr" statustext="Check all" class="checkAllArrow"/>
|
<button label="Check all" onclick="egw_objectManager.toggleAllSelected(); return false;" needed="1" id="check_all" image="arrow_ltr" statustext="Check all" class="checkAllArrow"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
@ -219,9 +219,9 @@
|
|||||||
<description value="Delete" class="promptheader"/>
|
<description value="Delete" class="promptheader"/>
|
||||||
<description value="Delete selected entries?" id="delete_prompt"/>
|
<description value="Delete selected entries?" id="delete_prompt"/>
|
||||||
<hbox>
|
<hbox>
|
||||||
<button label="Delete" onclick="submit_popup(this); return false;" id="delete"/>
|
<button label="Yes - Delete" onclick="submit_popup(this); return false;" id="delete"/>
|
||||||
<button label="Delete including sub-entries" onclick="infolog_popup_action.id = 'delete_sub';submit_popup(this);return false;" id="delete_sub"/>
|
<button label="Yes - Delete including sub-entries" onclick="infolog_popup_action.id = 'delete_sub';submit_popup(this);return false;" id="delete_sub"/>
|
||||||
<buttononly label="Cancel" onclick="hide_popup(this,'delete_popup');"/>
|
<buttononly label="No - Cancel" onclick="hide_popup(this,'delete_popup');"/>
|
||||||
</hbox>
|
</hbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
</box>
|
</box>
|
||||||
|
Loading…
Reference in New Issue
Block a user