update my linux-at-work.de theme, to made it working other apps too

This commit is contained in:
Lars Kneschke 2001-12-28 18:31:39 +00:00
parent a4cefb9b28
commit 4513577695
4 changed files with 52 additions and 32 deletions

View File

@ -14,13 +14,14 @@ A.main_menu, A.main_menu:LINK, A.main_menu:VISITED {
}
A.main_menu:HOVER {
background-color: #7C92DC;
background-color: #7C92FC;
}
DIV.main_menu {
position : absolute;
border : 0px dotted;
background : #7C92DC;
background : #7C92BC;
padding : 0px 0px 0px 0px;
padding-bottom : 0px;
padding-left : 0px;
@ -30,8 +31,8 @@ DIV.main_menu {
DIV.main_body {
position : absolute;
border : 0px dotted;
background-color : #B8FEAB;
border-width : 1px;
background-color : #7C92BC;
padding-bottom : 0px;
padding-left : 0px;
padding-right : 0px;
@ -52,6 +53,7 @@ TD.main_menu {
margin-right: 10px;
vertical-align:middle;
text-align:right;
white-space: nowrap;
}
TD.main_menu_bottom {
@ -115,7 +117,7 @@ TD.main_menu_info {
margin-right: 0px;
margin-left: 0px;
font-family: "{font_family}";
background-color : #B8FEAB;
background-color : #7C92BC;
}
.tablink { color: #000000; }
{app_css}
@ -123,13 +125,18 @@ TD.main_menu_info {
</STYLE>
<script language="JavaScript">
<!--
function MM_preloadImages()
function checkphpgw()
{
//window.alert("test");
}
function pageInit()
{
window.setInterval("checkphpgw()",60000);
}
//-->
</script>
<TITLE>{website_title} - {app_name}</TITLE>
</HEAD>
<!-- idsociety body tags continue into navbar.tpl, so the closing bracket here is there END Head -->
<BODY onLoad="MM_preloadImages()">
<BODY onLoad="pageInit()">

View File

@ -8,20 +8,43 @@
<META NAME="description" CONTENT="phpGroupWare login screen">
<META NAME="keywords" CONTENT="phpGroupWare login screen">
<LINK rel="stylesheet" href="/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>
</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>
<p>&nbsp;</p>
<center>
<img src=vater_logo.gif border=0>
<br><br>
Benutzername: demo1, demo2 oder demo3<br>
Passwort: demo<br>
<br>
Probleme? => <a href="mailto:lkneschke@phpgw.de">lkneschke@phpgw.de</a>
Support: <a href="http://linux-at-work.de/index.php"
target="_lawde">http://linux-at-work.de</a>
<br><br><br>
<FORM method="post" action="{login_url}">
@ -37,11 +60,11 @@ Probleme? => <a href="mailto:lkneschke@phpgw.de">lkneschke@phpgw.de</a>
</TD>
</TR>
<TR bgcolor="#1559a9">
<TD align="RIGHT"><font color="#FFFF99">Benutzername:&nbsp;</font></TD>
<TD align="left"><font color="#FFFF99">Benutzername:&nbsp;</font></TD>
<TD><input name="login" value="{cookie}"></TD>
</TR>
<TR bgcolor="#1559a9">
<TD align="RIGHT"><font color="#FFFF99">Passwort:&nbsp;</font></TD>
<TD align="left"><font color="#FFFF99">Passwort:&nbsp;</font></TD>
<TD><input name="passwd" type="password"></TD>
</TR>
<TR bgcolor="#1559a9">
@ -67,10 +90,6 @@ Probleme? => <a href="mailto:lkneschke@phpgw.de">lkneschke@phpgw.de</a>
</TABLE>
</FORM>
<br><br>
Support: <a href="http://phpgw.de/index.php"
target="_lawde">http://phpgw.de</a>
</center>
<!-- END login_form -->

View File

@ -95,12 +95,10 @@
}
$var['user_info_name'] = $GLOBALS['phpgw']->common->display_fullname();
$now = time();
$var['user_info_date'] =
lang($GLOBALS['phpgw']->common->show_date($now,'l')) . ' '
. $GLOBALS['phpgw']->common->show_date($now,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']);
// . lang($GLOBALS['phpgw']->common->show_date($now,'F')) . ' '
// . $GLOBALS['phpgw']->common->show_date($now,'d, Y');
lang($GLOBALS['phpgw']->common->show_date(time(),'l')) . ' '
. lang($GLOBALS['phpgw']->common->show_date(time(),'F')) . ' '
. $GLOBALS['phpgw']->common->show_date(time(),'d, Y');
$var['user_info'] = $var['user_info_name'] .' - ' .$var['user_info_date'];
$var['user_info_size'] = '2';
$var['user_info_color'] = '#000000';
@ -143,13 +141,8 @@
{
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
$tpl->set_unknowns('remove');
$tpl->set_file(array('footer' => 'footer.tpl'));
// as of Dec 10, 2001 this powered by code is somewhat broken
// can cause a loop of error message about power bottom being invalid
// needs repair (ed: Angles)
/*
$tpl->set_file(array('footer' => 'footer.tpl'));
$tpl->set_block('footer','B_powered_bottom','V_powered_bottom');
if ($GLOBALS['phpgw_info']['server']['showpoweredbyon'] == 'bottom')
@ -168,8 +161,7 @@
{
$tpl->set_var('V_powered_bottom','');
}
*/
$GLOBALS['phpgw']->common->hook('navbar_end');
$tpl->pfp('out','footer');
}

View File

@ -42,5 +42,7 @@
</table>
</div>
<div class="main_body" style="width : 85% ; height : 100% ; left : 15% ; top :0px ; overflow : auto">
<div class="main_body" style="position: absolute; border-left-width:medium;
border-left-style:double;
height:100%; left:15% ; top :0px ; width:85%; overflow : auto">
<!-- END navbar -->