From: <cf...@us...> - 2010-04-25 13:52:25
|
Revision: 1934 http://znc.svn.sourceforge.net/znc/?rev=1934&view=rev Author: cflakes Date: 2010-04-25 13:52:19 +0000 (Sun, 25 Apr 2010) Log Message: ----------- WebMods: Delete obsolete login.tpl template. The login form has been on / and /help and so on for some months. Modified Paths: -------------- trunk/WebModules.cpp Removed Paths: ------------- trunk/webskins/_default_/tmpl/login.tmpl Modified: trunk/WebModules.cpp =================================================================== --- trunk/WebModules.cpp 2010-04-25 13:35:06 UTC (rev 1933) +++ trunk/WebModules.cpp 2010-04-25 13:52:19 UTC (rev 1934) @@ -563,7 +563,8 @@ return PAGE_DEFERRED; } - return PrintTemplate("login", sPageRet); + Redirect("/"); // the login form is here + return PAGE_DONE; } else if (sURI.Left(5) == "/pub/") { return PrintStaticFile(sURI, sPageRet); } else if (sURI.Left(11) == "/skinfiles/") { Deleted: trunk/webskins/_default_/tmpl/login.tmpl =================================================================== --- trunk/webskins/_default_/tmpl/login.tmpl 2010-04-25 13:35:06 UTC (rev 1933) +++ trunk/webskins/_default_/tmpl/login.tmpl 2010-04-25 13:52:19 UTC (rev 1934) @@ -1,21 +0,0 @@ -<? INC Header.tmpl ?> -<? IF LoggedIn ?> - - You are alredy logged in! - -<? ELSE ?> - <form action="/login" method="POST"> - <input type="hidden" name="submitted" value="1"> - <table> - <tr> - <td>User:</td> - <td>Password:</td> - <td> </td> - </tr> - <tr> - <td><input type="text" name="user" size="24"> </td> - <td><input type="password" name="pass" size="24"></td> - <td><input type="submit" class="submit" value="Login"></td> - </tr> - </table> - </form> -<? ENDIF ?> -<? INC Footer.tmpl ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |