authentication_method = 'Static'; }else{ $xerte_toolkits_site->authentication_method = 'Guest'; //$xerte_toolkits_site->authentication_method = 'Ldap'; //$xerte_toolkits_site->authentication_method = 'Db'; //$xerte_toolkits_site->authentication_method = 'Static'; //$xerte_toolkits_site->authentication_method = "Moodle"; } //restrict moodle guest access //comment out the following if you want the Moodle guest account to have authoring access if ( $xerte_toolkits_site->authentication_method=="Moodle"){ if($USER->username=='guest'){ echo '
Sorry you do not currently have permission to author with Xerte.
Sorry you do not currently have permission to author with Xerte.