/** * call the function * * @access public * @param array parameters of the function (= attributes of the tag) * @param string content of the tag * @return string content to insert into the template */ function call($params, $content) { if (!isset($params['macro'])) { return false; } $macro = strtolower($params['macro']); switch ($macro) { case 'initeditor': return initEditor(true); break; } return false; }
<head> <title><?php echo $mosConfig_sitename; ?> </title> <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?> " /> <?php if ($my->id) { include "editor/editor.php"; initEditor(); } ?> <?php include "includes/metadata.php"; ?> <script language="JavaScript" type="text/javascript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {