topnav.html 1.5 KB

12345678910111213141516171819202122232425262728
  1. <div class="admincp-header">
  2. <div class="logo">
  3. <img src="{:ds_get_pic('admin/common',config('ds_config.admin_backlogo'))}"/>
  4. </div>
  5. <div class="navbar">
  6. <input type="hidden" value="{$ick_kci}" />
  7. <ul class="fl" style="float:left;">
  8. {foreach name="menu_list" item="menu"}
  9. <li id="nav_{$menu.name}" {if !$menu.show}style="display:none"{/if}>
  10. <a href="javascript:void(0)" onclick="openItem('{$menu.name}')">{$menu.text}</a>
  11. </li>
  12. {/foreach}
  13. </ul>
  14. <ul class="fr" style="float:right">
  15. <li>
  16. <span>{$Think.lang.topnav_hello},{:session('admin_name')}</span>
  17. <div class="sub-meun">
  18. <dl>
  19. <dd><a href="{:url('Index/modifypw')}" target="main-frame"><i class="iconfont">&#xe67b;</i>{$Think.lang.topnav_edit_password}</a></dd>
  20. <dd><a href="javascript:dsLayerConfirm('{:url('Login/logout')}','{$Think.lang.topnav_logout_confirm}')"><i class="iconfont">&#xe70c;</i>{$Think.lang.topnav_logout}</a></dd>
  21. </dl>
  22. </div>
  23. </li>
  24. <li><a href="javascript:dsLayerConfirm('{:url('Index/clear')}','{$Think.lang.topnav_clear_confirm}')" target="main-frame">{$Think.lang.topnav_cache}</a></li>
  25. <li><a href="{:url('/home/Index/index')}" target="_blank">{$Think.lang.topnav_visit_home}</a></li>
  26. </ul>
  27. </div>
  28. </div>