Also obs geht kann ich nicht sagen, aber du könntest versuchen die Funktion
function get_boxcontent ( $box ) {
global $lang, $allgAr, $menu;
if ( file_exists('include/boxes/'.$box ) ) {
$pfad = 'include/boxes/'.$box;
} elseif ( file_exists ( 'include/contents/selfbp/selfb/'. str_replace('self_','',$box) ) ) {
$pfad = 'include/contents/selfbp/selfb/'. str_replace('self_','',$box);
} elseif ( file_exists('include/boxes/'.$box.'.php' ) ) {
$pfad = 'include/boxes/'.$box.'.php';
} elseif ( file_exists('include/boxes/'.$box.'.htm' ) ) {
$pfad = 'include/boxes/'.$box.'.htm';
} elseif ( file_exists ( 'include/contents/selfbp/selfb/'. str_replace('self_','',$box).'.php' ) ) {
$pfad = 'include/contents/selfbp/selfb/'. str_replace('self_','',$box).'.htm';
} elseif ( file_exists ( 'include/contents/selfbp/selfb/'. str_replace('self_','',$box).'.htm' ) ) {
$pfad = 'include/contents/selfbp/selfb/'. str_replace('self_','',$box).'.htm';
} else {
return ( FALSE );
}
ob_start();
require_once( $pfad );
$buffer = $this->escape_explode(ob_get_contents());
ob_end_clean();
return($buffer);
}
in der
include/includes/class/design.php zu ändern, indem du statt
return($buffer); mal
return('<div class="boxen">'.$buffer.'</div>') machst.