| version 1.1, 2005/04/20 21:13:15 |
version 1.2, 2005/07/18 21:25:56 |
|
|
| 'weekNumbers' => true, // Show week numbers |
'weekNumbers' => true, // Show week numbers |
| 'showsTime' => false, // Show time as well as date |
'showsTime' => false, // Show time as well as date |
| 'timeFormat' => '24', // 12 or 24 hour clock |
'timeFormat' => '24', // 12 or 24 hour clock |
| |
'button' => true, // Display button (rather then clickable area) |
| 'label' => '...', // button label (used by phpMyEdit) |
'label' => '...', // button label (used by phpMyEdit) |
| 'date' => '2003-12-19 10:00' // Initial date/time for popup |
'date' => '2003-12-19 10:00' // Initial date/time for popup |
| // (see notes below) |
// (see notes below) |
|
|
| |
|
| 2. Only the options listed above may be set by the user, any other |
2. Only the options listed above may be set by the user, any other |
| options will be ignored. |
options will be ignored. |
| |
|
| |
3. The 'label' option can contain HTML markup which will be displayed as |
| |
the button/clickable area to pull up the calendar |
| |
|
| SEARCH KEYWORD |
SEARCH KEYWORD |
| -------------- |
-------------- |
| Line 303 class phpMyEdit_mce_cal extends phpMyEdi |
|
| Line 307 class phpMyEdit_mce_cal extends phpMyEdi |
|
| } |
} |
| $cal_ar['button'] = $this->dhtml['prefix'].'calbutton_'.$this->fds[$k]; |
$cal_ar['button'] = $this->dhtml['prefix'].'calbutton_'.$this->fds[$k]; |
| $this->calendars[$this->fds[$k]] = $cal_ar; |
$this->calendars[$this->fds[$k]] = $cal_ar; |
| |
|
| $label = @$this->fdd[$k]['calendar']['label']; |
$label = @$this->fdd[$k]['calendar']['label']; |
| strlen($label) || $label = '...'; |
strlen($label) || $label = '...'; |
| echo '<button id="',$cal_ar['button'],'">',$label,'</button>'; |
|
| |
$do_button = true; |
| |
if (isset($this->fdd[$k]['calendar']['button'])) { |
| |
$do_button = $this->fdd[$k]['calendar']['button']; |
| |
}; |
| |
|
| |
if ($do_button) { |
| |
echo '<button id="',$cal_ar['button'],'">',$label,'</button>'; |
| |
} else { |
| |
echo '<span style="cursor: pointer" id="',$cal_ar['button'],'">',$label,'</span>'; |
| |
} |
| } |
} |
| } /* }}} */ |
} /* }}} */ |
| |
|