No Footer & Header -
No Footer -
No Header -
Normal
load("../../gosa.conf");
/* Get a new test instance of ObjectListViewports */
$vp= new ObjectListViewport("plugin/sample");
if(isset($_GET['d']) && preg_match("/f/",$_GET['d'])){
$vp->enableFooter(FALSE);
}
if(isset($_GET['d']) && preg_match("/h/",$_GET['d'])){
$vp->enableHeader(FALSE);
}
$content= $vp->render();
} catch (Exception $e) {
echo "\n-GOsa Exception-----------------------------------------------------------\n\n".
$e->__toString().
"\n\n--------------------------------------------------------------------------\n\n";
}
?>