From 2c4b5294490dae2ed281a01ad2d4a0e116f3db57 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 26 Apr 2006 21:27:22 +0000 Subject: [PATCH] small js change for the selectbox in index --- addressbook/setup/etemplates.inc.php | 4 ++-- addressbook/templates/default/index.xet | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addressbook/setup/etemplates.inc.php b/addressbook/setup/etemplates.inc.php index f042d1aaeb..eb95e5470f 100755 --- a/addressbook/setup/etemplates.inc.php +++ b/addressbook/setup/etemplates.inc.php @@ -2,7 +2,7 @@ /** * eGroupWare - eTemplates for Application addressbook * http://www.egroupware.org - * generated by soetemplate::dump4setup() 2006-04-24 13:05 + * generated by soetemplate::dump4setup() 2006-04-26 23:25 * * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @package addressbook @@ -52,7 +52,7 @@ $templ_data[] = array('name' => 'addressbook.editphones','template' => '','lang' $templ_data[] = array('name' => 'addressbook.editphones','template' => '','lang' => '','group' => '0','version' => '1.3.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:18:{i:0;a:1:{s:2:"c2";s:2:"th";}i:1;a:3:{s:1:"A";a:6:{s:4:"type";s:5:"label";s:4:"span";s:16:"all,windowheader";s:5:"label";s:20:"Edit Phonenumbers - ";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:2:"fn";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Description";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Number";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"pref";}}i:3;a:3:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:8:"business";s:4:"size";s:12:",,,tel_work2";s:4:"span";s:5:",bold";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_work2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_work";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:4;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";s:4:"size";s:12:",,,tel_cell2";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_cell2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_cell";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:5;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:3:"fax";s:4:"size";s:10:",,,tel_fax";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_fax";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_fax";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:6;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:9:"car phone";s:4:"size";s:10:",,,tel_car";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_car";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:7:"tel_car";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:7;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"pager";s:4:"size";s:12:",,,tel_pager";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_pager";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_pager";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:8;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:9;a:3:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:9:"Assistent";s:4:"size";s:12:",,,assistent";s:4:"span";s:5:",bold";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"35";s:4:"name";s:9:"assistent";s:4:"span";s:1:"2";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:10;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"number";s:4:"size";s:16:",,,tel_assistent";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:13:"tel_assistent";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:13:"tel_assistent";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:11;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:12;a:3:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:7:"Private";s:4:"size";s:12:",,,tel_home2";s:4:"span";s:5:",bold";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_home2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:8:"tel_home";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:13;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";s:4:"size";s:19:",,,tel_cell_private";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:16:"tel_cell_private";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:16:"tel_cell_private";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:14;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:3:"fax";s:4:"size";s:15:",,,tel_fax_home";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:12:"tel_fax_home";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:12:"tel_fax_home";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:15;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:16;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:" Other Phone";s:4:"size";s:12:",,,tel_other";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_other";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:9:"tel_other";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:17;a:3:{s:1:"A";a:5:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:7:"onclick";s:118:"set_style_by_class(\'table\',\'editphones\',\'display\',\'none\'); if (window.hidephones) hidephones(this.form); return false;";s:4:"span";s:3:"all";s:5:"align";s:6:"center";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:17;s:4:"cols";i:3;s:4:"size";s:13:",,,editphones";s:7:"options";a:1:{i:3;s:10:"editphones";}}}','size' => ',,,editphones','style' => '','modified' => '1131901207',); -$templ_data[] = array('name' => 'addressbook.index','template' => '','lang' => '','group' => '0','version' => '1.3.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:3:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";s:2:"c4";s:7:"noPrint";}i:1;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:2;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:5:"align";s:5:"right";s:4:"name";s:23:"addressbook.index.right";}}i:3;a:2:{s:1:"A";a:4:{s:4:"type";s:9:"nextmatch";s:4:"size";s:22:"addressbook.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:5:{s:4:"type";s:6:"button";s:4:"name";s:3:"add";s:5:"label";s:3:"Add";s:4:"help";s:17:"Add a new contact";s:7:"onclick";s:164:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";}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: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:126:"if (this.checked==true && !confirm(\'Apply the action on the whole query, NOT only the shown contacts!!!\')) this.checked=false;";s:4:"help";s:67:"Apply the action on the whole query, NOT only the shown contacts!!!";}i:2;a:6:{s:4:"type";s:6:"select";s:8:"onchange";i:1;s:4:"size";s:45:"Select an action or addressbook to move to...";s:7:"no_lang";s:1:"1";s:4:"name";s:6:"action";s:4:"help";s:42:"Select an action or addressbook to move to";}i:3;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";}}}}s:4:"rows";i:4;s:4:"cols";i:2;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}','size' => '100%','style' => '','modified' => '1145194921',); +$templ_data[] = array('name' => 'addressbook.index','template' => '','lang' => '','group' => '0','version' => '1.3.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:3:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";s:2:"c4";s:7:"noPrint";}i:1;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:2;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:8:"template";s:5:"align";s:5:"right";s:4:"name";s:23:"addressbook.index.right";}}i:3;a:2:{s:1:"A";a:4:{s:4:"type";s:9:"nextmatch";s:4:"size";s:22:"addressbook.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:5:{s:4:"type";s:6:"button";s:4:"name";s:3:"add";s:5:"label";s:3:"Add";s:4:"help";s:17:"Add a new contact";s:7:"onclick";s:164:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";}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: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:126:"if (this.checked==true && !confirm(\'Apply the action on the whole query, NOT only the shown contacts!!!\')) this.checked=false;";s:4:"help";s:67:"Apply the action on the whole query, NOT only the shown contacts!!!";}i:2;a:6:{s:4:"type";s:6:"select";s:8:"onchange";s:60:"if (this.value != \'\') { this.form.submit(); this.value=\'\'; }";s:4:"size";s:45:"Select an action or addressbook to move to...";s:7:"no_lang";s:1:"1";s:4:"name";s:6:"action";s:4:"help";s:42:"Select an action or addressbook to move to";}i:3;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";}}}}s:4:"rows";i:4;s:4:"cols";i:2;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}','size' => '100%','style' => '','modified' => '1145194921',); $templ_data[] = array('name' => 'addressbook.index.right','template' => '','lang' => '','group' => '0','version' => '1.3.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:6:"select";s:5:"label";s:4:"Type";s:4:"name";s:15:"col_filter[tid]";s:4:"help";s:23:"Select addressbook type";s:8:"onchange";i:1;}}','size' => '','style' => '','modified' => '1145286218',); diff --git a/addressbook/templates/default/index.xet b/addressbook/templates/default/index.xet index af7d193763..b1b2c38d58 100644 --- a/addressbook/templates/default/index.xet +++ b/addressbook/templates/default/index.xet @@ -161,7 +161,7 @@ - +