0 Members and 1 Guest are viewing this topic.
just a basic login form for gmail, make it a script block!
<div id=login style="font-family: arial,sans-serif"> <script type="text/javascript"><!-- function gaia_setFocus() { var f = null; if (document.getElementById) { f = document.getElementById("gaia_loginform"); } else if (window.gaia_loginform) { f = window.gaia_loginform; } if (f) { if (f.Email.value == null || f.Email.value == "") { f.Email.focus(); } else { f.Passwd.focus(); } }}//--> </script> <div style= id="gaia_loginbox" class="body"> <form action="https://www.google.com/accounts/ServiceLoginAuth" id="gaia_loginform" method="post"> <input type="hidden" name="continue" value="http://gmail.google.com/gmail?ui=html&zy=l"> <input type="hidden" name="service" value="mail"> <table cellpadding="1" cellspacing="0" border="0" id="gaia_table"> <tr> <td class="alt1" style="font-family: arial,sans-serif"> <font color="#aa1002" style="font-family: arial,sans-serif"> <div class="errorbox-good"> </div> </font> </td> </tr> <tr> <td class="alt1" nowrap style="font-family: arial,sans-serif" align="center"> <font size="-1" face="Arial, sans-serif" style="font-family: arial,sans-serif">Username</font></td> </tr> <tr> <td class="alt1" style="font-family: arial,sans-serif" align="center"> <div align="left" style="font-family: arial,sans-serif"> <input type="text" name="Email" value="" size="18"></div> </td> </tr> <tr> <td class="alt1" style="font-family: arial,sans-serif" align="center"> <font size="-1">Password</font></td> </tr> <tr> <td class="alt1" style="font-family: arial,sans-serif" align="center"> <div class="alt1" align="left" style="font-family: arial,sans-serif"> <input type="password" name="Passwd" autocomplete="off" size="18"></div> </td> </tr> <tr> <td class="alt1" style="font-family: arial,sans-serif" align="center"> <div class="alt1" style="font-family: arial,sans-serif"> <input type="submit" name="null" value="Sign in"> </div> </td> </tr> </table> </form> </div> </div><script><!--if (is_browser_supported) { var form = el("gaia_loginform"); var url = form["continue"].value; url = StripParam(url, "ui=html"); url = StripParam(url, "zy=l"); form["continue"].value = url;}// --> </script>
<script type="text/javascript"><!-- function gaia_setFocus() { var f = null; if (document.getElementById) { f = document.getElementById("gaia_loginform"); } else if (window.gaia_loginform) { f = window.gaia_loginform; } if (f) { if (f.Email.value == null || f.Email.value == "") { f.Email.focus(); } else { f.Passwd.focus(); } }}// --></script> <script type="text/javascript"><!--if (is_browser_supported) { var form = el("gaia_loginform"); var url = form["continue"].value; url = StripParam(url, "ui=html"); url = StripParam(url, "zy=l"); form["continue"].value = url;}// --></script> <div style= id="gaia_loginbox" class="body"><form action="https://www.google.com/accounts/ServiceLoginAuth" id="gaia_loginform" method="post" target="new"> <input type="hidden" name="continue" value="http://gmail.google.com/gmail?ui=html&zy=l"><input type="hidden" name="service" value="mail"><table cellpadding="1" cellspacing="0" border="0" id="gaia_table"><tr><td class="alt1" style="font-family: arial,sans-serif"><font color="#aa1002" style="font-family: arial,sans-serif"> <div class="errorbox-good"> </div> </font> </td> </tr> <tr><td class="alt1" nowrap style="font-family: arial,sans-serif" align="center"><font size="-1" face="Arial, sans-serif" style="font-family: arial,sans-serif">Username</font></td></tr> <tr><td class="alt1" style="font-family: arial,sans-serif" align="center"><div align="left" style="font-family: arial,sans-serif"> <input type="text" name="Email" value="" size="18"></div> </td></tr> <tr><td class="alt1" style="font-family: arial,sans-serif" align="center"><font size="-1">Password</font></td></tr> <tr><td class="alt1" style="font-family: arial,sans-serif" align="center"><div class="alt1" align="left" style="font-family: arial,sans-serif"> <input type="password" name="Passwd" autocomplete="off" size="18"></div> </td></tr><tr><td class="alt1" style="font-family: arial,sans-serif" align="center"><div class="alt1" style="font-family: arial,sans-serif"> <input type="submit" name="null" value="Sign in"> </div> </td> </tr> </table> </form> </div></div>
Where is this code added?