// run through SEF convertor
$mitem->link = sefRelToAbs( $mitem->link );
$menuclass = 'mainlevel'. $params->get( 'class_sfx' );
if ($level > 0) {
$menuclass = 'sublevel'. $params->get( 'class_sfx');
}
// run through SEF convertor
$mitem->link = sefRelToAbs( $mitem->link );
$menuclass = 'mainlevel'. $params->get( 'class_sfx' );
if ($level > 0) {
$menuclass = 'sublevel'. $params->get( 'class_sfx');
if ($level > 1) {
$menuclass = 'sublevel2' . $params->get( 'class_sfx');
if ($level > 2) {
$menuclass = 'sublevel3' . $params->get( 'class_sfx');
}
}
}
$indents = array(
// block prefix / item prefix / item suffix / block suffix
array( '<table width="100%" border="0" cellpadding="0" cellspacing="0">', '<tr align="left"><td>' , '</td></tr>', '</table>' ),
array( '', '<div style="padding-left: 4px">'. $img[1] , '</div>', '' ),
array( '', '<div style="padding-left: 8px">'. $img[2] , '</div>', '' ),
array( '', '<div style="padding-left: 12px">'. $img[3] , '</div>', '' ),
array( '', '<div style="padding-left: 16px">'. $img[4] , '</div>', '' ),
array( '', '<div style="padding-left: 20px">'. $img[5] , '</div>', '' ),
array( '', '<div style="padding-left: 24px">'. $img[6] , '</div>', '' ),
);
$indents = array(
// block prefix / item prefix / item suffix / block suffix
array( '<table width="100%" border="0" cellpadding="0" cellspacing="0">', '<tr align="left"><td>' , '</td></tr>', '</table>' ),
array( '', '<div class="sublevel" style="background: url(templates/rt_replicant/images/glass/leftmenu_highlight.png) no-repeat; padding-left: 4px;">'. $img[1] , '</div>', '' ),
array( '', '<div class="sublevel2" style="padding-left: 8px">'. $img[2] , '</div>', '' ),
array( '', '<div class="sublevel3" style="padding-left: 12px">'. $img[3] , '</div>', '' ),
array( '', '<div style="padding-left: 16px">'. $img[4] , '</div>', '' ),
array( '', '<div style="padding-left: 20px">'. $img[5] , '</div>', '' ),
array( '', '<div style="padding-left: 24px">'. $img[6] , '</div>', '' ),
);
/* @Custom Side Navigation */
.mainlevel {
font-variant:small-caps;
font-size:120%;
font-weight:bold;
line-height:25px;
}
.sublevel {
font-variant:small-caps;
line-height:20px;
font-weight:bold;
margin-bottom:3px;
}
.sublevel2 {
background:none;
font-weight:lighter;
}
.sublevel3 {
font-weight:lighter;
}
/* @end */
/* @Custom Side Navigation */
.sublevel {
height: 20px;
padding-top: 2px;
}
.sublevel2 {
height: 15px;
margin-top: 5px;
}
.sublevel3 {
height: 15px;
margin-top: 5px;
}
/* @end */
// indent icons
switch ( $params->get( 'indent_image' ) ) {
case '1':
// Default images
$imgpath = $mosConfig_live_site .'/images/M_images';
for ( $i = 1; $i < 7; $i++ ) {
$img[$i] = '<img src="'. $imgpath .'/indent'. $i .'.png" alt="" />';
}
break;
case '2':
// Use Params
$imgpath = $mosConfig_live_site .'/images/M_images';
for ( $i = 1; $i < 7; $i++ ) {
if ( $params->get( 'indent_image'. $i ) == '-1' ) {
$img[$i] = NULL;
} else {
$img[$i] = '<img src="'. $imgpath .'/'. $params->get( 'indent_image'. $i ) .'" alt="" />';
}
}
break;
// indent icons
switch ( $params->get( 'indent_image' ) ) {
case '1':
// Default images
$imgpath = $mosConfig_live_site .'/images/M_images';
for ( $i = 1; $i < 7; $i++ ) {
$img[$i] = '<img src="'. $imgpath .'/indent'. $i .'.png" alt="" height="9" width="9" />';
}
break;
case '2':
// Use Params
$imgpath = $mosConfig_live_site .'/images/M_images';
for ( $i = 1; $i < 7; $i++ ) {
if ( $params->get( 'indent_image'. $i ) == '-1' ) {
$img[$i] = NULL;
} else {
$img[$i] = '<img src="'. $imgpath .'/'. $params->get( 'indent_image'. $i ) .'" alt="" height="9" width="9" />';
}
}
break;
ul.sidenav li li {
border-bottom: 0;
height:15px;
}
Time to create page: 0.055 seconds