{if call_user_func(array('CRM_Core_Permission','giveMeAllACLs'))}
<li id="crm-qsearch" class="menumain crm-link-home">
<form action="{crmURL p='civicrm/contact/search/advanced' h=0 }" name="search_block" id="id_search_block" method="post">
{if call_user_func(array('CRM_Core_Permission','giveMeAllACLs'))}
<li id="crm-qsearch" class="menumain crm-link-home">
<form action="{crmURL p='civicrm/contact/search/advanced' h=0 }" name="search_block" id="id_search_block" method="post">