Project

General

Profile

« Previous | Next » 

Revision 3983

Added by berkley over 16 years ago

got ajax calls working to do login/logout for the sms page

View differences:

index.jsp
18 18
            //alert('user logged in');
19 19
            slideUp("#loginformdiv");
20 20
            $('#loginheader').replaceWith("<h2 style=\"text-align:center\" id=\"loginheader\">" 
21
              + user + " Logged In <a onclick=\"logout()\">[logout]</a></h2>");
21
              + user + " Logged In <a onclick=\"logout()\" style=\"font-size:70%\">[logout]</a></h2>");
22 22
          }
23 23
          else
24 24
          { //login not successful
25
            alert('user not logged in');
25
            alert('Sorry, your login failed.  Please try again.  If you need a username, please go to http://knb.ecoinformatics.org.');
26 26
          }
27 27
          
28 28
        }, "XML");

Also available in: Unified diff