.inerleft.menu.php 1.47 KB
<?
global $APPLICATION;
$aMenuLinksEx = Array(
	Array(
		"Concours", 
		"#CON_CODE#/winners/", 
		Array(), 
		Array("PARENT" => "N"), 
		"" 
	),
	Array(
		"Concours  Juvénile", 
		"#CON_CODE#/juvenile/", 
		Array(), 
		Array("PARENT" => "N"), 
		"" 
	),
	Array(
		"Conditions", 
		"#CON_CODE#/terms/", 
		Array(), 
		Array("PARENT" => "N"), 
		"" 
	),
	Array(
		"Prix", 
		"#CON_CODE#/prizes/", 
		Array(),
		Array("PARENT" => "N"),
		"" 
	),
	Array(
		"Programmes", 
		"#CON_CODE#/programs/", 
		Array(),
		Array("PARENT" => "N"),
		"" 
	),
	Array(
		"Jury", 
		"#CON_CODE#/jury/", 
		Array(),
		Array("PARENT" => "N"),
		"" 
	),
	Array(
		"Direction", 
		"#CON_CODE#/direction/", 
		Array(),
		Array("PARENT" => "N"),
		"" 
	),
);


$aMenuLinkstabs=$APPLICATION->IncludeComponent("citrus:menu.contests", "", array(
	"IBLOCK_TYPE" => "tenders",
	"IBLOCK_ID" => "5",
	"IS_SEF" => "Y",
	"SEF_BASE_URL" => "/fr/archive/contests/",
	"CONTESTS_PAGE_URL" => "#CON_CODE#/",
	"WINNERS_PAGE_URL" =>  "#CON_CODE#/winners/",
	"JUVENILE_PAGE_URL" => "#CON_CODE#/winners/juvenile/",
	"TERMS_PAGE_URL" => "#CON_CODE#/terms/",
	"PRIZES_PAGE_URL" => "#CON_CODE#/prizes/",
	"PROGRAM_PAGE_URL" => "#CON_CODE#/programs/",
	"JURY_PAGE_URL" => "#CON_CODE#/jury/",
	"JURY_DETAIL_PAGE_URL" => "#CON_CODE#/jury/#ELEMENT_CODE#/",
	"CACHE_TYPE" => "A",
	"CACHE_TIME" => "3600",
	"MENU" => $aMenuLinksEx,
	),
	false
);
//echo"<pre>";print_r($aMenuLinkstabs);echo"</pre>";
$aMenuLinks = array_merge($aMenuLinks, $aMenuLinkstabs);
?>