if ( ShareRealm("NO_REALM") )
{
InsertFile("/Templates/LoginTempl.html");
}
else
{
InsertFile("/Templates/LogoutTempl.html");
}
|
|
|
 |
Start page
|
|
|
 |
Control Functions |
|
|
 |
System Diagnostics |
|
|
if ( ShareRealm("NO_REALM") )
{
write("Please login to continue
");
InsertFile("/Templates/LoginHint.html");
}
else
{
if( ExistVar("Realm","URL") )
{
if( !ShareRealm(GetVar("Realm","URL")) )
{
write("You are logged in as ");
WriteVar("Username","HTTP");
write(", but you do not have the necessary authorisation. You need to be in the ");
write(GetVar("Realm","URL","encoded"));
write("Group. Please log in as a different user or contact your administrator!
");
}
}
}
|