echo "<i>Messages not implemented yet</i>";
}
-function GLCASpageBuilder($bodyClass, $bodyFunction, $title="GLCAS")
+function GLCASpageBuilder($bodyClass, $bodyFunction, $bodycontent, $title="GLCAS")
{
global $WEB_ROOT_FS, $BASE_URL;
if($bodyClass != null) {
$bodyClass->$bodyFunction($url);
- } else $bodyFunction($url);
+ } else if( $bodyFunction != null) {
+ $bodyFunction($url);
+ } else echo $bodycontent;
echo "</td></tr></table>";