如,用户申请商铺后,团购 导航是关闭的.
请问设置哪里...
/**
* 系统默认自定义导航
*
* @param int $shopid 商铺 ID
*/
function get_shop_nav_default($shopid) {
global $_G, $lang;
if($shopid == 0) {
$shopid = $GLOBALS['itemid'];
}
return array(
'index'=>array('navid'=>'index','flag'=>'index','name'=>$lang['shopindex'],'type'=>'sys','shopid'=>0,'available'=>'1','url'=>'store.php?id='.$shopid),
'notice'=>array('navid'=>'notice','flag'=>'notice','name'=>$lang['noticelist'],'type'=>'sys','shopid'=>0,'available'=>'1','url'=>'store.php?id='.$shopid.'&action=notice'),
'album'=>array('navid'=>'album','flag'=>'album','name'=>$lang['album'],'type'=>'sys','shopid'=>0,'available'=>'1','url'=>'store.php?id='.$shopid.'&action=album'),
'good'=>array('navid'=>'good','flag'=>'good','name'=>$lang['good'],'type'=>'sys','shopid'=>0,'available'=>'1','url'=>'store.php?id='.$shopid.'&action=good'),
'consume'=>array('navid'=>'consume','flag'=>'consume','name'=>$lang['coupon'],'type'=>'sys','shopid'=>0,'available'=>'1','url'=>'store.php?id='.$shopid.'&action=consume'),
'groupbuy'=>array('navid'=>'groupbuy','flag'=>'groupbuy','name'=>$lang['groupbuy'],'type'=>'sys','shopid'=>0,'available'=>'1','url'=>'store.php?id='.$shopid.'&action=groupbuy')
);
}
|