wenfu76 发表于 2015-5-26 09:04:29

2013增强版menu_top.php开发问题

本人正在进行2013版升级到2013增强版的代码升级工作,开发过程中遇到menu_top.php的列表点击没反应现象,请专家解析一下原因,代码如下:
<?
include_once("inc/auth.inc.php");
include_once("inc/header.inc.php");
$MENU_TOP=array(
   array("text" => _("值班日志"), "href" => "indexWorkTrans.php", "target" => "menu_main", "title" => "", "img" => "/static/images/menu/worktrans.gif"),
   array("text" => _("值班日志查询"), "href" => "searchWorkTrans.php", "target" => "menu_main", "title" => "", "img" => "/static/images/menu/worktrans.gif"),
   array("text" => _("跟踪日志查询"), "href" => "searchTransLog.php", "target" => "menu_main", "title" => "", "img" => "/static/images/menu/worktrans.gif"),
   array("text" => _("环境检测"), "href" => "xmlHttpTest.php", "target" => "menu_main", "title" => "", "img" => "/static/images/menu/Power.gif")
);
include_once("inc/menu_top.php");
?>

cgft 发表于 2015-5-26 20:12:21

<?
include_once("inc/auth.inc.php");
include_once("inc/utility_all.php");
$MENU_TOP= array(
        array(
                "text" => "值班日志置",
                "href" => "indexWorkTrans.php",
                "target" => "",
                "title" => "",
                "img" => MYOA_STATIC_SERVER."/static/images/menu/worktrans.gif"
        ),

        //more ……

);

include_once("inc/menu_top.php");
?>

cgft 发表于 2015-5-26 20:18:49

本帖最后由 cgft 于 2015-5-26 20:21 编辑

父节点: <?
include_once('inc/auth.inc.php');
$HTML_PAGE_TITLE= 'This is a test PageTitle';
include_once("inc/header.inc.php");
header('location:menu_top.php');
?>

cgft 发表于 2015-5-27 13:02:52

index.php这么写:<?
include_once('inc/auth.inc.php');
$HTML_PAGE_TITLE= '值班交接系统';
include_once('inc/header.inc.php');
header('location:menu_top.php');
?>
页: [1]
查看完整版本: 2013增强版menu_top.php开发问题