Author: nathangray
New Revision: 34835
URL: http://www.egroupware.org/viewvc/egroupware?rev=34835&view=rev
Log:
Implement client side delete confirmation
Modified:
trunk/infolog/inc/class.infolog_ui.inc.php
trunk/infolog/js/index.js
trunk/infolog/setup/etemplates.inc.php
Modified: trunk/infolog/inc/class.infolog_ui.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/infolog/inc/class.infolog_ui.inc.php?rev=34835&r1=34834&r2=34835&view=diff
— trunk/infolog/inc/class.infolog_ui.inc.php (original)
+++ trunk/infolog/inc/class.infolog_ui.inc.php Wed May 4 01:31:40 2011
@@ -494,17 +494,19 @@
}
}
-
if (is_array($values) && isset($values['nm']['rows']['document'])) // handle insert in default document button like an action -
{ -
list($id) = @each($values['nm']['rows']['document']); -
$values['nm']['action'] = 'document'; -
$values['nm']['selected'] = array($id); -
} -
elseif (is_array($values) && isset($values['nm']['rows']['view'])) // Handle view parent / sub buttons like an action -
{ -
list($id) = @each($values['nm']['rows']['view']); -
$values['nm']['action'] = 'view'; -
$values['nm']['selected'] = array($id);
-
// Handle legacy buttons like actions -
if(is_array($values)) -
{ -
foreach(array('document', 'view', 'delete') as $button) -
{ -
if(isset($values['nm']['rows'][$button])) -
{ -
list($id) = @each($values['nm']['rows'][$button]); -
$values['nm']['action'] = $button; -
$values['nm']['selected'] = array($id); -
break; // Only one can come per submit -
} -
} } if (is_array($values) && !empty($values['nm']['action'])) {
@@ -608,22 +610,6 @@
// todo: move this to actions(), interactive delete only if subs
switch($do)
{
-
case 'delete': -
if (!($values['msg'] = $this->delete($do_id,$called_as,$called_as ? '' : 'index'))) return; -
// did we deleted the entries, whos subentries we are showing? -
if ($action == 'sp' && $action_id == $do_id) -
{ -
// redirect to our referer or reset the subentry view -
if (!$called_as && $own_referer) -
{ -
$this->tmpl->location($own_referer); // eg. redirect back to calendar -
} -
else -
{ -
unset($action_id); unset($action); -
} -
} -
break; case 'close': $closesingle=true; case 'close_all':
@@ -950,6 +936,7 @@
‘confirm_multiple’ => ‘Are you sure you want to delete these entries ?’,
‘group’ => ++$group,
‘disableClass’ => ‘rowNoDelete’,
-
'onExecute' => 'javaScript:confirm_delete', ); //echo "<p>".__METHOD__."($do_email, $tid_filter, $org_view)</p>\n"; _debug_array($actions);
@@ -1073,9 +1060,9 @@
break;
case 'delete':
-
$action_msg = lang('deleted'); -
$result = $this->delete($id, '', 'multi-action', $skip_notifications); -
if($result != '')
-
$action_msg = $settings == 'sub' ? lang(' (and children) deleted') : lang('deleted'); -
//$result = $this->bo->delete($id, $settings=='sub', false, $skip_notifications); -
if($result == true) { $success++; }
Modified: trunk/infolog/js/index.js
URL: http://www.egroupware.org/viewvc/egroupware/trunk/infolog/js/index.js?rev=34835&r1=34834&r2=34835&view=diff
— trunk/infolog/js/index.js (original)
+++ trunk/infolog/js/index.js Wed May 4 01:31:40 2011
@@ -34,7 +34,7 @@
{
button.form.submit_button.value = button.name; // set name of button (sub-action)
- // call regular nm_action to transmitt action and senders correct
- // call regular nm_action to transmit action and senders correct
nm_action(infolog_popup_action, infolog_popup_senders);
}
@@ -50,4 +50,29 @@
if(popup) {
popup.style.display = ‘none’;
}
- return false;
}
+/**
-
- Confirm delete
-
- If entry has children, asks if you want to delete children too
-
-
- @param _action
-
- @param _senders
- */
+function confirm_delete(_action, _senders)
+{ - 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;
- if(child_button) {
-
for(var i = 0; i < _senders.length; i++) { -
children = children || $(_senders[i].iface.node).hasClass('rowHasSubs'); -
} -
child_button.style.display = children ? 'block' : 'none'; -
$(d_prompt).text(_senders.length > 1 ? _action.data.confirm_multiple : _action.data.confirm); - }
- open_popup(_action, _senders);
+}
Modified: trunk/infolog/setup/etemplates.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/infolog/setup/etemplates.inc.php?rev=34835&r1=34834&r2=34835&view=diff
— trunk/infolog/setup/etemplates.inc.php (original)
+++ trunk/infolog/setup/etemplates.inc.php Wed May 4 01:31:40 2011
@@ -2,7 +2,7 @@
/**
* eGroupWare - eTemplates for Application infolog
* http://www.egroupware.org
-
- generated by soetemplate::dump4setup() 2011-05-03 09:23
-
- generated by soetemplate::dump4setup() 2011-05-03 17:11
- @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
-
@package infolog
@@ -54,13 +54,11 @@
$templ_data[] = array(‘name’ => ‘infolog.edit.project’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.5.004’,‘data’ => ‘a:1:{i:0;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:7:{i:0;a:8:{s:1:“A”;s:3:“100”;s:2:“c1”;s:2:“th”;s:2:“c2”;s:3:“row”;s:2:“c3”;s:3:“row”;s:2:“c4”;s:3:“row”;s:2:“c6”;s:7:“row,top”;s:2:“h6”;s:3:“60%”;s:2:“c5”;s:3:“row”;}i:1;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:3:“all”;s:5:“label”;s:14:“Projectmanager”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:2;a:2:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:7:“Project”;}s:1:“B”;a:4:{s:4:“type”;s:21:“projectmanager-select”;s:4:“name”;s:5:“pm_id”;s:8:“onchange”;s:1:“1”;s:4:“size”;s:4:“None”;}}i:3;a:2:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:5:“Price”;}s:1:“B”;a:5:{s:4:“type”;s:4:“hbox”;s:4:“span”;s:3:“all”;s:4:“size”;s:1:“2”;i:1;a:4:{s:4:“type”;s:24:“projectmanager-pricelist”;s:4:“name”;s:5:“pl_id”;s:4:“size”;s:4:“None”;s:8:“onchange”;s:207:"this.form[‘exec[info_price]’].value=thi
s.options[this.selectedIndex].text.lastIndexOf(’(’) < 0 ? ‘’ : this.options[this.selectedIndex].text.slice(this.options[this.selectedIndex].text.lastIndexOf(’(’)+1,-1);";}i:2;a:3:{s:4:“type”;s:5:“float”;s:4:“name”;s:10:“info_price”;s:4:“span”;s:3:“all”;}}}i:4;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:20:",info_planned_time";s:5:“label”;s:12:“planned time”;}s:1:“B”;a:3:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:17:“info_planned_time”;s:4:“size”;s:23:",$cont[duration_format]";}}i:5;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:22:",info_replanned_time";s:5:“label”;s:15:“Re-planned time”;}s:1:“B”;a:3:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:19:“info_replanned_time”;s:4:“size”;s:23:",$cont[duration_format]";}}i:6;a:2:{s:1:“A”;a:4:{s:4:“type”;s:5:“label”;s:4:“size”;s:17:",info_used_time";s:5:“label”;s:9:“used time”;s:4:“help”;s:64:“Leave blank to get the used time calculated by timesheet entries”;}s:1:“B”;a:2:{s:4:“type”;s:13:“date-duration
”;s:4:“name”;s:14:“info_used_time”;}}}s:4:“rows”;i:6;s:4:“cols”;i:2;s:4:“size”;s:8:“100%,245”;s:7:“options”;a:2:{i:0;s:4:“100%”;i:1;s:3:“245”;}}}’,‘size’ => ‘100%,245’,‘style’ => ‘’,‘modified’ => ‘1223093893’,);
-$templ_data[] = array(‘name’ => ‘infolog.export_csv_options’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.9.001’,‘data’ => ‘a:1:{i:0;a:4:{s:4:“type”;s:4:“grid”;s:4:“data”;a:4:{i:0;a:1:{s:1:“B”;s:5:“180px”;}i:1;a:2:{s:1:“A”;a:4:{s:4:“type”;s:5:“label”;s:7:“no_lang”;s:1:“1”;s:4:“name”;s:3:“msg”;s:4:“span”;s:3:“all”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:2;a:2:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:14:“Fieldseperator”;}s:1:“B”;a:4:{s:4:“type”;s:4:“text”;s:7:“no_lang”;s:1:“1”;s:4:“name”;s:9:“delimiter”;s:4:“size”;s:1:“1”;}}i:3;a:2:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:14:“Include header”;}s:1:“B”;a:2:{s:4:“type”;s:11:“select-bool”;s:4:“name”;s:21:“begin_with_fieldnames”;}}}s:4:“rows”;i:3;s:4:“cols”;i:2;}}’,‘size’ => ‘’,‘style’ => ‘.width180 select { width:150px;}’,‘modified’ => ‘1289231885’,);
$templ_data[] = array(‘name’ => ‘infolog.export_csv_selectors’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.9.001’,‘data’ => ‘a:1:{i:0;a:4:{s:4:“type”;s:4:“grid”;s:4:“data”;a:3:{i:0;a:0:{}i:1;a:1:{s:1:“A”;a:4:{s:4:“type”;s:5:“radio”;s:5:“label”;s:7:“Use all”;s:4:“size”;s:3:“all”;s:4:“name”;s:9:“selection”;}}i:2;a:1:{s:1:“A”;a:4:{s:4:“type”;s:5:“radio”;s:5:“label”;s:18:“Use search results”;s:4:“name”;s:9:“selection”;s:4:“size”;s:6:“search”;}}}s:4:“rows”;i:2;s:4:“cols”;i:1;}}’,‘size’ => ‘’,‘style’ => ‘’,‘modified’ => ‘1289231918’,);
$templ_data[] = array(‘name’ => ‘infolog.importexport_wizard_chooseowner’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.9.001’,‘data’ => ‘a:1:{i:0;a:4:{s:4:“type”;s:4:“grid”;s:4:“data”;a:6:{i:0;a:1:{s:2:“h2”;s:14:",@no_owner_map";}i:1;a:1:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“name”;s:3:“msg”;s:7:“no_lang”;s:1:“1”;}}i:2;a:1:{s:1:“A”;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“label”;s:30:“Use field from CSV if possible”;s:4:“name”;s:14:“owner_from_csv”;}}i:3;a:1:{s:1:“A”;a:2:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:12:“record_owner”;}}i:4;a:1:{s:1:“A”;a:1:{s:4:“type”;s:5:“label”;}}i:5;a:1:{s:1:“A”;a:3:{s:4:“type”;s:11:“select-bool”;s:5:“label”;s:26:“Change owner when updating”;s:4:“name”;s:12:“change_owner”;}}}s:4:“rows”;i:5;s:4:“cols”;i:1;}}’,‘size’ => ‘’,‘style’ => ‘’,‘modified’ => ‘1286389863’,);
-$templ_data[] = array(‘name’ => ‘infolog.index’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.9.002’,‘data’ => ‘a:1:{i:0;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:7:{i:0;a:6:{s:1:“A”;s:3:“70%”;s:2:“h3”;s:2:",1";s:2:“h2”;s:6:",!@msg";s:2:“h1”;s:6:",!@css";s:2:“c5”;s:7:“noPrint”;s:2:“h5”;s:27:",!@nm[selectcols]=/actions/";}i:1;a:2:{s:1:“A”;a:3:{s:4:“type”;s:4:“html”;s:4:“span”;s:3:“all”;s:4:“name”;s:3:“css”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:2;a:2:{s:1:“A”;a:5:{s:4:“type”;s:5:“label”;s:4:“span”;s:13:“all,redItalic”;s:5:“align”;s:6:“center”;s:4:“name”;s:3:“msg”;s:7:“no_lang”;s:1:“1”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:3;a:2:{s:1:“A”;a:2:{s:4:“type”;s:8:“template”;s:4:“name”;s:11:“header_left”;}s:1:“B”;a:2:{s:4:“type”;s:8:“template”;s:4:“name”;s:12:“header_right”;}}i:4;a:2:{s:1:“A”;a:4:{s:4:“type”;s:9:“nextmatch”;s:4:“size”;s:20:“infolog.index.rows,1”;s:4:“span”;s:3:“all”;s:4:“name”;s:2:“nm”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:5;a:2:{s:1:“A”;a:4:{s:4
:“size”;s:1:“2”;i:1;a:5:{s:4:“type”;s:6:“button”;s:5:“label”;s:3:“Add”;s:4:“name”;s:9:“add[note]”;s:4:“help”;s:15:“Add a new Entry”;s:7:“onclick”;s:245:"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;";}i:2;a:4:{s:4:“type”;s:6:“button”;s:5:“label”;s:6:“Cancel”;s:4:“name”;s:6:“cancel”;s:4:“help”;s:17:“Back to main list”;}s:4:“type”;s:4:“hbox”;}s:1:“B”;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:5:“2,0,0”;s:5:“align”;s:5:“right”;i:1;a:5:{s:4:“type”;s:10:“buttononly”;s:4:“name”;s:14:“legacy_actions”;s:4:“help”;s:13:“Select action”;s:5:“label”;s:13:“Select action”;s:7:“onclick”;s:141:“if (!egw_objectManager.executeActionImplementation(this, ‘popup’)) alert(egw::lang(‘You need to select some entries first!’)); return false;;”;}i:2;a:8:{s:4:“type”;s:6:“button”;s:4:“size”;s:9:“ar
row_ltr”;s:5:“label”;s:9:“Check all”;s:4:“name”;s:9:“check_all”;s:4:“help”;s:9:“Check all”;s:7:“onclick”;s:70:“toggle_all(this.form,form::name(‘nm[rows][checked][]’)); return false;”;s:6:“needed”;s:1:“1”;s:4:“span”;s:14:",checkAllArrow";}}}i:6;a:2:{s:1:“A”;a:5:{s:4:“type”;s:3:“box”;s:4:“name”;s:17:“responsible_popup”;s:4:“size”;s:1:“1”;s:4:“span”;s:20:",action_popup prompt";i:1;a:6:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:1:“4”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:13:",promptheader";s:5:“label”;s:18:“Change responsible”;}i:2;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:22:“Select users or groups”;}i:3;a:4:{s:4:“type”;s:14:“select-account”;s:4:“span”;s:21:",action_popup-content";s:4:“name”;s:11:“responsible”;s:4:“size”;s:6:“5,both”;}i:4;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“3”;i:1;a:4:{s:4:“type”;s:6:“button”;s:5:“label”;s:3:“Add”;s:4:“name”;s:23:“responsible_action[add]”;s:7:“onclick”;s:33:“submit_popup(this); return false;”;}i:2;a:4:{s:4:“type”;s:6:“button”;s:4:“name
”;s:26:“responsible_action[delete]”;s:5:“label”;s:6:“Delete”;s:7:“onclick”;s:33:“submit_popup(this); return false;”;}i:3;a:3:{s:4:“type”;s:10:“buttononly”;s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:37:“hide_popup(this,‘responsible_popup’);”;}}}}s:1:“B”;a:5:{s:4:“type”;s:3:“box”;s:4:“name”;s:10:“link_popup”;s:4:“size”;s:1:“1”;s:4:“span”;s:20:",action_popup prompt";i:1;a:5:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:1:“3”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:13:",promptheader";s:5:“label”;s:17:“Add / Remove link”;}i:2;a:3:{s:4:“type”;s:10:“link-entry”;s:4:“name”;s:4:“link”;s:4:“span”;s:21:",action_popup-content";}i:3;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“3”;i:1;a:4:{s:4:“type”;s:6:“button”;s:5:“label”;s:3:“Add”;s:4:“name”;s:16:“link_action[add]”;s:7:“onclick”;s:33:“submit_popup(this); return false;”;}i:2;a:4:{s:4:“type”;s:6:“button”;s:4:“name”;s:19:“link_action[delete]”;s:5:“label”;s:6:“Delete”;s:7:“onclick”;s:33:“submit_popup(this); return false;”;}i:3;a:3:{s:4:“type”;s:
10:“buttononly”;s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:30:“hide_popup(this,‘link_popup’);”;}}}}}}s:4:“rows”;i:6;s:4:“cols”;i:2;s:4:“size”;s:12:“100%,0,0,0”;s:7:“options”;a:4:{i:0;s:4:“100%”;i:4;s:1:“0”;i:5;s:1:“0”;i:2;s:1:“0”;}}}’,‘size’ => ‘100%,0,0,0’,‘style’ => ‘/**
+$templ_data[] = array(‘name’ => ‘infolog.index’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.9.001’,‘data’ => ‘a:1:{i:0;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:8:{i:0;a:6:{s:1:“A”;s:3:“70%”;s:2:“h3”;s:2:",1";s:2:“h2”;s:6:",!@msg";s:2:“c6”;s:7:“noPrint”;s:2:“h4”;s:7:",!@main";s:2:“h1”;s:6:",!@css";}i:1;a:2:{s:1:“A”;a:3:{s:4:“type”;s:4:“html”;s:4:“span”;s:3:“all”;s:4:“name”;s:3:“css”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:2;a:2:{s:1:“A”;a:5:{s:4:“type”;s:5:“label”;s:4:“span”;s:13:“all,redItalic”;s:5:“align”;s:6:“center”;s:4:“name”;s:3:“msg”;s:7:“no_lang”;s:1:“1”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:3;a:2:{s:1:“A”;a:2:{s:4:“type”;s:8:“template”;s:4:“name”;s:11:“header_left”;}s:1:“B”;a:2:{s:4:“type”;s:8:“template”;s:4:“name”;s:12:“header_right”;}}i:4;a:2:{s:1:“A”;a:4:{s:4:“type”;s:8:“template”;s:4:“size”;s:4:“main”;s:4:“span”;s:3:“all”;s:4:“name”;s:27:“infolog.index.rows-noheader”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:5;a:2:{s:1:“A”;a:4:{s:4:“type”;s:9:“
nextmatch”;s:4:“size”;s:20:“infolog.index.rows,1”;s:4:“span”;s:3:“all”;s:4:“name”;s:2:“nm”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:6;a:2:{s:1:“A”;a:4:{s:4:“size”;s:1:“2”;i:1;a:5:{s:4:“type”;s:6:“button”;s:5:“label”;s:3:“Add”;s:4:“name”;s:9:“add[note]”;s:4:“help”;s:15:“Add a new Entry”;s:7:“onclick”;s:245:"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;";}i:2;a:4:{s:4:“type”;s:6:“button”;s:5:“label”;s:6:“Cancel”;s:4:“name”;s:6:“cancel”;s:4:“help”;s:17:“Back to main list”;}s:4:“type”;s:4:“hbox”;}s:1:“B”;a:12:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:5:“8,0,0”;s:5:“align”;s:5:“right”;i:1;a:5:{s:4:“type”;s:8:“checkbox”;s:4:“name”;s:7:“use_all”;s:5:“label”;s:11:“whole query”;s:8:“onchange”;s:125:“if (this.checked==true && !confirm(‘Apply the action on the whole query, NOT only the
shown entries!!!’)) this.checked=false;”;s:4:“help”;s:66:“Apply the action on the whole query, NOT only the shown entries!!!”;}i:2;a:5:{s:4:“type”;s:3:“box”;s:4:“name”;s:10:“link_popup”;s:4:“size”;s:1:“1”;s:4:“span”;s:20:",action_popup prompt";i:1;a:5:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:1:“3”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:13:",promptheader";s:5:“label”;s:17:“Add / Remove link”;}i:2;a:3:{s:4:“type”;s:10:“link-entry”;s:4:“name”;s:4:“link”;s:4:“span”;s:21:",action_popup-content";}i:3;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“3”;i:1;a:4:{s:4:“type”;s:6:“button”;s:5:“label”;s:3:“Add”;s:4:“name”;s:16:“link_action[add]”;s:7:“onclick”;s:35:“hide_popup(this,‘link_popup’,true);”;}i:2;a:4:{s:4:“type”;s:6:“button”;s:4:“name”;s:19:“link_action[delete]”;s:5:“label”;s:6:“Delete”;s:7:“onclick”;s:35:“hide_popup(this,‘link_popup’,true);”;}i:3;a:3:{s:4:“type”;s:10:“buttononly”;s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:36:“hide_popup(this,‘link_popup’,false);”;}}}}i:3;a:5:
{s:4:“type”;s:3:“box”;s:4:“name”;s:9:“cat_popup”;s:4:“size”;s:1:“1”;s:4:“span”;s:20:",action_popup prompt";i:1;a:5:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:1:“3”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:13:",promptheader";s:5:“label”;s:15:“Change category”;}i:2;a:5:{s:4:“type”;s:10:“select-cat”;s:4:“span”;s:21:",action_popup-content";s:4:“name”;s:3:“cat”;s:4:“size”;s:14:“None,infolog”;s:5:“label”;s:19:“Select new category”;}i:3;a:4:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“2”;i:1;a:3:{s:4:“type”;s:6:“button”;s:5:“label”;s:5:“Apply”;s:4:“name”;s:10:“change_cat”;}i:2;a:3:{s:4:“type”;s:10:“buttononly”;s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:29:“hide_popup(this,‘cat_popup’);”;}}}}i:4;a:5:{s:4:“type”;s:3:“box”;s:4:“name”;s:16:“completion_popup”;s:4:“size”;s:1:“1”;s:4:“span”;s:20:",action_popup prompt";i:1;a:5:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:1:“3”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:13:",promptheader";s:5:“label”;s:16:“Change completed”;}i:2;a:4:{s:4:“type”;s:14:“sel
ect-percent”;s:4:“span”;s:21:",action_popup-content";s:4:“name”;s:10:“completion”;s:5:“label”;s:9:“Completed”;}i:3;a:4:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“2”;i:1;a:3:{s:4:“type”;s:6:“button”;s:5:“label”;s:5:“Apply”;s:4:“name”;s:17:“change_completion”;}i:2;a:3:{s:4:“type”;s:10:“buttononly”;s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:36:“hide_popup(this,‘completion_popup’);”;}}}}i:5;a:5:{s:4:“type”;s:3:“box”;s:4:“name”;s:17:“responsible_popup”;s:4:“size”;s:1:“1”;s:4:“span”;s:20:",action_popup prompt";i:1;a:6:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:1:“4”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:13:",promptheader";s:5:“label”;s:18:“Change responsible”;}i:2;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:22:“Select users or groups”;}i:3;a:4:{s:4:“type”;s:14:“select-account”;s:4:“span”;s:21:",action_popup-content";s:4:“name”;s:11:“responsible”;s:4:“size”;s:6:“5,both”;}i:4;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“3”;i:1;a:4:{s:4:“type”;s:6:“button”;s:5:“label”;s:3:“Add”;s:4:“name”;s:
23:“responsible_action[add]”;s:7:“onclick”;s:42:“hide_popup(this,‘responsible_popup’,true);”;}i:2;a:4:{s:4:“type”;s:6:“button”;s:4:“name”;s:26:“responsible_action[delete]”;s:5:“label”;s:6:“Delete”;s:7:“onclick”;s:42:“hide_popup(this,‘responsible_popup’,true);”;}i:3;a:3:{s:4:“type”;s:10:“buttononly”;s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:37:“hide_popup(this,‘responsible_popup’);”;}}}}i:6;a:5:{s:4:“type”;s:3:“box”;s:4:“name”;s:12:“delete_popup”;s:4:“size”;s:1:“1”;s:4:“span”;s:20:",action_popup prompt";i:1;a:5:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:1:“3”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:13:",promptheader";s:5:“label”;s:6:“Delete”;}i:2;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:24:“Delete selected entries?”;s:4:“name”;s:13:“delete_prompt”;}i:3;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“3”;i:1;a:4:{s:4:“type”;s:6:“button”;s:4:“name”;s:12:“delete_multi”;s:5:“label”;s:6:“Delete”;s:7:“onclick”;s:19:“submit_popup(this);”;}i:2;a:4:{s:4:“type”;s:6:“button”;s:4:“name”;s:
10:“delete_sub”;s:5:“label”;s:28:“Delete including sub-entries”;s:7:“onclick”;s:58:“infolog_popup_action.id = ‘delete_sub’;submit_popup(this);”;}i:3;a:3:{s:4:“type”;s:10:“buttononly”;s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:32:“hide_popup(this,‘delete_popup’);”;}}}}i:7;a:5:{s:4:“type”;s:10:“buttononly”;s:4:“name”;s:14:“legacy_actions”;s:4:“help”;s:13:“Select action”;s:5:“label”;s:13:“Select action”;s:7:“onclick”;s:141:“if (!egw_objectManager.executeActionImplementation(this, ‘popup’)) alert(egw::lang(‘You need to select some entries first!’)); return false;;”;}s:4:“span”;s:14:",action_select";i:8;a:8:{s:4:“type”;s:6:“button”;s:4:“size”;s:9:“arrow_ltr”;s:5:“label”;s:9:“Check all”;s:4:“name”;s:9:“check_all”;s:4:“help”;s:9:“Check all”;s:7:“onclick”;s:70:“toggle_all(this.form,form::name(‘nm[rows][checked][]’)); return false;”;s:6:“needed”;s:1:“1”;s:4:“span”;s:14:",checkAllArrow";}}}i:7;a:2:{s:1:“A”;a:1:{s:4:“type”;s:5:“label”;}s:1:“B”;a:4:{s:4:“type”;s:4:“hbox”;s:4:“si
ze”;s:5:“2,1,0”;i:1;a:3:{s:4:“type”;s:8:“checkbox”;s:5:“label”;s:30:“Do not notify of these changes”;s:4:“name”;s:16:“no_notifications”;}i:2;a:2:{s:4:“type”;s:5:“label”;s:4:“name”;s:17:“needed_for_layout”;}}}}s:4:“rows”;i:7;s:4:“cols”;i:2;s:4:“size”;s:12:“100%,0,0,0”;s:7:“options”;a:4:{i:0;s:4:“100%”;i:4;s:1:“0”;i:5;s:1:“0”;i:2;s:1:“0”;}}}’,‘size’ => ‘100%,0,0,0’,‘style’ => '/**
- Add / remove link or category popup used for actions on multiple entries
*/
@@ -98,7 +96,7 @@
$templ_data[] = array(‘name’ => ‘infolog.index.header_right’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.7.001’,‘data’ => ‘a:1:{i:0;a:6:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“4”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:11:",headertext";s:5:“label”;s:4:“Add:”;}i:2;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:4:“task”;s:5:“label”;s:4:“ToDo”;s:4:“name”;s:9:“add[task]”;s:4:“help”;s:14:“Add a new ToDo”;s:7:“onclick”;s:239:"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;";}i:3;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:5:“phone”;s:5:“label”;s:9:“Phonecall”;s:4:“name”;s:10:“add[phone]”;s:4:“help”;s:19:“Add a new Phonecall”;s:7:“onclick”;s:240:“window.open(egw::link(’/index.php’,‘menuaction=infolog.infolog_ui.edit&type=phone&action=$cont[action]&action_id=$cont[actio
n_id]&cat_id=$cont[cat_id]’),’_blank’,‘dependent=yes,width=750,height=600,scrollbars=yes,status=yes’); return false;”;}i:4;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:4:“note”;s:5:“label”;s:4:“Note”;s:4:“name”;s:9:“add[note]”;s:4:“help”;s:14:“Add a new Note”;s:7:“onclick”;s:239:“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;”;}}}’,‘size’ => ‘,0,0,0’,‘style’ => ‘’,‘modified’ => ‘1253434184’,);
-$templ_data[] = array(‘name’ => ‘infolog.index.rows’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.9.002’,‘data’ => ‘a:1:{i:0;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:3:{i:0;a:9:{s:1:“A”;s:2:“2%”;s:2:“c1”;s:2:“th”;s:2:“c2”;s:42:“row $row_cont[class] $row_cont[cat_id],top”;s:1:“H”;s:34:“8%,@no_info_owner_info_responsible”;s:1:“I”;s:3:“12%”;s:1:“J”;s:14:“3%,@no_actions”;s:1:“E”;s:3:“120”;s:1:“C”;s:17:",@no_customfields";s:1:“K”;s:14:“3%,@no_actions”;}i:1;a:11:{s:1:“A”;a:5:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:6:“3,0,0”;i:1;a:4:{s:4:“type”;s:22:“nextmatch-filterheader”;s:4:“size”;s:4:“Type”;s:4:“name”;s:9:“info_type”;s:7:“no_lang”;s:1:“1”;}i:2;a:4:{s:4:“type”;s:22:“nextmatch-filterheader”;s:4:“size”;s:6:“Status”;s:4:“name”;s:11:“info_status”;s:5:“align”;s:6:“center”;}i:3;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:9:“Completed”;s:4:“name”;s:12:“info_percent”;s:5:“align”;s:5:“right”;}}s:1:“B”;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:4:{i:0;a:0:{}i:1;a:2
:{s:1:“A”;a:4:{s:4:“type”;s:22:“nextmatch-customfilter”;s:4:“size”;s:10:“link-entry”;s:4:“name”;s:6:“linked”;s:8:“onchange”;i:1;}s:1:“B”;a:6:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:8:“Priority”;s:5:“align”;s:5:“right”;s:4:“name”;s:13:“info_priority”;s:4:“size”;s:4:“DESC”;s:4:“span”;s:8:",noPrint";}}i:2;a:2:{s:1:“A”;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:7:“Subject”;s:4:“name”;s:12:“info_subject”;}s:1:“B”;a:6:{s:5:“label”;s:8:“Creation”;s:5:“align”;s:5:“right”;s:4:“name”;s:7:“info_id”;s:4:“size”;s:4:“DESC”;s:4:“span”;s:8:",noPrint";s:4:“type”;s:20:“nextmatch-sortheader”;}}i:3;a:2:{s:1:“A”;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:11:“Description”;s:4:“name”;s:8:“info_des”;}s:1:“B”;a:6:{s:5:“label”;s:12:“last changed”;s:4:“name”;s:17:“info_datemodified”;s:4:“size”;s:4:“DESC”;s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“span”;s:8:",noPrint";s:5:“align”;s:5:“right”;}}}s:4:“rows”;i:3;s:4:“cols”;i:2;s:7:“options”;a:3:{i:0;s:4:“100%”;
i:4;s:1:“0”;i:5;s:1:“0”;}s:4:“size”;s:11:“100%,0,0”;}s:1:“C”;a:4:{s:4:“type”;s:22:“nextmatch-customfields”;i:1;a:3:{s:4:“type”;s:16:“nextmatch-header”;s:4:“name”;s:12:“customfields”;s:4:“size”;s:13:“Custom fields”;}i:2;a:5:{s:4:“type”;s:4:“grid”;s:4:“data”;a:2:{i:0;a:0:{}i:1;a:1:{s:1:“A”;a:4:{s:4:“type”;s:19:“customfields-header”;s:4:“size”;s:13:"@customfields";s:5:“align”;s:5:“right”;s:7:“no_lang”;s:1:“1”;}}}s:4:“rows”;i:1;s:4:“cols”;i:1;s:7:“options”;a:0:{}}s:4:“name”;s:12:“customfields”;}s:1:“D”;a:3:{s:4:“type”;s:16:“nextmatch-header”;s:5:“label”;s:8:“Category”;s:4:“name”;s:6:“cat_id”;}s:1:“E”;a:5:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:6:“3,0,0”;i:1;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:9:“Startdate”;s:4:“name”;s:14:“info_startdate”;}i:2;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:7:“Enddate”;s:4:“name”;s:12:“info_enddate”;}i:3;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:18:“info_datecompleted”;s:5:“label”;s:14:“Date complet
ed”;}}s:1:“F”;a:7:{s:4:“type”;s:4:“vbox”;s:4:“data”;a:3:{i:0;a:0:{}i:1;a:1:{s:1:“A”;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:5:“Times”;s:4:“name”;s:14:“info_used_time”;}}i:2;a:1:{s:1:“A”;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:17:“info_planned_time”;s:4:“span”;s:8:",planned";s:5:“label”;s:7:“planned”;}}}s:4:“rows”;i:2;s:4:“cols”;i:1;s:4:“size”;s:1:“2”;i:1;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:5:“Times”;s:4:“name”;s:14:“info_used_time”;}i:2;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:17:“info_planned_time”;s:4:“span”;s:8:",planned";s:5:“label”;s:7:“planned”;}}s:1:“G”;a:8:{s:4:“type”;s:4:“vbox”;s:4:“data”;a:3:{i:0;a:0:{}i:1;a:1:{s:1:“A”;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:5:“Times”;s:4:“name”;s:14:“info_used_time”;}}i:2;a:1:{s:1:“A”;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:17:“info_planned_time”;s:4:“span”;s:8:",planned";s:5:“label”;s:7:“planned”;}}}s:4:“rows”;i:2;s:4:“cols
”;i:1;s:4:“size”;s:6:“3,0,0”;i:1;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:5:“Times”;s:4:“name”;s:14:“info_used_time”;}i:2;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:17:“info_planned_time”;s:4:“span”;s:8:",planned";s:5:“label”;s:7:“planned”;}i:3;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:19:“info_replanned_time”;s:4:“span”;s:10:",replanned";s:5:“label”;s:10:“Re-planned”;}}s:1:“H”;a:4:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:6:“2,0,0”;i:1;a:5:{s:4:“type”;s:23:“nextmatch-accountfilter”;s:4:“name”;s:10:“info_owner”;s:4:“size”;s:5:“Owner”;s:4:“help”;s:25:“Select to filter by owner”;s:4:“span”;s:12:",user_filter";}i:2;a:5:{s:4:“type”;s:23:“nextmatch-accountfilter”;s:4:“name”;s:16:“info_responsible”;s:4:“size”;s:16:“Responsible,both”;s:4:“help”;s:31:“Select to filter by responsible”;s:4:“span”;s:12:",user_filter";}}s:1:“I”;a:4:{s:5:“label”;s:12:“last changed”;s:4:“name”;s:17:“info_datemodified”;s:4:“size”;s:4:“DESC”;s:4:“type”;s:20:“nextmat
ch-sortheader”;}s:1:“J”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:3:“Sub”;s:4:“span”;s:8:",noPrint";}s:1:“K”;a:4:{s:4:“type”;s:16:“nextmatch-header”;s:5:“label”;s:6:“Action”;s:4:“span”;s:8:",noPrint";s:4:“name”;s:7:“actions”;}}i:2;a:11:{s:1:“A”;a:7:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:4:“4,5”;s:5:“align”;s:6:“center”;i:1;a:3:{s:4:“type”;s:5:“image”;s:5:“label”;s:20:"$row_cont[info_type]";s:4:“name”;s:17:"${row}[info_type]";}i:2;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:57:"$row_cont[info_status_label],$row_cont[info_status_label]";s:5:“label”;s:28:"$row_cont[info_status_label]";s:4:“name”;s:31:“edit_status[$row_cont[info_id]]”;s:4:“help”;s:43:“Change the status of an entry, eg. close it”;s:7:“onclick”;s:187:"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;";}i:3;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:23:"$row_cont[info_percent]
";s:5:“label”;s:23:"$row_cont[info_percent]";s:4:“name”;s:32:“edit_percent[$row_cont[info_id]]”;s:4:“help”;s:43:“Change the status of an entry, eg. close it”;s:7:“onclick”;s:187:“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;”;}i:4;a:4:{s:4:“type”;s:5:“image”;s:5:“label”;s:24:"$row_cont[info_percent2]";s:4:“name”;s:21:"{$row}[info_percent2]";s:7:“onclick”;s:187:“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;”;}}s:1:“B”;a:7:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:6:“4,0,0”;i:1;a:4:{s:4:“type”;s:4:“link”;s:5:“label”;s:23:"%s $row_cont[info_addr]";s:4:“name”;s:17:"${row}[info_link]";s:4:“size”;s:1:“b”;}i:2;a:4:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:6:“2,0,0”;i:1;a:4:{s:4:“type”;s:5:“label”;
s:4:“span”;s:21:",$row_cont[sub_class]";s:7:“no_lang”;s:1:“1”;s:4:“name”;s:20:"${row}[info_subject]";}i:2;a:5:{s:4:“type”;s:5:“label”;s:7:“no_lang”;s:1:“1”;s:5:“align”;s:5:“right”;s:4:“name”;s:19:"{$row}[info_number]";s:4:“span”;s:7:",infoId";}}i:3;a:4:{s:4:“type”;s:3:“box”;s:4:“size”;s:1:“1”;s:4:“span”;s:8:",infoDes";i:1;a:4:{s:4:“type”;s:5:“label”;s:7:“no_lang”;s:1:“1”;s:4:“name”;s:16:"${row}[info_des]";s:4:“size”;s:3:",1";}}i:4;a:2:{s:4:“type”;s:11:“link-string”;s:4:“name”;s:17:"${row}[filelinks]";}s:4:“span”;s:10:",fullWidth";}s:1:“C”;a:3:{s:4:“type”;s:17:“customfields-list”;s:4:“span”;s:13:",customfields";s:4:“name”;s:4:"$row";}s:1:“D”;a:3:{s:4:“type”;s:10:“select-cat”;s:4:“name”;s:16:"${row}[info_cat]";s:8:“readonly”;s:1:“1”;}s:1:“E”;a:8:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:8:“3,0,0,1”;s:4:“data”;a:4:{i:0;a:0:{}i:1;a:1:{s:1:“A”;a:5:{s:4:“type”;s:9:“date-time”;s:4:“size”;s:2:",8";s:4:“name”;s:22:"${row}[info_startdate]";s:8:“readonly”;s:1:“1”;s:4:“span”;s:12:",fixedHei
ght";}}i:2;a:1:{s:1:“A”;a:4:{s:4:“type”;s:4:“date”;s:4:“span”;s:33:",$row_cont[end_class] fixedHeight";s:4:“name”;s:20:"${row}[info_enddate]";s:8:“readonly”;s:1:“1”;}}i:3;a:1:{s:1:“A”;a:4:{s:4:“type”;s:9:“date-time”;s:4:“name”;s:26:"${row}[info_datecompleted]";s:8:“readonly”;s:1:“1”;s:4:“span”;s:12:",fixedHeight";}}}s:4:“rows”;i:3;s:4:“cols”;i:1;i:1;a:5:{s:4:“type”;s:9:“date-time”;s:4:“size”;s:2:",8";s:4:“name”;s:22:"${row}[info_startdate]";s:8:“readonly”;s:1:“1”;s:4:“span”;s:12:",fixedHeight";}i:2;a:4:{s:4:“type”;s:4:“date”;s:4:“span”;s:33:",$row_cont[end_class] fixedHeight";s:4:“name”;s:20:"${row}[info_enddate]";s:8:“readonly”;s:1:“1”;}i:3;a:4:{s:4:“type”;s:9:“date-time”;s:4:“name”;s:26:"${row}[info_datecompleted]";s:8:“readonly”;s:1:“1”;s:4:“span”;s:12:",fixedHeight";}}s:1:“F”;a:7:{s:4:“type”;s:4:“vbox”;s:4:“data”;a:4:{i:0;a:1:{s:2:“h2”;s:14:",@no_timesheet";}i:1;a:1:{s:1:“A”;a:5:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:22:"${row}[info_used_time]";s:8:“readonly”;s:1:
“1”;s:4:“size”;s:5:",1";s:4:“span”;s:3:“all”;}}i:2;a:1:{s:1:“A”;a:4:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:27:"${row}[info_sum_timesheets]";s:8:“readonly”;s:1:“1”;s:4:“size”;s:5:",1";}}i:3;a:1:{s:1:“A”;a:5:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:25:"${row}[info_planned_time]";s:4:“span”;s:11:“all,planned”;s:8:“readonly”;s:1:“1”;s:4:“size”;s:5:",1";}}}s:4:“rows”;i:3;s:4:“cols”;i:1;s:4:“size”;s:6:“2,0,0”;i:1;a:5:{s:4:“type”;s:4:“hbox”;s:8:“readonly”;s:1:“1”;s:4:“size”;s:1:“2”;i:1;a:5:{s:4:“type”;s:4:“hbox”;s:8:“readonly”;s:1:“1”;s:4:“size”;s:6:“2,1,0”;i:1;a:4:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:22:"${row}[info_used_time]";s:8:“readonly”;s:1:“1”;s:4:“size”;s:16:"@duration_format";}i:2;a:5:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:27:"${row}[info_sum_timesheets]";s:8:“readonly”;s:1:“1”;s:4:“size”;s:16:"@duration_format";s:4:“span”;s:10:",timesheet";}}i:2;a:1:{s:4:“type”;s:5:“label”;}}i:2;a:5:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:25:"
${row}[info_planned_time]";s:4:“span”;s:11:“all,planned”;s:8:“readonly”;s:1:“1”;s:4:“size”;s:16:"@duration_format";}}s:1:“G”;a:8:{s:4:“type”;s:4:“vbox”;s:4:“data”;a:4:{i:0;a:1:{s:2:“h2”;s:14:",@no_timesheet";}i:1;a:1:{s:1:“A”;a:5:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:22:"${row}[info_used_time]";s:8:“readonly”;s:1:“1”;s:4:“size”;s:5:",1";s:4:“span”;s:3:“all”;}}i:2;a:1:{s:1:“A”;a:4:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:27:"${row}[info_sum_timesheets]";s:8:“readonly”;s:1:“1”;s:4:“size”;s:5:",1";}}i:3;a:1:{s:1:“A”;a:5:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:25:"${row}[info_planned_time]";s:4:“span”;s:11:“all,planned”;s:8:“readonly”;s:1:“1”;s:4:“size”;s:5:",1";}}}s:4:“rows”;i:3;s:4:“cols”;i:1;s:4:“size”;s:6:“3,0,0”;i:1;a:6:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:6:“3,1,0”;i:1;a:3:{s:4:“type”;s:5:“image”;s:5:“label”;s:5:“Times”;s:4:“name”;s:9:“timesheet”;}i:2;a:4:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:22:"${row}[info_used_time]";s:8:“readonly”;s
:1:“1”;s:4:“size”;s:16:"@duration_format";}s:4:“name”;s:11:“r_used_time”;i:3;a:5:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:27:"${row}[info_sum_timesheets]";s:8:“readonly”;s:1:“1”;s:4:“size”;s:16:"@duration_format";s:4:“span”;s:10:",timesheet";}}i:2;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:6:“2,1,0”;i:1;a:3:{s:4:“type”;s:5:“image”;s:5:“label”;s:12:“planned time”;s:4:“name”;s:11:“k_alarm.png”;}i:2;a:5:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:25:"${row}[info_planned_time]";s:4:“span”;s:11:“all,planned”;s:8:“readonly”;s:1:“1”;s:4:“size”;s:16:"@duration_format";}s:4:“name”;s:9:“planified”;}i:3;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:6:“2,1,0”;i:1;a:3:{s:4:“type”;s:5:“image”;s:5:“label”;s:15:“Re-planned time”;s:4:“name”;s:14:“agt_reload.png”;}i:2;a:5:{s:4:“type”;s:13:“date-duration”;s:4:“name”;s:27:"${row}[info_replanned_time]";s:4:“span”;s:13:“all,replanned”;s:8:“readonly”;s:1:“1”;s:4:“size”;s:16:"@duration_format";}s:4:“name”;s:11:“replanified”;}}s:1:“H”;a:4:{s:4:“type
”;s:4:“vbox”;s:4:“size”;s:6:“2,0,0”;i:1;a:3:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:18:"${row}[info_owner]";s:8:“readonly”;s:1:“1”;}i:2;a:4:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:24:"${row}[info_responsible]";s:8:“readonly”;s:1:“1”;s:4:“size”;s:1:“5”;}}s:1:“I”;a:4:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:5:“2,0,0”;i:1;a:3:{s:4:“type”;s:9:“date-time”;s:4:“name”;s:25:"${row}[info_datemodified]";s:8:“readonly”;s:1:“1”;}i:2;a:3:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:21:"${row}[info_modifier]";s:8:“readonly”;s:1:“1”;}}s:1:“J”;a:8:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:5:“4,0,0”;s:5:“align”;s:6:“center”;i:1;a:7:{s:4:“type”;s:6:“button”;s:4:“size”;s:3:“new”;s:5:“label”;s:7:“Add sub”;s:5:“align”;s:6:“center”;s:4:“name”;s:22:“sp[$row_cont[info_id]]”;s:4:“help”;s:46:“Add a new sub-task, -note, -call to this entry”;s:7:“onclick”;s:199:“window.open(egw::link(’/index.php’,‘menuaction=infolog.infolog_ui.edit&action=sp&action_id=$row_cont[info_id]’),’_blank’,‘depende
nt=yes,width=750,height=600,scrollbars=yes,status=yes’); return false;”;}i:2;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:4:“view”;s:5:“label”;s:9:“View subs”;s:5:“align”;s:6:“center”;s:4:“name”;s:24:“view[$row_cont[info_id]]”;s:4:“help”;s:27:“View all subs of this entry”;}i:3;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:6:“parent”;s:5:“label”;s:11:“View parent”;s:5:“align”;s:6:“center”;s:4:“name”;s:31:“view[$row_cont[info_id_parent]]”;s:4:“help”;s:46:“View the parent of this entry and all his subs”;}i:4;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:9:“timesheet”;s:5:“label”;s:19:“Add timesheet entry”;s:4:“name”;s:29:“timesheet[$row_cont[info_id]]”;s:7:“onclick”;s:261:“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;”;s:5:“align”;s:6:“center”;}s:4:“span”;s:8:",noPrin
t";}s:1:“K”;a:6:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:5:“3,0,0”;i:1;a:6:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:7:“3,0,0,0”;i:1;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:4:“edit”;s:5:“label”;s:4:“Edit”;s:4:“name”;s:24:“edit[$row_cont[info_id]]”;s:4:“help”;s:15:“Edit this entry”;s:7:“onclick”;s:187:“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;”;}i:2;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:6:“delete”;s:5:“label”;s:6:“Delete”;s:4:“name”;s:26:“delete[$row_cont[info_id]]”;s:4:“help”;s:17:“Delete this entry”;s:7:“onclick”;s:64:“return $row_cont[info_anz_subs] || confirm(‘Delete this entry’);”;}s:4:“span”;s:8:",noPrint";i:3;a:5:{s:4:“type”;s:8:“checkbox”;s:4:“name”;s:9:“checked[]”;s:4:“size”;s:18:"$row_cont[info_id]";s:4:“help”;s:45:“Select multiple contacts for a further action”;s:5:“align”;s:5:“right”;}}i:2;a:5:{s:4:“type”;s:4:“hbox”
;s:4:“size”;s:7:“2,0,0,0”;i:1;a:5:{s:4:“type”;s:6:“button”;s:4:“size”;s:4:“done”;s:5:“label”;s:18:“Set status to done”;s:4:“name”;s:25:“close[$row_cont[info_id]]”;s:4:“help”;s:37:“Sets the status of this entry to done”;}i:2;a:5:{s:4:“type”;s:6:“button”;s:4:“size”;s:8:“done_all”;s:5:“label”;s:34:“Set status to done for all entries”;s:4:“name”;s:29:“close_all[$row_cont[info_id]]”;s:4:“help”;s:50:“Sets the status of this entry and its subs to done”;}s:4:“span”;s:8:",noPrint";}s:4:“span”;s:8:",noPrint";i:3;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:7:“2,0,0,0”;s:4:“span”;s:8:",image16";i:1;a:4:{s:4:“type”;s:6:“button”;s:4:“name”;s:28:“document[$row_cont[info_id]]”;s:4:“size”;s:15:“etemplate/merge”;s:5:“label”;s:18:“Insert in document”;}i:2;a:5:{s:4:“type”;s:5:“image”;s:4:“name”;s:18:“filemanager/navbar”;s:4:“size”;s:92:"/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/infolog/$row_cont[info_id]";s:4:“span”;s:8:",image16";s:5:“label”;s:11:“Filemanager”;}}}}}s:4:“row
s”;i:2;s:4:“cols”;i:11;s:4:“size”;s:4:“100%”;s:7:“options”;a:1:{i:0;s:4:“100%”;}}}’,‘size’ => ‘100%’,‘style’ => ‘’,‘modified’ => ‘1296070776’,);
+$templ_data[] = array(‘name’ => ‘infolog.index.rows’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.9.001’,‘data’ => ‘a:1:{i:0;a:4:{s:4:“type”;s:4:“grid”;s:4:“data”;a:3:{i:0;a:9:{s:1:“A”;s:2:“2%”;s:2:“c1”;s:2:“th”;s:2:“c2”;s:24:“row $row_cont[class],top”;s:1:“H”;s:34:“8%,@no_info_owner_info_responsible”;s:1:“I”;s:3:“12%”;s:1:“J”;s:14:“3%,@no_actions”;s:1:“E”;s:3:“120”;s:1:“C”;s:17:",@no_customfields";s:1:“K”;s:14:“3%,@no_actions”;}i:1;a:11:{s:1:“A”;a:5:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:6:“3,0,0”;i:1;a:4:{s:4:“type”;s:22:“nextmatch-filterheader”;s:4:“size”;s:4:“Type”;s:4:“name”;s:9:“info_type”;s:7:“no_lang”;s:1:“1”;}i:2;a:4:{s:4:“type”;s:22:“nextmatch-filterheader”;s:4:“size”;s:6:“Status”;s:4:“name”;s:11:“info_status”;s:5:“align”;s:6:“center”;}i:3;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:9:“Completed”;s:4:“name”;s:12:“info_percent”;s:5:“align”;s:5:“right”;}}s:1:“B”;a:6:{s:4:“type”;s:4:“grid”;s:4:“data”;a:4:{i:0;a:0:{}i:1;a:2:{s:1:“A”;a:4:{s:4
:“type”;s:22:“nextmatch-customfilter”;s:4:“size”;s:10:“link-entry”;s:4:“name”;s:6:“linked”;s:8:“onchange”;i:1;}s:1:“B”;a:6:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:8:“Priority”;s:5:“align”;s:5:“right”;s:4:“name”;s:13:“info_priority”;s:4:“size”;s:4:“DESC”;s:4:“span”;s:8:",noPrint";}}i:2;a:2:{s:1:“A”;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:7:“Subject”;s:4:“name”;s:12:“info_subject”;}s:1:“B”;a:6:{s:5:“label”;s:8:“Creation”;s:5:“align”;s:5:“right”;s:4:“name”;s:7:“info_id”;s:4:“size”;s:4:“DESC”;s:4:“span”;s:8:",noPrint";s:4:“type”;s:20:“nextmatch-sortheader”;}}i:3;a:2:{s:1:“A”;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:11:“Description”;s:4:“name”;s:8:“info_des”;}s:1:“B”;a:6:{s:5:“label”;s:12:“last changed”;s:4:“name”;s:17:“info_datemodified”;s:4:“size”;s:4:“DESC”;s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“span”;s:8:",noPrint";s:5:“align”;s:5:“right”;}}}s:4:“rows”;i:3;s:4:“cols”;i:2;s:7:“options”;a:3:{i:0;s:4:“100%”;i:4;s:1:“0”;i:5;s:
1:“0”;}s:4:“size”;s:11:“100%,0,0”;}s:1:“C”;a:4:{s:4:“type”;s:22:“nextmatch-customfields”;i:1;a:3:{s:4:“type”;s:16:“nextmatch-header”;s:4:“name”;s:12:“customfields”;s:4:“size”;s:13:“Custom fields”;}i:2;a:5:{s:4:“type”;s:4:“grid”;s:4:“data”;a:2:{i:0;a:0:{}i:1;a:1:{s:1:“A”;a:4:{s:4:“type”;s:19:“customfields-header”;s:4:“size”;s:13:"@customfields";s:5:“align”;s:5:“right”;s:7:“no_lang”;s:1:“1”;}}}s:4:“rows”;i:1;s:4:“cols”;i:1;s:7:“options”;a:0:{}}s:4:“name”;s:12:“customfields”;}s:1:“D”;a:3:{s:4:“type”;s:16:“nextmatch-header”;s:5:“label”;s:8:“Category”;s:4:“name”;s:6:“cat_id”;}s:1:“E”;a:5:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:6:“3,0,0”;i:1;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:9:“Startdate”;s:4:“name”;s:14:“info_startdate”;}i:2;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:7:“Enddate”;s:4:“name”;s:12:“info_enddate”;}i:3;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:18:“info_datecompleted”;s:5:“label”;s:14:“Date completed”;}}s:1:“F”;a:7:
{s:4:“type”;s:4:“vbox”;s:4:“data”;a:3:{i:0;a:0:{}i:1;a:1:{s:1:“A”;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:5:“Times”;s:4:“name”;s:14:“info_used_time”;}}i:2;a:1:{s:1:“A”;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:17:“info_planned_time”;s:4:“span”;s:8:",planned";s:5:“label”;s:7:“planned”;}}}s:4:“rows”;i:2;s:4:“cols”;i:1;s:4:“size”;s:1:“2”;i:1;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:5:“Times”;s:4:“name”;s:14:“info_used_time”;}i:2;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:17:“info_planned_time”;s:4:“span”;s:8:",planned";s:5:“label”;s:7:“planned”;}}s:1:“G”;a:8:{s:4:“type”;s:4:“vbox”;s:4:“data”;a:3:{i:0;a:0:{}i:1;a:1:{s:1:“A”;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:5:“Times”;s:4:“name”;s:14:“info_used_time”;}}i:2;a:1:{s:1:“A”;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:17:“info_planned_time”;s:4:“span”;s:8:",planned";s:5:“label”;s:7:“planned”;}}}s:4:“rows”;i:2;s:4:“cols”;i:1;s:4:“size”;s
:6:“3,0,0”;i:1;a:3:{s:4:“type”;s:20:“nextmatch-sortheader”;s:5:“label”;s:5:“Times”;s:4:“name”;s:14:“info_used_time”;}i:2;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:17:“info_planned_time”;s:4:“span”;s:8:",planned";s:5:“label”;s:7:“planned”;}i:3;a:4:{s:4:“type”;s:20:“nextmatch-sortheader”;s:4:“name”;s:19:“info_replanned_time”;s:4:“span”;s:10:",replanned";s:5:“label”;s:10:“Re-planned”;}}s:1:“H”;a:4:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:6:“2,0,0”;i:1;a:5:{s:4:“type”;s:23:“nextmatch-accountfilter”;s:4:“name”;s:10:“info_owner”;s:4:“size”;s:5:“Owner”;s:4:“help”;s:25:“Select to filter by owner”;s:4:“span”;s:12:",user_filter";}i:2;a:5:{s:4:“type”;s:23:“nextmatch-accountfilter”;s:4:“name”;s:16:“info_responsible”;s:4:“size”;s:16:“Responsible,both”;s:4:“help”;s:31:“Select to filter by responsible”;s:4:“span”;s:12:",user_filter";}}s:1:“I”;a:4:{s:5:“label”;s:12:“last changed”;s:4:“name”;s:17:“info_datemodified”;s:4:“size”;s:4:“DESC”;s:4:“type”;s:20:“nextmatch-sortheader”;}s:
1:“J”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:3:“Sub”;s:4:“span”;s:8:",noPrint";}s:1:“K”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:6:“Action”;s:4:“span”;s:8:",noPrint";}}i:2;a:11:{s:1:“A”;a:7:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:4:“4,5”;s:5:“align”;s:6:“center”;i:1;a:3:{s:4:“type”;s:5:“image”;s:5:“label”;s:20:"$row_cont[info_type]";s:4:“name”;s:17:"${row}[info_type]";}i:2;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:57:"$row_cont[info_status_label],$row_cont[info_status_label]";s:5:“label”;s:28:"$row_cont[info_status_label]";s:4:“name”;s:31:“edit_status[$row_cont[info_id]]”;s:4:“help”;s:43:“Change the status of an entry, eg. close it”;s:7:“onclick”;s:187:"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;";}i:3;a:6:{s:4:“type”;s:6:“button”;s:4:“size”;s:23:"$row_cont[info_percent]";s:5:“label”;s:23:"$row_cont[info_percent]";s:4:“name”
;s:32:“edit_percent[$row_cont[info_id]]”;s:4:“help”;s:43:“Change the status of an entry, eg. close it”;s:7:“onclick”;s:187:“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;”;}i:4;a:4:{s:4:“type”;s:5:“image”;s:5:“label”;s:24:"$row_cont[info_percent2]";s:4:“name”;s:21:"{$row}[info_percent2]";s:7:“onclick”;s:187:“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;”;}}s:1:“B”;a:7:{s:4:“type”;s:4:“vbox”;s:4:“size”;s:6:“4,0,0”;i:1;a:4:{s:4:“type”;s:4:“link”;s:5:“label”;s:23:"%s $row_cont[info_addr]";s:4:“name”;s:17:"${row}[info_link]";s:4:“size”;s:1:“b”;}i:2;a:4:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:6:“2,0,0”;i:1;a:4:{s:4:“type”;s:5:“label”;s:4:“span”;s:21:",$row_cont[sub_class]";s:7:“no_lang”;s
:1:“1”;s:4:“name”;s:20:"${row}[info_subject]";}i:2;a:5:{s:4:“type”;s:5:“label”;s:7:“no_lang”;s:1:“1”;s:5:“align”;s:5:“right”;s:4:“name”;s:19:"{$row}[info_number]";s:4:“span”;s:7:",infoId";}}i:3;a:4:{s:4:“type”;s:3:“box”;s:4:“size”;s:1:“1”;s:4:“span”;s:8:",infoDes";i:1;a:4:{s:4:“type”;s:5:“label”;s:7:“no_lang”;s:1:“1”;s:4:“name”;s:16:"${row}[info_des]";s:4:“size”;s:3:",1";}}i:4;a:2:{s:4:“type”;s:11:“link-string”;s:4:“name”;s:17:"${row}[filelinks]";}s:4:“span”;s:10:",fullWidth";}s:1:“C”;a:3:{s:4: