コード例 #1
0
ファイル: Calendar.php プロジェクト: bpeh/PHP-Quick-Calendar
 /**
  * Overwrite parent html footer.
  */
 function createFooter()
 {
     // register default footer view var
     parent::createFooter();
     $view = array();
     $view['todayLink'] = "displayQCalendar('{$this->theme}', '{$this->divCalendar}', '{$this->divLongDesc}', '{$this->day}', '{$this->today['month']}','{$this->today['year']}', '{$this->cat_id}')";
     $view['todayText'] = $this->today['day'] . ' ' . date('M', mktime(0, 0, 0, $this->today['month'], 1, $this->today['year'])) . ' ' . $this->today['year'];
     // register view variable
     $this->registerView($view);
 }
コード例 #2
0
ファイル: Calendar.php プロジェクト: bpeh/PHP-Quick-Calendar
 /**
  * Overwrite parent html footer.
  */
 function createFooter()
 {
     // register default footer view var
     parent::createFooter();
     $view = array();
     $view['prevMonth'] = "<a href=\"javascript:;\" onclick=\"displayQCalendar('{$this->theme}', '{$this->divCalendar}', '{$this->divLongDesc}', '{$this->day}', '{$this->prevMonth}','{$this->pYear}', '{$this->cat_id}')\" class='headerNav' title='Prev Month'><img src=\"" . QCALENDAR_WEB_PATH . "/themes/{$this->theme}/images/prev.gif\"></a>";
     $view['nextMonth'] = "<a href=\"javascript:;\" onclick=\"displayQCalendar('{$this->theme}', '{$this->divCalendar}', '{$this->divLongDesc}', '{$this->day}', '{$this->nextMonth}','{$this->lYear}', '{$this->cat_id}')\" class='headerNav' title='Next Month'><img src=\"" . QCALENDAR_WEB_PATH . "/themes/{$this->theme}/images/next.gif\"></a>";
     // register view variable
     $this->registerView($view);
 }
コード例 #3
0
ファイル: Calendar.php プロジェクト: bpeh/PHP-Quick-Calendar
 /**
  * Overwrite parent html footer.
  */
 function createFooter()
 {
     // register default footer view var
     parent::createFooter();
 }