⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
kronolith
/
lib
/
FreeBusy
/
View
/
View File Name :
Day.php
* @author Jan Schneider
* @package Kronolith */ class Kronolith_FreeBusy_View_Day extends Kronolith_FreeBusy_View { public $view = 'day'; protected function _title() { global $prefs; $prev = new Horde_Date($this->_start); $prev->mday--; $next = new Horde_Date($this->_start); $next->mday++; return Horde::url('#')->link(array('title' => _("Previous Day"), 'onclick' => 'return switchDate(' . $prev->dateString() . ');')) . Horde::img('nav/left.png', '<') . '' . $this->_start->strftime($prefs->getValue('date_format')) . Horde::url('#')->link(array('title' => _("Next Day"), 'onclick' => 'return switchDate(' . $next->dateString() . ');')) . Horde::img('nav/right.png', '>') . ''; } protected function _hours() { global $prefs; $hours_html = ''; $width = round(100 / ($this->_endHour - $this->_startHour + 1)); $start = new Horde_Date($this->_start); $end = new Horde_Date($this->_start); $end->min = 59; for ($i = $this->_startHour; $i < $this->_endHour; $i++) { $start->hour = $end->hour = $i; $this->_timeBlocks[] = array(clone $start, clone $end); $hours_html .= '
' . $start->strftime($prefs->getValue('twentyFour') ? '%H:00' : '%I:00') . '
'; } return $hours_html; } protected function _render(Horde_Date $day = null) { $this->_start = new Horde_Date($day); $this->_start->hour = $this->_startHour; $this->_end = new Horde_Date($this->_start); $this->_end->hour = $this->_endHour; } }