header.php 257 B

1234567891011121314
  1. <?php
  2. require_once(dirname(__FILE__).'/common.php');
  3. $menuItems = array();
  4. Plugin::callHook("menubar_pre_home", array(&$menuItems));
  5. uasort ($menuItems , function($a,$b){return $a['sort']>$b['sort']?1:-1;});
  6. $tpl->assign('menuItems',$menuItems);
  7. ?>