Code: Select all
function liMeta($ta, $st) {
global $cl, $h, $hc;
$key = array_search('About us', $h); //extract page key from actual headings array
$i = array_search($key, $ta); //extract pageindex from pages array
$ta = array_slice($ta, $i);
return xliMod($ta, $st);
}
function liNormal($ta, $st) {
global $cl, $h;
$key = array_search('About us', $h);
$i = array_search($key, $ta);
$ta = array_slice($ta, 0, $i);
return liMod($ta, $st);
}
regards
manu