- Timestamp:
- 02/25/11 09:14:23 (13 years ago)
- Location:
- branches/2.2/mobile
- Files:
-
- 2 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 -
branches/2.2/mobile/templates/default/cc_main.tpl
r3820 r3821 29 29 <form method="post" action="index.php" id="formu_contacts"> 30 30 <input type="hidden" id="menuaction" name="menuaction" value="mobile.ui_mobilecc.delete_contacts"> 31 <input type="hidden" id="catalog" name="catalog" value="{actual_catalog}"> 31 <input type="hidden" id="catalog" name="catalog" value="{actual_catalog}"> 32 32 {contacts} 33 33 </form>
Note: See TracChangeset
for help on using the changeset viewer.