$_from = $this->_tpl_vars['accounts']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } if (count($_from)) { foreach ($_from as $this->_tpl_vars['accountId'] => $this->_tpl_vars['accountName']) { ?> <li class="inopt"> <a href="<?php echo $this->_tpl_vars['adminWebPath']; ?> account-switch.php?account_id=<?php echo is_array($_tmp = $this->_tpl_vars['accountId']) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp); ?> "><?php echo OA_Admin_Template::_function_boldSearchPhrase(array('text' => $this->_tpl_vars['accountName'], 'search' => $this->_tpl_vars['query']), $this); ?> </a> </li> <?php } } unset($_from); ?> <?php if (isset($this->_tpl_vars['remainingCounts'][$this->_tpl_vars['groupName']])) { ?> <li class="inopt more" title="<?php echo OA_Admin_Template::_function_t(array('str' => 'UseSearchBoxToFindMoreAccounts'), $this); ?> ">... <?php