|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
if (count($request) >= 2) { |
|
|
if (count($request) >= 2) { |
|
|
$body=str_replace([$request[0],$request[1]],["{|","|}"],$body); |
|
|
$body=str_replace([$request[0],$request[1]],["{|","|}"],$body); |
|
|
$body=$this->content_element_dispatcher($body); |
|
|
|
|
|
|
|
|
$body=$this->content_element($body); |
|
|
} |
|
|
} |
|
|
$hash=md5($body); |
|
|
$hash=md5($body); |
|
|
$add=sprintf("<div id=\"%s\" class=\"content_elment_box_body\">\n%s\n</div>", |
|
|
$add=sprintf("<div id=\"%s\" class=\"content_elment_box_body\">\n%s\n</div>", |
|
|
|
|
|
|
|
|
$counter++; |
|
|
$counter++; |
|
|
if (count($request) >= 4) { |
|
|
if (count($request) >= 4) { |
|
|
$part=str_replace([$request[2],$request[3]],["{|","|}"],$part); |
|
|
$part=str_replace([$request[2],$request[3]],["{|","|}"],$part); |
|
|
$part=$this->content_element_dispatcher($part); |
|
|
|
|
|
|
|
|
$part=$this->content_element($part); |
|
|
} |
|
|
} |
|
|
$new .= sprintf("<div>\n%s\n</div>", |
|
|
$new .= sprintf("<div>\n%s\n</div>", |
|
|
$md->text($part) |
|
|
$md->text($part) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
break; |
|
|
default: |
|
|
default: |
|
|
$new=self::warn("Content Module \"".$request[0]."\" unknown"); |
|
|
|
|
|
|
|
|
$new=FilesInFolders::warn("Content Module \"".$request[0]."\" unknown"); |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
|
|
|
|