I want to insert a line between the listed events in the monthly view like this...
http://www.peak.ne.jp/xoops/uploads/photos/thumbs/7.jpgIs it in the piCal.php file? Or can i change it in one of the templates?
Please forgive my bad english.
migoe
hi migoe.
You can hack it like this.
line 1051 of piCal.php
if( $bit > 0 && $bit <= 4 ) {
// 長期イベント配列にあれば該当ビットを立て、legends配列に登録
$long_event |= 1 << ( $bit - 1 ) ;
$this->long_event_legends[ $bit ] = $event_str_tmp ;
} else if( $event->allday & 4 ) {
// 記念日フラグが立っていたら、$holiday_colorにして、一番上に持ってくる
$event_str_tmp = str_replace( " style='" , " style='color:$this->holiday_color;" , $event_str_tmp ) ;
$event_str = "$event_str_tmp<br /><hr />\n$event_str" ;
} else {
// なければ、日付マス内に描画
$event_str .= $event_str_tmp . "<br /><hr />\n" ;
}
Since to output monthly calender's body is quite complex, I've not templatized it yet. sorry.
Thank you very much!
That is what i'm looking for
migoe