mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
calender update from Andy
This commit is contained in:
parent
8c7ab0d520
commit
4d9d50fc09
@ -448,7 +448,7 @@
|
||||
),
|
||||
'categories' => array(
|
||||
'function' => 'categories',
|
||||
'signature' => array(array(xmlrpcBoolean,xmlrpcBoolean)),
|
||||
'signature' => array(array(xmlrpcStruct,xmlrpcStruct)),
|
||||
'docstring' => lang('List all categories.')
|
||||
),
|
||||
);
|
||||
@ -1024,10 +1024,6 @@
|
||||
{
|
||||
if (!$send_to_ui)
|
||||
{
|
||||
if ($this->xmlrpc)
|
||||
{
|
||||
$GLOBALS['server']->xmlrpc_error($GLOBALS['xmlrpcerr']['incorrect_params'],$GLOBALS['xmlrpcstr']['incorrect_params']);
|
||||
}
|
||||
return array($datetime_check => 'invalid input data');
|
||||
}
|
||||
ExecMethod('calendar.uicalendar.edit',
|
||||
@ -1567,10 +1563,13 @@
|
||||
{
|
||||
return 'private';
|
||||
}
|
||||
// elseif(strlen($event[$field]) > 19 && !$this->printer_friendly)
|
||||
elseif(strlen($event[$field]) > 19 && $this->printer_friendly)
|
||||
|
||||
//NDEE: cutting off too long entries 140304
|
||||
//ToDo: calculate length based on client window
|
||||
elseif(strlen($event[$field]) > 19 && !$this->printer_friendly)
|
||||
// elseif(strlen($event[$field]) > 19 && $this->printer_friendly)
|
||||
{
|
||||
return substr($event[$field], 0 , 19) . '...';
|
||||
return substr($event[$field], 0 , 19) . ' <span class="to_continue">[...]</span>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user