- Timestamp:
- 12/07/07 10:17:09 (17 years ago)
- Location:
- trunk/contactcenter
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/inc/class.ui_data.inc.php
r118 r119 177 177 $GLOBALS['phpgw']->template->set_var('cc_msg_export_contacts', lang('Export Contacts')); 178 178 $GLOBALS['phpgw']->template->set_var('cc_msg_expresso_info_csv', lang('The Expresso supports the contacts importation in the CSV file format.')); 179 $GLOBALS['phpgw']->template->set_var('cc_msg_choose_file_type', lang('Select the file type .'));179 $GLOBALS['phpgw']->template->set_var('cc_msg_choose_file_type', lang('Select the file type')); 180 180 $GLOBALS['phpgw']->template->set_var('cc_msg_outlook_express', lang('Outlook Express')); 181 181 $GLOBALS['phpgw']->template->set_var('cc_msg_outlook2k', lang('Outlook 2000')); … … 188 188 $GLOBALS['phpgw']->template->set_var('cc_msg_import_finished', lang('The importation has finished.')); 189 189 $GLOBALS['phpgw']->template->set_var('cc_msg_choose_valid_csv', lang('Select a valid CSV file to import your contacts')); 190 $GLOBALS['phpgw']->template->set_var('cc_msg_export_csv', lang('Select the format type that you want to export your contacts')); 190 191 $GLOBALS['phpgw']->template->set_var('cc_msg_export_error', lang('An error has occurred while the exportation.')); 191 $GLOBALS['phpgw']->template->set_var('cc_msg_new_email', lang('New E -Mail...'));192 $GLOBALS['phpgw']->template->set_var('cc_msg_new_email', lang('New Email')); 192 193 $GLOBALS['phpgw']->template->set_var('cc_msg_main', lang('Main')); 193 194 $GLOBALS['phpgw']->template->set_var('cc_msg_alternative', lang('Alternative')); … … 214 215 $GLOBALS['phpgw']->template->set_var('cc_msg_copy_to_catalog', lang('Copy to personal catalog.')); 215 216 $GLOBALS['phpgw']->template->set_var('cc_msg_add_contact_to_group', lang('You did not add any contact for this group.')); 216 $GLOBALS['phpgw']->template->set_var('cc_msg_fill_field_name', lang('Fill the field Full Name .'));217 $GLOBALS['phpgw']->template->set_var('cc_msg_fill_field_name', lang('Fill the field Full Name')); 217 218 218 219 $GLOBALS['phpgw']->template->parse('out','index'); -
trunk/contactcenter/js/cc.js
r118 r119 1404 1404 var lang_new_email = Element('cc_msg_new_email').value; 1405 1405 var lang_main = Element('cc_msg_main').value; 1406 var lang_alternative = Element('cc_msg_alternative').value; 1407 1406 var lang_alternative = Element('cc_msg_alternative').value; 1408 1407 cc_conn_type_sel[0] = new Option(lang_new_email,'-1'); 1409 1408 cc_conn_type_sel[1] = new Option(lang_main,lang_main); 1410 1409 cc_conn_type_sel[2] = new Option(lang_alternative,lang_alternative); 1411 1412 1410 connID = 1; 1413 1411 selected_index = cc_email_default.options.selectedIndex; … … 1423 1421 } 1424 1422 else if(Element('cc_conn_type_2').checked) { 1425 1426 1423 var lang_new_telephone = Element('cc_msg_new_phone').value; 1427 1424 var lang_home = Element('cc_msg_home').value; … … 1430 1427 var lang_fax = Element('cc_msg_fax').value; 1431 1428 var lang_pager = Element('cc_msg_pager').value; 1432 1433 1429 cc_conn_type_sel[0] = new Option(lang_new_telephone,'-1'); 1434 1430 cc_conn_type_sel[1] = new Option(lang_home,lang_home); … … 1444 1440 } 1445 1441 1446 var lang_choose_phone = Element('cc_msg_choose_phone').value; 1447 1442 var lang_choose_phone = Element('cc_msg_choose_phone').value; 1448 1443 cc_phone_default.options[0] = new Option(lang_choose_phone,'-1'); 1449 1444 cc_email_default.style.display = 'none'; -
trunk/contactcenter/js/ccAux.js
r79 r119 392 392 } 393 393 394 function get_lang(_key,_arg1,_arg2,_arg3,_arg4) {395 396 array_lang = new Array();397 398 if(!array_lang[0]){399 return _key+"*";400 }401 _value = "";402 for(i = 0; i < array_lang[0].length;i++){403 if(array_lang[0][i] == _key.toLowerCase()) {404 _value = array_lang[1][i];405 break;406 }407 }408 409 if(!_value)410 return _key+"*";411 412 if(_arg1 || _arg2 ||_arg3 || _arg4) {413 for(j = 1; j <= 4; j++){414 if(eval("_arg"+j)) {415 var regExp = new RegExp("%"+j+"");416 _value = _value.replace(regExp,eval("_arg"+j));417 }418 }419 }420 421 return _value;422 }423 424 425 394 /***********************************************\ 426 395 * CONSTANTS * -
trunk/contactcenter/js/ccIEContacts.js
r118 r119 39 39 40 40 var lang_import_contacts = Element('cc_msg_import_contacts').value; 41 var lang_export_contacts = Element('cc_msg_export_contacts').value; 42 var lang_expresso_info_csv = Element('cc_msg_expresso_info_csv').value; 43 var lang_expresso_default = Element('cc_msg_expresso_default').value; 44 var lang_choose_contacts_file = Element('cc_msg_choose_contacts_file').value; 45 var lang_close = Element('cc_msg_close').value; 41 var lang_export_contacts = Element('cc_msg_export_contacts').value; 42 var lang_expresso_info_csv = Element('cc_msg_expresso_info_csv').value; 43 var lang_expresso_default = Element('cc_msg_expresso_default').value; 44 var lang_choose_contacts_file = Element('cc_msg_choose_contacts_file').value; 45 var lang_msg_choose_type = Element('cc_msg_choose_file_type').value; 46 var lang_msg_expresso_info_csv = Element('cc_msg_expresso_info_csv').value; 47 var lang_msg_export_csv = Element('cc_msg_export_csv').value; 48 var lang_close = Element('cc_msg_close').value; 46 49 var lang_moz_tb = Element('cc_msg_moz_thunderbird').value; 47 50 var lang_outl_pt = Element('cc_msg_outlook_express_pt').value; … … 61 64 '<font color="DARKBLUE" size="2">'+lang_expresso_info_csv+'</font></td></tr>'+ 62 65 '<tr><td height="75px" valign="top">'+ 63 '<form name="formCSV" method="POST" enctype="multipart/form-data">'+ get_lang("Select the file type")+': <select id="typeImport">'+64 '<option value="outlook">'+ get_lang("Outlook Express")+'</option>'+65 '<option value="outlook2000">'+ get_lang("Outlook 2000")+'</option>'+66 '<option value="thunderbird">'+ get_lang("Mozilla Thunderbird")+'</option>'+66 '<form name="formCSV" method="POST" enctype="multipart/form-data">'+ lang_msg_choose_type+': <select id="typeImport">'+ 67 '<option value="outlook">'+("Outlook Express")+'</option>'+ 68 '<option value="outlook2000">'+("Outlook 2000")+'</option>'+ 69 '<option value="thunderbird">'+("Mozilla Thunderbird")+'</option>'+ 67 70 '<option value="expresso" selected>'+lang_expresso_default+'</option></select><br>'+ 68 71 '<br>'+lang_choose_contacts_file+'<br><br>'+ … … 76 79 '<table border=0 height="208px" width="100%" style="display:none" id="export_span">'+ 77 80 '<tr><td>'+ 78 '<font color="DARKBLUE" size="2">'+get_lang("The Expresso supports the contacts importation in the CSV file format.")+'</font></td></tr>'+ 79 '<tr><td height="85px" valign="top">'+ 80 get_lang("Select the format type that you want to export your contacts")+'<br><br>'+ 81 '<font color="DARKBLUE" size="2">'+ lang_msg_expresso_info_csv+'</font></td></tr>'+ 82 '<tr><td height="85px" valign="top">'+lang_msg_export_csv+'<br><br>'+ 81 83 '<input style="border:0" id="typeExport_0" name="radio" type="radio" value="expresso" checked/>'+lang_expresso_default_csv+'<br>'+ 82 84 '<input style="border:0" id="typeExport_1" name="radio" type="radio" value="outlook_pt-BR">'+lang_outl_pt+ '<br>'+ -
trunk/contactcenter/js/ccMain.js
r118 r119 190 190 var lang_install_new_firefox = Element('cc_msg_install_new_firefox'); 191 191 var lang_close = Element('cc_msg_close'); 192 193 192 function buildWarningMsg(_version) { 194 193 var screenWidth = document.body.clientWidth ? document.body.clientWidth: document.body.offsetWidth; -
trunk/contactcenter/templates/default/index.tpl
r118 r119 41 41 <input id="cc_msg_ie_personal" type="hidden" value="{cc_msg_ie_personal}"> 42 42 <input id="cc_msg_import_fail" type="hidden" value="{cc_msg_import_fail}"> 43 <input id="cc_msg_export_csv" type="hidden" value="{cc_msg_export_csv}"> 43 44 <input id="cc_msg_importing_contacts" type="hidden" value="{cc_msg_importing_contacts}"> 44 45 <input id="cc_msg_import_finished" type="hidden" value="{cc_msg_import_finished}">
Note: See TracChangeset
for help on using the changeset viewer.