update on the UI

This commit is contained in:
Ralf Becker 2003-09-08 00:23:09 +00:00
parent 5f68c3f3b8
commit 8bba3699b5
2 changed files with 5 additions and 5 deletions

View File

@ -1293,7 +1293,7 @@
'print' => $print, 'print' => $print,
'lang_todos' => $todo_label, 'lang_todos' => $todo_label,
'todos' => $this->bo->printer_friendly ? $todos : 'todos' => $this->bo->printer_friendly ? $todos :
"<div style=\"overflow: auto; height: 200px\">\n$todos</div>\n" "<div style=\"overflow: auto; max-height: 200px\">\n$todos</div>\n"
); );
$p->set_var($var); $p->set_var($var);
@ -1312,14 +1312,14 @@
)); ));
$content = $todo_label = ''; $content = $todo_label = '';
if (is_array($todos_from_hook)) if (is_array($todos_from_hook) && count($todos_from_hook))
{ {
$todo_label = lang("open ToDo's:");
foreach($todos_from_hook as $todos) foreach($todos_from_hook as $todos)
{ {
if (is_array($todos) && count($todos)) if (is_array($todos) && count($todos))
{ {
$todo_label = lang("open ToDo's:");
if (!is_object($GLOBALS['phpgw']->html)) if (!is_object($GLOBALS['phpgw']->html))
{ {
$GLOBALS['phpgw']->html = CreateObject('calendar.html'); $GLOBALS['phpgw']->html = CreateObject('calendar.html');

View File

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