'; ?>
" ; echo "" ; if ( $my->id ) { //is user logged in? // The next query checks if there is something to edit or create. For docman and com_events it is also prepared (different tasks). // If your editor isnīt loaded in the frontend, check if there is another "task" in the URL than the following. // If it doesnīt work, just put // in front of the following line. if($_REQUEST["task"] == "edit" || $_REQUEST["task"] == "new" || $_REQUEST["task"] == "modify" || $_REQUEST["task"] == "upload" || $_REQUEST["task"] == "editdoc") { include ("editor/editor.php"); initEditor();} } // count some stuff for layout if ((mosCountModules( "user1" )) && (mosCountModules( "user2" ))) { //if both modules are loaded, we need a 50%-layout for them $usera='user1'; $userb='user2'; } else if ((mosCountModules( "user1" )) || (mosCountModules( "user2" ))) { // if only one, then 100% no matter which one. $usera='user3'; $userb='user3'; } ?>