[Mapbender-commits] r5880 - in branches/3_dev/http: . plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Apr 10 06:55:58 EDT 2010
Author: mh
Date: 2010-04-10 06:55:57 -0400 (Sat, 10 Apr 2010)
New Revision: 5880
Added:
branches/3_dev/http/plugins/
branches/3_dev/http/plugins/mb_login.js
branches/3_dev/http/plugins/mb_login_html.php
Log:
add new login plugins
Added: branches/3_dev/http/plugins/mb_login.js
===================================================================
--- branches/3_dev/http/plugins/mb_login.js (rev 0)
+++ branches/3_dev/http/plugins/mb_login.js 2010-04-10 10:55:57 UTC (rev 5880)
@@ -0,0 +1,9 @@
+(function ($) {
+ $.fn.login = function () {
+ return this.each(function () {
+ //alert(this.id);
+ //if($(this).is('div')
+ $(this).load("./plugins/mb_login_html.php");
+ });
+ };
+})(jQuery);
\ No newline at end of file
Added: branches/3_dev/http/plugins/mb_login_html.php
===================================================================
--- branches/3_dev/http/plugins/mb_login_html.php (rev 0)
+++ branches/3_dev/http/plugins/mb_login_html.php 2010-04-10 10:55:57 UTC (rev 5880)
@@ -0,0 +1,14 @@
+<?php
+ require_once dirname(__FILE__) . "/../../core/globalSettings.php";
+# echo "<form name='loginForm' action ='" . $PHP_SELF . "' method='POST'>";
+ echo "<form name='loginForm' action ='./frames/login.php' method='POST'>";
+ echo "<table>";
+ echo "<tr><td>" . _mb("Name") . ": </td><td><input type='text' name='name' class='login_text' value=''></td></tr>";
+ echo "<tr><td>" . _mb("Password") . ": </td><td><input type='password' name='password' class='login_text'></td></tr>";
+ echo "<tr><td></td><td><input type='submit' class='myButton' value='login' title='anmelden'>";
+ echo " <a href='../frames/forgottenPassword.php' title='" .
+ _mb("Forgot your password?") . "' target='_blank'>" .
+ _mb("Forgot your password?") . "</a>";
+ echo "</td></tr></table>";
+ echo "</form>";
+?>
\ No newline at end of file
More information about the Mapbender_commits
mailing list