This commit is contained in:
ceb 2002-03-27 22:09:17 +00:00
parent 419c11f197
commit 9933697484
2 changed files with 34 additions and 52 deletions

View File

@ -7,47 +7,23 @@
<META name="AUTHOR" content="phpGroupWare http://www.phpgroupware.org"> <META name="AUTHOR" content="phpGroupWare http://www.phpgroupware.org">
<META NAME="description" CONTENT="phpGroupWare login screen"> <META NAME="description" CONTENT="phpGroupWare login screen">
<META NAME="keywords" CONTENT="phpGroupWare login screen"> <META NAME="keywords" CONTENT="phpGroupWare login screen">
<LINK rel="stylesheet" href="/copy.css"> <LINK rel="stylesheet" href="/phpgroupware_devel/phpgwapi/templates/linux-at-work.de/copy.css">
<script language="JavaScript">
<!--
function launchphpgroupware()
{
if (window.screen) {
var aw = screen.availWidth;
var ah = screen.availHeight;
window.moveTo(0, 0);
window.resizeTo(aw, ah);
if(window.name != "phpGroupware")
{
Neufenster = window.open("login.php", "phpGroupware","width="+aw+",height="+ah+",location=no,menubar=yes,toolbar=no,resizable=yes");
Neufenster.focus();
window.close();
}
}
}
//-->
</script>
<TITLE>{website_title} - Login</TITLE> <TITLE>{website_title} - Login</TITLE>
</HEAD> </HEAD>
<BODY bgcolor="#1559a9" text="#FFFFFF" topmargin="0" marginheight="0" marginwidth="0" leftmargin="0" <BODY bgcolor="#1559a9" text="#FFFFFF" topmargin="0" marginheight="0" marginwidth="0" leftmargin="0">
onLoad="launchphpgroupware('')">
<CENTER>{lang_message}</CENTER> <CENTER>{lang_message}</CENTER>
<p>&nbsp;</p> <p>&nbsp;</p>
<center> <center>
<img src=vater_logo.gif border=0> <iimg src="/phpgroupware/phpgwapi/templates/linux-at-work.de/images/vater_logo.gif" border="0">
<br> <br>
Support: <a href="http://linux-at-work.de/index.php" Support: <a href="http://linux-at-work.de/index.php"
target="_lawde">http://linux-at-work.de</a> target="_lawde">http://linux-at-work.de</a>
<br><br><br> <FORM name="login_form" method="post" action="{login_url}">
<FORM method="post" action="{login_url}">
<input type="hidden" name="passwd_type" value="text"> <input type="hidden" name="passwd_type" value="text">
<TABLE border="0" align="CENTER" bgcolor="#1559a9" cellpadding="0" cellspacing="0"> <TABLE border="0" align="CENTER" bgcolor="#1559a9" cellpadding="0" cellspacing="0">
<TR bgcolor="#1559a9"> <TR bgcolor="#1559a9">
@ -92,6 +68,12 @@ target="_lawde">http://linux-at-work.de</a>
</FORM> </FORM>
</center> </center>
<script language="javascript1.2">
<!--
// position cursor in top form field
document.login_form.login.focus();
//-->
</script>
<!-- END login_form --> <!-- END login_form -->
</HTML> </HTML>

View File

@ -139,29 +139,29 @@
function parse_navbar_end() function parse_navbar_end()
{ {
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); # $tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$tpl->set_unknowns('remove'); # $tpl->set_unknowns('remove');
#
$tpl->set_file(array('footer' => 'footer.tpl')); # $tpl->set_file(array('footer' => 'footer.tpl'));
$tpl->set_block('footer','B_powered_bottom','V_powered_bottom'); # $tpl->set_block('footer','B_powered_bottom','V_powered_bottom');
#
if ($GLOBALS['phpgw_info']['server']['showpoweredbyon'] == 'bottom') # if ($GLOBALS['phpgw_info']['server']['showpoweredbyon'] == 'bottom')
{ # {
$var = Array( # $var = Array(
'powered' => lang('Powered by phpGroupWare version x', $GLOBALS['phpgw_info']['server']['versions']['phpgwapi']), # 'powered' => lang('Powered by phpGroupWare version x', $GLOBALS['phpgw_info']['server']['versions']['phpgwapi']),
'img_root' => PHPGW_IMAGES_DIR, # 'img_root' => PHPGW_IMAGES_DIR,
'power_backcolor' => $GLOBALS['phpgw_info']['theme']['navbar_bg'], # 'power_backcolor' => $GLOBALS['phpgw_info']['theme']['navbar_bg'],
'power_textcolor' => $GLOBALS['phpgw_info']['theme']['navbar_text'] # 'power_textcolor' => $GLOBALS['phpgw_info']['theme']['navbar_text']
// 'version' => $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'] // 'version' => $GLOBALS['phpgw_info']['server']['versions']['phpgwapi']
); # );
$tpl->set_var($var); # $tpl->set_var($var);
$tpl->parse('V_powered_bottom','B_powered_bottom'); # $tpl->parse('V_powered_bottom','B_powered_bottom');
} # }
else ## else
{ # {
$tpl->set_var('V_powered_bottom',''); # $tpl->set_var('V_powered_bottom','');
} # }
#
$GLOBALS['phpgw']->hooks->process('navbar_end'); # $GLOBALS['phpgw']->hooks->process('navbar_end');
$tpl->pfp('out','footer'); # $tpl->pfp('out','footer');
} }