Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Wed, Jul 23, 10:30 PM

in-portal

Index: branches/unlabeled/unlabeled-1.1.2/core/admin_templates/login.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.1.2/core/admin_templates/login.tpl (revision 7011)
+++ branches/unlabeled/unlabeled-1.1.2/core/admin_templates/login.tpl (revision 7012)
@@ -1,83 +1,84 @@
<inp2:m_include t="incs/header" nobody="yes" noform="yes"/>
<body topmargin="0" leftmargin="8" marginheight="0" marginwidth="8" bgcolor="#FFFFFF" text="#000000" style="height: 100%;" onLoad="document.getElementById($form_name).login.focus();">
- <inp2:m_ParseBlock name="kernel_form"/>
- <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 100%;">
+
+ <table border="0" cellspacing="0" cellpadding="0" style="width: 100%; height: 90%;">
<tr>
- <td valign="middle" align="center">
+ <td valign="middle" align="center">
+ <inp2:m_ParseBlock name="kernel_form"/>
<div align="center">
<img title="In-portal" src="img/globe.gif" width="84" height="82" border="0">
<img title="In-portal" src="img/logo.gif" width="150" height="82" border="0"><br />
-
-
+
+
<table border="0" cellpadding="2" cellspacing="0" class="tableborder" style="border-width: 1px;" width="222" height="30">
<tr>
<td align="right" valign="top" class="tablenav" width ="220" nowrap height="30" style="background: url(img/tabnav_left.gif);">
<span style="float: left;">
<img src="img/icons/icon24_lock_login.gif" width="16" height="22" alt="" border="0" align="absmiddle"> <inp2:m_phrase name="la_Login"/>
</span>
<a href="help/manual.pdf"><img src="img/blue_bar_help.gif" border="0"></a>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#F0F0F0">
<table cellpadding="4" cellspacing="0" border="0">
- <tr bgcolor="#F0F0F0">
+ <tr bgcolor="#F0F0F0">
<td class="text"><inp2:m_phrase name="la_Text_Login"/></td>
<td><input type="text" name="login" class="text" onkeypress="catchHotKeysA(event);"></td>
</tr>
- <tr bgcolor="#F0F0F0">
+ <tr bgcolor="#F0F0F0">
<td class="text"><inp2:m_phrase name="la_prompt_Password"/></td>
<td><input type="password" name="password" class="text" onKeyPress="catchHotKeysA(event);"></td>
</tr>
- <tr bgcolor="#F0F0F0">
- <td colspan="2">
+ <tr bgcolor="#F0F0F0">
+ <td colspan="2">
<div align="left">
<input type="submit" name="login_button" onclick="doLogin();" value="<inp2:m_phrase name="la_Login"/>" class="button">
<input type="reset" name="cancel_button" value="<inp2:m_phrase name="la_Cancel"/>" class="button">
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<inp2:m_if check="u.current_HasError" field="any">
<p class="error"><inp2:u.current_Error field="ValidateLogin"/></p>
</inp2:m_if>
</td>
</tr>
</table>
<input type="hidden" name="next_template" value="<inp2:m_if check="m_GetEquals" name="next_template" value="">index<inp2:m_else/><inp2:m_get var="next_template"/></inp2:m_if>">
-
+
<script type="text/javascript">
function doLogin()
{
submit_event('u', 'OnLogin');
}
-
+
function catchHotKeysA(e)
{
if (!e) return;
if (e.keyCode == 13) doLogin();
}
-
+
var a_parent = window.parent;
- function redirect()
+ function redirect()
{
window.name = 'redirect';
var i = 0;
while (i < 10) {
if (window.parent.name == 'main_frame') break;
a_parent = window.parent;
i++;
}
page = '<inp2:m_t t="index" expired="1" escape="1" no_amp="1"/>'; // a_parent.location.href + '?expired=1';
if (i < 10) {
setTimeout('a_parent.location.href=page',100);
}
}
redirect();
</script>
-
+
<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.1.2/core/admin_templates/login.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.2.3
\ No newline at end of property
+1.1.2.4
\ No newline at end of property

Event Timeline