update on the UI

This commit is contained in:
Ralf Becker 2003-09-07 23:42:22 +00:00
parent 3de5eed23a
commit 5f68c3f3b8
4 changed files with 15 additions and 9 deletions

View File

@ -1331,7 +1331,8 @@
{
$icons .= ($icons?' ':'').$GLOBALS['phpgw']->html->image($app,$name,lang($name),'border="0" width="15" height="15"');
}
$content .= " <tr>\n <td valign=\"top\" nowrap>".
$class = $class == 'row_on' ? 'row_off' : 'row_on';
$content .= " <tr class=\"$class\">\n <td valign=\"top\" nowrap>".
($this->bo->printer_friendly?$icons:$GLOBALS['phpgw']->html->a_href($icons,$todo['view'])).
"</td>\n <td>".($this->bo->printer_friendly?$todo['title']:
$GLOBALS['phpgw']->html->a_href($todo['title'],$todo['view']))."</td>\n </tr>\n";
@ -1713,7 +1714,7 @@
if (!$is_private)
{
$max_chars = intval(6*$colspan/$intervals_per_day-2);
$max_chars = intval(3*$colspan/$intervals_per_day-2);
$min_chars = 3; // minimum for max_chars to display -> this should be configurable
if ($max_chars >= $min_chars)
@ -1769,7 +1770,7 @@
if (!$is_private)
{
$opt .= '" onClick="location=\''.$view.'\'" class="planner-cell"';
$opt .= '" onClick="location=\''.$view.'\'"';
$cel = '<a href="'.$view.'">';
}
else
@ -1777,6 +1778,7 @@
$opt .= '"';
$cel = '';
}
$opt .= ' class="planner-cell"';
if ($event['priority'] == 3)
{
@ -2553,7 +2555,7 @@
. ' .event-on { background: '.$this->theme['row_on'].'; color: '.$this->theme['bg_text'].'; font: 100% '.$this->theme['font'].'; vertical-align: middle }'."\n"
. ' .event-off { background: '.$this->theme['row_off'].'; color: '.$this->theme['bg_text'].'; font: 100% '.$this->theme['font'].'; vertical-align: middle }'."\n"
. ' .event-holiday { background: '.$this->theme['bg04'].'; color: '.$this->theme['bg_text'].'; font: 100% '.$this->theme['font'].'; vertical-align: middle }'."\n"
. ' .time { background: '.$this->theme['row_on'].'; color: '.$this->theme['bg_text'].'; font: bold 100% '.$this->theme['font'].'; width: '.$time_width.'%; vertical-align: middle; text-align: center; }'."\n"
. ' .time { background: '.$this->theme['th'].'; color: '.$this->theme['bg_text'].'; font: bold 100% '.$this->theme['font'].'; width: '.$time_width.'%; vertical-align: middle; text-align: center; }'."\n"
. ' .tablecell { width: 80px; height: 80px }'."\n"
. ' .planner-cell { cursor:pointer; cursor:hand; border: thin solid black; }';
}

View File

@ -36,8 +36,8 @@
'date' => date('Ymd',$GLOBALS['phpgw']->datetime->users_localtime)
);
// echo 'Local DateTime: '.date('Ymd H:i:s',$GLOBALS['phpgw']->datetime->users_localtime).'<br>'."\n";
//echo 'Local DateTime: '.date('Ymd H:i:s',$GLOBALS['phpgw']->datetime->users_localtime).'<br>'."\n";
Header('Location: '.$GLOBALS['phpgw']->link('/index.php',$parms));
$GLOBALS['phpgw']->redirect_link('/index.php',$parms);
$GLOBALS['phpgw']->common->phpgw_exit();
?>

View File

@ -23,9 +23,11 @@
</td>
</tr>
<tr>
<td>
<b>{lang_todos}</b>
<td align="center">
<div class="th">
<p style="margin: 0px; padding: 2px;"><b>{lang_todos}</b></p>
{todos}
</div>
</td>
</tr>
</table>

View File

@ -1,7 +1,9 @@
<!-- $Id$ -->
<!-- BEGIN day -->
<table width="100%" cellspacing="0" cellpadding="0">
<div class="th">
<table width="100%" cellspacing="0" cellpadding="0">
{row}
</div>
</table>
<!-- END day -->
<!-- BEGIN day_row -->