Hi, I'm trying to insert some javascript into the "error_nopermission_loggedin" template that would display the message "YOU HAVE BEEN KICKED OFF" if the user has been kicked off and is trying to log in. I don't know a thing about javascript.
Would you debug this script for me?
Would you debug this script for me?
<script language="JavaScript">
<!--
function kicked() {
var kickedoff = $usergroupid;
if (kickedoff == 15) {
document.write("YOU HAVE BEEN KICKED OFF");}
}
//-->
</script>
<!--
function kicked() {
var kickedoff = $usergroupid;
if (kickedoff == 15) {
document.write("YOU HAVE BEEN KICKED OFF");}
}
//-->
</script>
Comment