Code: Select all
if (!(XH_ADM && $edit)) {
if ($pd_s >= 0) {
Pageparams_handleRelocation($pd_s, $pd_router->find_page($pd_s));
}
for ($i = 0; $i < $cl; $i++) {
// unpublishing superseedes hiding:
if (!XH_ADM && (!$xh_publisher->isPublished($i))) {
$c[$i] = '#CMSimple hide#';
if ($s == $i) {
$s = -1;
}
if ($pd_s == $i) {
$pd_s = ($i < $cl - 1 ? $i + 1 : -1);
$c[$i] .= '#CMSimple shead(404);#';
}
} elseif ($xh_publisher->isHidden($i)) {
$c[$i] = '#CMSimple hide#' . $c[$i];
}
}
}
Öhm ja. Schauts euch mal an. kann auch Schrott sein und irgendwas anderes kaputtmachen..
aber Ich hoffe mal nicht.