/** * Returs available sticky notes if enabled * * @return string */ protected function loadStickyNotes() { $result = ''; if (isset($this->altCfg['STICKY_NOTES_ENABLED'])) { if ($this->altCfg['STICKY_NOTES_ENABLED']) { $stickyNotes = new StickyNotes(true); $result = $stickyNotes->renderTaskbarNotify(); } } return $result; }
if (isset($_COOKIE['tb_iconsize'])) { $currentsize = vf($_COOKIE['tb_iconsize'], 3); } else { $currentsize = $billing_config['TASKBAR_ICON_SIZE']; } $resizeinputs = wf_SelectorAC('iconsize', $iconsizes, '', $currentsize, false); $resizeform = wf_Form('', 'POST', $resizeinputs); if ($altconf['TB_ICONCUSTOMSIZE']) { $taskbar .= '<br>' . $resizeform; } // new tickets notify $ticketnotify = ''; show_window(__('Taskbar') . ' ' . $ticketnotify, $taskbar); //refresh IM container with notify if ($altconf['TB_UBIM']) { if ($altconf['TB_UBIM_REFRESH']) { if (cfr('UBIM')) { im_RefreshContainer($altconf['TB_UBIM_REFRESH']); } } } //sticky notes support if (isset($altconf['STICKY_NOTES_ENABLED'])) { if ($altconf['STICKY_NOTES_ENABLED']) { $stickyNotes = new StickyNotes(true); show_window('', $stickyNotes->renderTaskbarNotify()); } } } else { show_error(__('Access denied')); }