Source: site.view [edit]
Function name: msg
Arguments: msgid
Description: Display a system message for SkillsRank
Page type: html
Render function:  
Module: skillsrank

Page source:

<webl>     WubCall("incHeader", []);      </webl>
<webl>     WubCall("incTop", ["contact"]);         </webl>


<!-- content here 
============================================================ -->
<a name="content"></a>
<webl>

var res = "";
if msgid == "loggedin" then
   res = "<h1>You are now logged in.</h1>"
elsif msgid == "loggedout" then
   res = "<h1>You are now logged out.</h1>"
elsif msgid == "badlogin" then
   res = "<h1>Login incorrect.</h1>"
elsif msgid == "emptyusername" then
   res = "<h1>You must enter a user name.</h1>"
end;

</webl>

</div>

<webl>     WubCall("incBottom", []);      </webl>
<webl>     WubCall("incSidemenuNavSite", ["login"]);    </webl>
<webl>     WubCall("incFooter", []);      </webl>