PEAK XOOPS - Where can i make this... in englishin japanese

Where can i make this...

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/23 5:53
migoe  企霹始   Posts: 8
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.jpg

Is it in the piCal.php file? Or can i change it in one of the templates?

Please forgive my bad english.

migoe
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2004/4/24 16:46
GIJOE  黎扦烦菱   Posts: 4110
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.
Votes:2 Average:5.00
Previous post - Next post | Parent - No child | Posted on 2004/4/24 16:55
migoe  企霹始   Posts: 8
Thank you very much!

That is what i'm looking for

migoe
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!