Steve Brown login.tpl work.
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 8 Feb 2006 22:02:46 +0000 (22:02 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 8 Feb 2006 22:02:46 +0000 (22:02 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10670 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/login.tpl [new file with mode: 0644]

diff --git a/templates/default/login.tpl b/templates/default/login.tpl
new file mode 100644 (file)
index 0000000..8da056c
--- /dev/null
@@ -0,0 +1,65 @@
+<?php
+/**
+ * login.tpl
+ *
+ * Template to create the login page
+ *
+ * @copyright &copy; 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package squirrelmail
+ * @subpackage templates
+ */
+
+/* retrieve the template vars */
+extract($t);
+
+?>
+<body onLoad="squirrelmail_loginpage_onload()" style="text-align:center">
+<div id="sqm_login">
+<form action="redirect.php" method="post" onSubmit="document.forms[0].js_autodetect_results.value=<?php echo SMPREF_JS_ON; ?>;">
+<?php do_hook('login_top'); ?>
+<table cellspacing="0">
+ <tr>
+  <td class="sqm_loginTop" colspan="2">
+   <?php 
+       echo $logo_str;
+       echo $sm_attribute_str; 
+   ?>
+  </td>
+ </tr>
+ <tr>
+  <td class="sqm_loginOrgName" colspan="2">
+   <?php echo $org_name_str; ?>
+  </td>
+ </tr>
+ <tr>
+  <td class="sqm_loginFieldName">
+   <?php echo _("Name:"); ?>
+  </td>
+  <td class="sqm_loginFieldInput">
+   <?php echo $login_field; ?>
+  </td>
+ </tr>
+ <tr>
+  <td class="sqm_loginFieldName">
+   <?php echo _("Password:"); ?>
+  </td>
+  <td class="sqm_loginFieldInput">
+   <?php 
+       echo $password_field;
+       echo concat_hook_function('login_form')
+   ?>
+  </td>
+ </tr>
+ <tr>
+  <td class="sqm_loginSubmit" colspan="2">
+   <?php echo $submit_field; ?>
+  </td>
+ </tr>
+</table>
+</form>
+<?php do_hook('login_bottom'); ?>
+</div>
+</body>
+</html>