Fixes for home portal pages

This commit is contained in:
skeeter 2001-01-08 04:35:04 +00:00
parent abe2072c1a
commit 54251c3fea
4 changed files with 3 additions and 8 deletions

View File

@ -10,14 +10,14 @@
if ($phpgw_info["user"]["preferences"]["calendar"]["mainscreen_showevents"]) {
include($phpgw_info["server"]["app_inc"].'/functions.inc.php');
echo '<!-- Calendar info -->'."\n";
echo "\n".'<tr><td align="left"><!-- Calendar info -->'."\n";
echo $phpgw->calendar->mini_calendar($phpgw->calendar->today["day"],$phpgw->calendar->today["month"],$phpgw->calendar->today["year"],"day.php");
$now = $phpgw->calendar->splitdate(mktime (0, 0, 0, $phpgw->calendar->today["month"], $phpgw->calendar->today["day"], $phpgw->calendar->today["year"]) - ((60 * 60) * $phpgw_info["user"]["preferences"]["common"]["tz_offset"]));
echo '<table border="0" width="70%" cellspacing="0" cellpadding="0"><tr><td align="center">'
. lang(date("F",$phpgw->calendar->today["raw"])).' '.$phpgw->calendar->today["day"].', '.$phpgw->calendar->today["year"].'</tr></td>'
. '<tr><td bgcolor="'.$phpgw_info["theme"]["bg_text"].'" valign="top">'
. $phpgw->calendar->print_day_at_a_glance($now).'</td></tr></table>'."\n";
echo '<!-- Calendar info -->'."\n";
echo "\n".'<!-- Calendar info --></td></tr>'."\n";
unset($phpgw->calendar);
}

View File

@ -109,8 +109,6 @@
. "http://www.phpgroupware.org\">http://www.phpgroupware.org</a>";
}
}
echo '<p><table border="0" width="100%" align="center">';
?>
<script langague="JavaScript">
function opennotifywindow()
@ -120,6 +118,7 @@
</script>
<?php
echo '<p><table border="0" width="100%" align="center">';
//echo '<a href="javascript:opennotifywindow()">Open notify window</a>';
if ($phpgw_info["user"]["apps"]["stocks"] && $phpgw_info["user"]["preferences"]["stocks"]["enabled"]) {

View File

@ -6,9 +6,7 @@
<td>
<table border="1" cellpadding="0" cellspacing="0" width="{inner_width}" bgcolor="{inner_bgcolor}">
<tr>
<td>
{output}
</td>
</tr>
</table>
</td>

View File

@ -6,9 +6,7 @@
<td>
<table border="1" cellpadding="0" cellspacing="0" width="{inner_width}" bgcolor="{inner_bgcolor}">
<tr>
<td>
{output}
</td>
</tr>
</table>
</td>