dropdown-menu.html 822 B

123456789101112131415161718192021
  1. <span class="top-view">
  2. <a href="{if $_W['role'] == ACCOUNT_MANAGE_NAME_CLERK}javascript:;{else}{php echo url('account/display/switch', array('uniacid' => $_W['uniacid'], 'type' => $_W['account']['type']))}{/if}" title="{php echo $_W['account']['name']}" target="_blank">
  3. <i class="wi wi-{php echo $_W['account']->typeSign}"></i>
  4. {$_W['account']['name']}
  5. </a>
  6. </span>
  7. <span class="dropdown">
  8. <a href="javascript:;" class="dropdown-icon" data-toggle="dropdown" aria-expanded="false"><i class="wi wi-angle-down"></i></a>
  9. <ul class="dropdown-menu dropdown-menu-right" role="menu">
  10. {loop $accounts_list $account}
  11. <li>
  12. <a href="{php echo $account['url']}">
  13. <span>
  14. <i class="wi wi-{php echo $account['type_name']}"></i>
  15. {$account['account_name']}
  16. </span>
  17. </a>
  18. </li>
  19. {/loop}
  20. </ul>
  21. </span>