- Timestamp:
- 12/29/10 16:35:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc/class.ui_mobilecc.inc.php
r3641 r3646 362 362 $this->template->set_block('cc_v','buttom_use_contact'); 363 363 364 $email_to = ""; 365 364 366 switch ($params['catalog']){ 365 367 … … 387 389 $this->template->set_var('lang_lastname',$result['family_names']); 388 390 389 $email_to = "";390 391 $var_phone = ""; 391 392 $var_email = ""; … … 406 407 endforeach; 407 408 408 if ( !empty($email_to)){409 $this->template->set_var('email_to', $email_to);410 $this->template->parse("buttom_use","buttom_use_contact");411 }412 413 409 $this->template->set_var('lang_title_email',lang("Email")); 414 410 $this->template->set_var('lang_email',$var_email); … … 432 428 $data = $this->bo->bo->get_contacts_by_group($params['id']); 433 429 430 $email_to = '<'.$result['short_name'].'>'; 431 434 432 $this->template->set_var('gr_name', $result['title']); 435 $this->template->set_var('email_to', '<'.$result['short_name'].'>');433 $this->template->set_var('email_to', $email_to); 436 434 437 435 $this->template->set_var('lang_title_name',lang("Name")); … … 444 442 $this->template->fp('group_rows','group_row',True); 445 443 } 444 445 $this->template->set_var('email_to', $email_to); 446 $this->template->parse("buttom_use","buttom_use_contact"); 446 447 447 448 $this->template->parse("row_body","group"); … … 467 468 $this->template->set_var('lang_lastname',$result['family_names'][0]); 468 469 469 $email_to = "";470 470 $var_phone = ""; 471 471 $var_email = ""; … … 503 503 } 504 504 505 if ( !empty($email_to)){ 506 $this->template->set_var('email_to', $email_to); 507 $this->template->parse("buttom_use","buttom_use_contact"); 508 } 509 505 510 $this->template->set_var('lang_contact_title',lang("context contact")); 506 511 $this->template->set_var('lang_back',lang("back"));
Note: See TracChangeset
for help on using the changeset viewer.