Author: nathangray
New Revision: 35980
URL: http://svn.stylite.de/viewvc/egroupware?rev=35980&view=rev
Log:
For context assigned popup use assigned control as on edit popup instead of standard account select widget
Modified:
trunk/tracker/inc/class.tracker_ui.inc.php
trunk/tracker/setup/etemplates.inc.php
trunk/tracker/templates/default/index.xet
Modified: trunk/tracker/inc/class.tracker_ui.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/tracker/inc/class.tracker_ui.inc.php?rev=35980&r1=35979&r2=35980&view=diff
— trunk/tracker/inc/class.tracker_ui.inc.php (original)
+++ trunk/tracker/inc/class.tracker_ui.inc.php Thu Aug 4 17:58:16 2011
@@ -549,6 +549,7 @@
‘tr_group’ => $this->get_groups(!$this->check_rights($this->field_acl[‘tr_group’],$tracker,null,null,‘tr_group’) && !$this->data[‘tr_id’]),
‘canned_response’ => $this->get_tracker_labels(‘response’),
);
+
foreach($this->field2history as $field => $status)
{
$sel_options[‘status’][$status] = $this->field2label[$field];
@@ -765,6 +766,7 @@
$rows['duration_format'] = ','.$this->duration_format.',,1';
$rows['sel_options']['tr_assigned'] = array('not' => lang('Not assigned'))+$this->get_staff($tracker,2,$this->allow_assign_users?'usersANDtechnicians':'technicians');
-
$rows['sel_options']['assigned'] = $rows['sel_options']['tr_assigned']; // For context menu popup $versions = $this->get_tracker_labels('version',$tracker); $cats = $this->get_tracker_labels('cat',$tracker);
@@ -1466,6 +1468,8 @@
$this->data[‘tr_assigned’] = $add_remove == ‘add’ ?
array_merge($this->data[‘tr_assigned’],$ids) :
array_diff($this->data[‘tr_assigned’],$ids);
-
// No 0 allowed -
$this->data['tr_assigned'] = array_unique(array_diff($this->data['tr_assigned'], array(0))); if($no_notification) $this->data['no_notifications'] = true; if (!$this->save()) {
Modified: trunk/tracker/setup/etemplates.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/tracker/setup/etemplates.inc.php?rev=35980&r1=35979&r2=35980&view=diff
— trunk/tracker/setup/etemplates.inc.php (original)
+++ trunk/tracker/setup/etemplates.inc.php Thu Aug 4 17:58:16 2011
@@ -2,7 +2,7 @@
/**
- EGroupware - eTemplates for Application tracker
- http://www.egroupware.org
-
- generated by soetemplate::dump4setup() 2011-06-27 20:45
-
- generated by soetemplate::dump4setup() 2011-08-04 09:56
- @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
-
@package tracker
@@ -59,7 +59,7 @@
$templ_data[] = array(‘name’ => ‘tracker.importexport_wizard_chooseowner’,‘template’ => ‘’,‘lang’ => ‘’,‘group’ => ‘0’,‘version’ => ‘1.9.002’,‘data’ => ‘a:1:{i:0;a:4:{s:4:“type”;s:4:“grid”;s:4:“data”;a:14:{i:0;a:4:{s:2:“h3”;s:14:",@no_owner_map";s:2:“c2”;s:2:“th”;s:2:“c6”;s:2:“th”;s:3:“c10”;s:2:“th”;}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:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:5:“Owner”;}}i:3;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:4;a:1:{s:1:“A”;a:2:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:12:“record_owner”;}}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”;}}i:6;a:1:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:5:“Group”;}}i:7;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:“group_from_csv”;}}i:8;a:1:{s:1:“A”;a:3:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:12:“record_group”;s:4:“size”;s:7:",groups";}}i:9;a:1:{s:1:“A”;a:3:{s:4:“type”;s:11:“select-bool”;s:5:“label”;s:26:“Change group when updating”;s:4:“name”;s:12:“change_group”;}}i:10;a:1:{s:1:“A”;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:11:“Assigned to”;}}i:11;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:17:“assigned_from_csv”;}}i:12;a:1:{s:1:“A”;a:3:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:15:“record_assigned”;s:4:“size”;s:5:",both";}}i:13;a:1:{s:1:“A”;a:3:{s:4:“type”;s:11:“select-bool”;s:5:“label”;s:29:“Change assigned when updating”;s:4:“name”;s:15:“change_assigned”;}}}s:4:“rows”;i:13;s:4:“cols”;i:1;}}’,‘size’ => ‘’,‘style’ => ‘’,‘modified’ => ‘1305566688’,);
-$templ_data[] = array(‘name’ => ‘tracker.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:6:{i:0;a:3:{s:2:“h1”;s:6:",!@msg";s:2:“h2”;s:2:",1";s:2:“h4”;s:34:",!@nm[selectcols]=/legacy_actions/";}i:1;a:2:{s:1:“A”;a:5:{s:4:“type”;s:5:“label”;s:5:“align”;s:6:“center”;s:4:“name”;s:3:“msg”;s:4:“span”;s:13:“all,redItalic”;s:7:“no_lang”;s:1:“1”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:2;a:2:{s:1:“A”;a:2:{s:4:“type”;s:8:“template”;s:4:“name”;s:4:“left”;}s:1:“B”;a:3:{s:4:“type”;s:8:“template”;s:5:“align”;s:5:“right”;s:4:“name”;s:5:“right”;}}i:3;a:2:{s:1:“A”;a:4:{s:4:“type”;s:9:“nextmatch”;s:4:“size”;s:18:“tracker.index.rows”;s:4:“name”;s:2:“nm”;s:4:“span”;s:3:“all”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:4;a:2:{s:1:“A”;a:4:{s:4:“type”;s:6:“button”;s:5:“label”;s:3:“Add”;s:4:“name”;s:3:“add”;s:7:“onclick”;s:204:"window.open(egw::link(’/index.php’,‘menuaction=tracker.tracker_ui.edit&tracker={$cont[n
m][col_filter][tr_tracker]}’),’_blank’,‘dependent=yes,width=700,height=480,scrollbars=yes,status=yes’); return false;";}s:1:“B”;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“2”;s:5:“align”;s:5:“right”;i:1;a:3:{s:4:“type”;s:6:“button”;s:5:“label”;s:13:“Select action”;s:7:“onclick”;s:183:“if (!egw_globalObjectManager.getObjectById(‘tracker.index.rows’).executeActionImplementation(this, ‘popup’)) alert(egw::lang(‘You need to select some entries first!’)); return false;;”;}i:2;a:8:{s:5:“label”;s:9:“Check all”;s:7:“onclick”;s:94:“egw_globalObjectManager.getObjectById(‘tracker.index.rows’).toggleAllSelected(); return false;”;s:6:“needed”;s:1:“1”;s:4:“name”;s:9:“check_all”;s:4:“type”;s:6:“button”;s:4:“size”;s:9:“arrow_ltr”;s:4:“help”;s:9:“Check all”;s:4:“span”;s:14:",checkAllArrow";}}}i:5;a:2:{s:1:“A”;a:6:{s:4:“type”;s:3:“box”;s:4:“size”;s:1:“2”;s:4:“name”;s:11:“admin_popup”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:16:“all,promptheader”;s:5:“label”;s:16:“Multiple chan
ges”;}s:4:“span”;s:20:",action_popup prompt";i:2;a:7:{s:4:“type”;s:4:“grid”;s:4:“data”;a:10:{i:0;a:1:{s:2:“c8”;s:4:",top";}i:1;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:9:",cat_id";s:5:“label”;s:8:“Category”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:6:“cat_id”;s:4:“size”;s:9:“No change”;s:7:“no_lang”;s:1:“1”;}}i:2;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:13:",tr_version";s:5:“label”;s:7:“Version”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:10:“tr_version”;s:4:“size”;s:9:“No change”;s:7:“no_lang”;s:1:“1”;}}i:3;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:14:",tr_priority";s:5:“label”;s:8:“Priority”;}s:1:“B”;a:3:{s:4:“type”;s:6:“select”;s:4:“name”;s:11:“tr_priority”;s:4:“size”;s:9:“No change”;}}i:4;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:9:“tr_status”;s:5:“label”;s:6:“Status”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:15:“tr_status_admin”;s:4:“size”;s:9:“No change”;s:4:“help”;s:12:"@status_help";}}i:
5;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:16:",tr_resolution";s:5:“label”;s:10:“Resolution”;}s:1:“B”;a:4:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:6:“2,0,0”;i:1;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:13:“tr_resolution”;s:4:“size”;s:9:“No change”;s:4:“help”;s:12:"@status_help";}i:2;a:4:{s:4:“type”;s:14:“select-percent”;s:4:“name”;s:13:“tr_completion”;s:4:“size”;s:9:“No change”;s:4:“span”;s:9:",leftPad5";}}}i:6;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:14:",tr_assigned";s:5:“label”;s:11:“Assigned to”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:11:“tr_assigned”;s:4:“size”;s:9:“No change”;s:7:“no_lang”;s:1:“1”;}}i:7;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:15:“Canned response”;s:4:“size”;s:18:",canned_response";}s:1:“B”;a:5:{s:4:“name”;s:15:“canned_response”;s:4:“size”;s:10:“Select one”;s:7:“no_lang”;s:1:“1”;s:4:“help”;s:53:“The canned response will be prefix the text you type.”;s:4:“type”;s:6:“select”;}}i:8;a:2:{s:1:“A”;a:3:{s:
4:“type”;s:5:“label”;s:4:“size”;s:16:",reply_message";s:5:“label”;s:7:“Comment”;}s:1:“B”;a:3:{s:4:“type”;s:8:“textarea”;s:4:“size”;s:4:“5,60”;s:4:“name”;s:13:“reply_message”;}}i:9;a:2:{s:1:“A”;a:4:{s:4:“type”;s:6:“button”;s:4:“name”;s:6:“update”;s:5:“label”;s:6:“Update”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;}s:1:“B”;a:4:{s:4:“type”;s:10:“buttononly”;s:5:“label”;s:6:“Cancel”;s:4:“name”;s:6:“cancel”;s:7:“onclick”;s:34:“nm_hide_popup(this,‘admin_popup’);”;}}}s:4:“rows”;i:9;s:4:“cols”;i:2;s:4:“name”;s:5:“admin”;s:7:“options”;a:1:{i:0;s:5:“500px”;}s:4:“size”;s:5:“500px”;}}s:1:“B”;a:6:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“3”;s:5:“align”;s:5:“right”;i:1;a:6:{s:5:“class”;s:19:“action_popup prompt”;s:4:“name”;s:10:“link_popup”;s:4:“type”;s:3:“box”;s:4:“size”;s:1:“1”;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:5:“label”;s:17:“Add / Remove link”;s:4:“span”;s:13:",promptheader";}i:2;a:3:{s:4:“name”;s:4:“link”;s:4:“type”;s:
10:“link-entry”;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:5:“label”;s:3:“Add”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“name”;s:16:“link_action[add]”;s:4:“type”;s:6:“button”;}i:2;a:4:{s:5:“label”;s:6:“Delete”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“name”;s:19:“link_action[delete]”;s:4:“type”;s:6:“button”;}i:3;a:3:{s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:33:“nm_hide_popup(this,‘link_popup’);”;s:4:“type”;s:10:“buttononly”;}}}s:4:“span”;s:20:",action_popup prompt";}i:2;a:6:{s:5:“class”;s:19:“action_popup prompt”;s:4:“name”;s:14:“assigned_popup”;s:4:“type”;s:3:“box”;s:4:“size”;s:1:“1”;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:5:“label”;s:15:“Change assigned”;s:4:“span”;s:13:",promptheader";}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:“name”;s:8:“assigned”;s
:4:“size”;s:6:“5,both”;s:4:“span”;s:21:",action_popup-content";}i:4;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“3”;i:1;a:4:{s:5:“label”;s:3:“Add”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“name”;s:20:“assigned_action[add]”;s:4:“type”;s:6:“button”;}i:2;a:4:{s:5:“label”;s:6:“Delete”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“name”;s:23:“assigned_action[delete]”;s:4:“type”;s:6:“button”;}i:3;a:3:{s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:37:“nm_hide_popup(this,‘assigned_popup’);”;s:4:“type”;s:10:“buttononly”;}}}s:4:“span”;s:20:",action_popup prompt";}i:3;a:6:{s:5:“class”;s:19:“action_popup prompt”;s:4:“name”;s:11:“group_popup”;s:4:“type”;s:3:“box”;s:4:“size”;s:1:“1”;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:5:“label”;s:12:“Change group”;s:4:“span”;s:13:",promptheader";}i:2;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:12:“Select group”;}i:3;a:4:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:5:“group”;s
:4:“size”;s:7:",groups";s:4:“span”;s:21:",action_popup-content";}i:4;a:4:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“2”;i:1;a:3:{s:5:“label”;s:2:“Ok”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“type”;s:6:“button”;}i:2;a:3:{s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:37:“nm_hide_popup(this,‘assigned_popup’);”;s:4:“type”;s:10:“buttononly”;}}}s:4:“span”;s:20:",action_popup prompt";}}}}s:4:“rows”;i:5;s:4:“cols”;i:2;s:4:“size”;s:20:“100%,tracker-index”;s:7:“options”;a:2:{i:3;s:13:“tracker-index”;i:0;s:4:“100%”;}}}’,‘size’ => ‘100%,tracker-index’,‘style’ => ‘/**
+$templ_data[] = array(‘name’ => ‘tracker.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:6:{i:0;a:3:{s:2:“h1”;s:6:",!@msg";s:2:“h2”;s:2:",1";s:2:“h4”;s:34:",!@nm[selectcols]=/legacy_actions/";}i:1;a:2:{s:1:“A”;a:5:{s:4:“type”;s:5:“label”;s:5:“align”;s:6:“center”;s:4:“name”;s:3:“msg”;s:4:“span”;s:13:“all,redItalic”;s:7:“no_lang”;s:1:“1”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:2;a:2:{s:1:“A”;a:2:{s:4:“type”;s:8:“template”;s:4:“name”;s:4:“left”;}s:1:“B”;a:3:{s:4:“type”;s:8:“template”;s:5:“align”;s:5:“right”;s:4:“name”;s:5:“right”;}}i:3;a:2:{s:1:“A”;a:4:{s:4:“type”;s:9:“nextmatch”;s:4:“size”;s:18:“tracker.index.rows”;s:4:“name”;s:2:“nm”;s:4:“span”;s:3:“all”;}s:1:“B”;a:1:{s:4:“type”;s:5:“label”;}}i:4;a:2:{s:1:“A”;a:4:{s:4:“type”;s:6:“button”;s:5:“label”;s:3:“Add”;s:4:“name”;s:3:“add”;s:7:“onclick”;s:204:"window.open(egw::link(’/index.php’,‘menuaction=tracker.tracker_ui.edit&tracker={$cont[n
m][col_filter][tr_tracker]}’),’_blank’,‘dependent=yes,width=700,height=480,scrollbars=yes,status=yes’); return false;";}s:1:“B”;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“2”;s:5:“align”;s:5:“right”;i:1;a:3:{s:4:“type”;s:6:“button”;s:5:“label”;s:13:“Select action”;s:7:“onclick”;s:183:“if (!egw_globalObjectManager.getObjectById(‘tracker.index.rows’).executeActionImplementation(this, ‘popup’)) alert(egw::lang(‘You need to select some entries first!’)); return false;;”;}i:2;a:8:{s:5:“label”;s:9:“Check all”;s:7:“onclick”;s:94:“egw_globalObjectManager.getObjectById(‘tracker.index.rows’).toggleAllSelected(); return false;”;s:6:“needed”;s:1:“1”;s:4:“name”;s:9:“check_all”;s:4:“type”;s:6:“button”;s:4:“size”;s:9:“arrow_ltr”;s:4:“help”;s:9:“Check all”;s:4:“span”;s:14:",checkAllArrow";}}}i:5;a:2:{s:1:“A”;a:6:{s:4:“type”;s:3:“box”;s:4:“size”;s:1:“2”;s:4:“name”;s:11:“admin_popup”;i:1;a:3:{s:4:“type”;s:5:“label”;s:4:“span”;s:16:“all,promptheader”;s:5:“label”;s:16:“Multiple chan
ges”;}s:4:“span”;s:20:",action_popup prompt";i:2;a:7:{s:4:“type”;s:4:“grid”;s:4:“data”;a:10:{i:0;a:1:{s:2:“c8”;s:4:",top";}i:1;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:9:",cat_id";s:5:“label”;s:8:“Category”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:6:“cat_id”;s:4:“size”;s:9:“No change”;s:7:“no_lang”;s:1:“1”;}}i:2;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:13:",tr_version";s:5:“label”;s:7:“Version”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:10:“tr_version”;s:4:“size”;s:9:“No change”;s:7:“no_lang”;s:1:“1”;}}i:3;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:14:",tr_priority";s:5:“label”;s:8:“Priority”;}s:1:“B”;a:3:{s:4:“type”;s:6:“select”;s:4:“name”;s:11:“tr_priority”;s:4:“size”;s:9:“No change”;}}i:4;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:9:“tr_status”;s:5:“label”;s:6:“Status”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:15:“tr_status_admin”;s:4:“size”;s:9:“No change”;s:4:“help”;s:12:"@status_help";}}i:
5;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:16:",tr_resolution";s:5:“label”;s:10:“Resolution”;}s:1:“B”;a:4:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:6:“2,0,0”;i:1;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:13:“tr_resolution”;s:4:“size”;s:9:“No change”;s:4:“help”;s:12:"@status_help";}i:2;a:4:{s:4:“type”;s:14:“select-percent”;s:4:“name”;s:13:“tr_completion”;s:4:“size”;s:9:“No change”;s:4:“span”;s:9:",leftPad5";}}}i:6;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:4:“size”;s:14:",tr_assigned";s:5:“label”;s:11:“Assigned to”;}s:1:“B”;a:4:{s:4:“type”;s:6:“select”;s:4:“name”;s:11:“tr_assigned”;s:4:“size”;s:9:“No change”;s:7:“no_lang”;s:1:“1”;}}i:7;a:2:{s:1:“A”;a:3:{s:4:“type”;s:5:“label”;s:5:“label”;s:15:“Canned response”;s:4:“size”;s:18:",canned_response";}s:1:“B”;a:5:{s:4:“name”;s:15:“canned_response”;s:4:“size”;s:10:“Select one”;s:7:“no_lang”;s:1:“1”;s:4:“help”;s:53:“The canned response will be prefix the text you type.”;s:4:“type”;s:6:“select”;}}i:8;a:2:{s:1:“A”;a:3:{s:
4:“type”;s:5:“label”;s:4:“size”;s:16:",reply_message";s:5:“label”;s:7:“Comment”;}s:1:“B”;a:3:{s:4:“type”;s:8:“textarea”;s:4:“size”;s:4:“5,60”;s:4:“name”;s:13:“reply_message”;}}i:9;a:2:{s:1:“A”;a:4:{s:4:“type”;s:6:“button”;s:4:“name”;s:6:“update”;s:5:“label”;s:6:“Update”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;}s:1:“B”;a:4:{s:4:“type”;s:10:“buttononly”;s:5:“label”;s:6:“Cancel”;s:4:“name”;s:6:“cancel”;s:7:“onclick”;s:34:“nm_hide_popup(this,‘admin_popup’);”;}}}s:4:“rows”;i:9;s:4:“cols”;i:2;s:4:“name”;s:5:“admin”;s:7:“options”;a:1:{i:0;s:5:“500px”;}s:4:“size”;s:5:“500px”;}}s:1:“B”;a:6:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“3”;s:5:“align”;s:5:“right”;i:1;a:6:{s:5:“class”;s:19:“action_popup prompt”;s:4:“name”;s:10:“link_popup”;s:4:“type”;s:3:“box”;s:4:“size”;s:1:“1”;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:5:“label”;s:17:“Add / Remove link”;s:4:“span”;s:13:",promptheader";}i:2;a:3:{s:4:“name”;s:4:“link”;s:4:“type”;s:
10:“link-entry”;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:5:“label”;s:3:“Add”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“name”;s:16:“link_action[add]”;s:4:“type”;s:6:“button”;}i:2;a:4:{s:5:“label”;s:6:“Delete”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“name”;s:19:“link_action[delete]”;s:4:“type”;s:6:“button”;}i:3;a:3:{s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:33:“nm_hide_popup(this,‘link_popup’);”;s:4:“type”;s:10:“buttononly”;}}}s:4:“span”;s:20:",action_popup prompt";}i:2;a:6:{s:5:“class”;s:19:“action_popup prompt”;s:4:“name”;s:14:“assigned_popup”;s:4:“type”;s:3:“box”;s:4:“size”;s:1:“1”;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:5:“label”;s:15:“Change assigned”;s:4:“span”;s:13:",promptheader";}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:4:“hbox”;s:4:“size”;s:6:“2,0,0”;i:1;a:5:{s:4:“
type”;s:6:“select”;s:4:“name”;s:8:“assigned”;s:4:“size”;s:12:“Not assigned”;s:7:“no_lang”;s:1:“1”;s:4:“span”;s:12:",user_select";}i:2;a:5:{s:4:“type”;s:10:“buttononly”;s:4:“size”;s:5:“users”;s:5:“label”;s:15:“Select multiple”;s:5:“align”;s:5:“right”;s:7:“onclick”;s:233:“if (selectbox=document.getElementById(form::name(‘assigned’))) { selectbox.size=5; selectbox.multiple=true; if(selectbox.options[0].value==’’)selectbox.options[0]=null; selectbox.name+=’[]’;} this.style.display=‘none’; return false;”;}}i:4;a:5:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“3”;i:1;a:4:{s:5:“label”;s:3:“Add”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“name”;s:20:“assigned_action[add]”;s:4:“type”;s:6:“button”;}i:2;a:4:{s:5:“label”;s:6:“Delete”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“name”;s:23:“assigned_action[delete]”;s:4:“type”;s:6:“button”;}i:3;a:3:{s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:37:“nm_hide_popup(this,‘assigned_popup’);”;s:4:“type”;s:10:
“buttononly”;}}}s:4:“span”;s:20:",action_popup prompt";}i:3;a:6:{s:5:“class”;s:19:“action_popup prompt”;s:4:“name”;s:11:“group_popup”;s:4:“type”;s:3:“box”;s:4:“size”;s:1:“1”;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:5:“label”;s:12:“Change group”;s:4:“span”;s:13:",promptheader";}i:2;a:2:{s:4:“type”;s:5:“label”;s:5:“label”;s:12:“Select group”;}i:3;a:4:{s:4:“type”;s:14:“select-account”;s:4:“name”;s:5:“group”;s:4:“size”;s:7:",groups";s:4:“span”;s:21:",action_popup-content";}i:4;a:4:{s:4:“type”;s:4:“hbox”;s:4:“size”;s:1:“2”;i:1;a:3:{s:5:“label”;s:2:“Ok”;s:7:“onclick”;s:36:“nm_submit_popup(this); return false;”;s:4:“type”;s:6:“button”;}i:2;a:3:{s:5:“label”;s:6:“Cancel”;s:7:“onclick”;s:37:“nm_hide_popup(this,‘assigned_popup’);”;s:4:“type”;s:10:“buttononly”;}}}s:4:“span”;s:20:",action_popup prompt";}}}}s:4:“rows”;i:5;s:4:“cols”;i:2;s:4:“size”;s:20:“100%,tracker-index”;s:7:“options”;a:2:{i:3;s:13:“tracker-index”;i:0;s:4:“100%”;}}}’,‘size’
=> ‘100%,tracker-index’,‘style’ => '/**
- Add / remove link or category popup used for actions on multiple entries
*/
Modified: trunk/tracker/templates/default/index.xet
URL: http://svn.stylite.de/viewvc/egroupware/trunk/tracker/templates/default/index.xet?rev=35980&r1=35979&r2=35980&view=diff
— trunk/tracker/templates/default/index.xet (original)
+++ trunk/tracker/templates/default/index.xet Thu Aug 4 17:58:16 2011
@@ -236,7 +236,12 @@
-
<listbox type="select-account" id="assigned" rows="5" options="both" class="action_popup-content"/>
-
<hbox options="0,0"> -
<menulist class="user_select"> -
<menupopup id="assigned" no_lang="1" options="Not assigned"/> -
</menulist> -
<buttononly align="right" label="Select multiple" onclick="if (selectbox=document.getElementById(form::name('assigned'))) { selectbox.size=5; selectbox.multiple=true; if(selectbox.options[0].value=='')selectbox.options[0]=null; selectbox.name+='[]';} this.style.display='none'; return false;" options="users"/> -
</hbox> <hbox> <button label="Add" id="assigned_action[add]" onclick="nm_submit_popup(this); return false;"/> <button label="Delete" id="assigned_action[delete]" onclick="nm_submit_popup(this); return false;"/>
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs