Make some old code that returns HTML unused, then remove it

This commit is contained in:
Nathan Gray 2016-05-02 15:26:56 +00:00
parent 86c86fab9f
commit cbb2d73b98
3 changed files with 2 additions and 1754 deletions

View File

@ -1771,10 +1771,6 @@ class calendar_uiforms extends calendar_ui
// Setup history tab // Setup history tab
$this->setup_history($content, $sel_options); $this->setup_history($content, $sel_options);
//echo "content="; _debug_array($content);
//echo "preserv="; _debug_array($preserved);
//echo "readonlys="; _debug_array($readonlys);
//echo "sel_options="; _debug_array($sel_options);
$GLOBALS['egw_info']['flags']['app_header'] = lang('calendar') . ' - ' $GLOBALS['egw_info']['flags']['app_header'] = lang('calendar') . ' - '
. (!$event['id'] ? lang('Add') . (!$event['id'] ? lang('Add')
: ($view ? ($content['edit_single'] ? lang('View exception') : ($content['recur_type'] ? lang('View series') : lang('View'))) : ($view ? ($content['edit_single'] ? lang('View exception') : ($content['recur_type'] ? lang('View series') : lang('View')))

File diff suppressed because it is too large Load Diff

View File

@ -143,9 +143,6 @@ class home_link_portlet extends home_portlet
// Use calendar hover for calendar // Use calendar hover for calendar
if($this->context['entry']['app'] == 'calendar') if($this->context['entry']['app'] == 'calendar')
{ {
$cal_ui = new calendar_uiviews();
$ug = $cal_ui->eventWidget($record->get_record_array(), $this->context['width'] * 50,'',0,true);
$content['tooltip'] = htmlspecialchars_decode($ug['tooltip']);
$etemplate->setElementAttribute('tooltip','class', 'tooltip calendar_uitooltip'); $etemplate->setElementAttribute('tooltip','class', 'tooltip calendar_uitooltip');
} }
if($content['image'] == false) if($content['image'] == false)