Changeset 3821 for branches/2.2/mobile/inc
- Timestamp:
- 02/25/11 09:14:23 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc/class.ui_mobilecc.inc.php
r3820 r3821 140 140 $this->template->set_var("actual_catalog",$this->page_info["actual_catalog"]); 141 141 $this->template->set_var("next_max_results",$this->page_info["actual_max_contacts"]+10); 142 $this->template->set_var("show_actions",strpos($this->page_info["actual_catalog"],"ldap")===false ? "block" : "none"); 142 143 $show_checkbox = true; 144 if(strpos($this->page_info["actual_catalog"],"ldap")===false) { 145 $this->template->set_var("show_actions", "block"); 146 } else { 147 $this->template->set_var("show_actions", "none"); 148 $show_checkbox = false; 149 } 150 143 151 $this->template->set_var("show_add_button",$this->page_info["actual_catalog"] == "bo_group_manager" ? "none" : ""); 144 152 … … 219 227 unset($contacts['has_more']); 220 228 221 $this->template->set_var("contacts",$this->print_contacts($contacts, true,$this->page_info['request_from']));229 $this->template->set_var("contacts",$this->print_contacts($contacts,$show_checkbox,$this->page_info['request_from'])); 222 230 223 231
Note: See TracChangeset
for help on using the changeset viewer.