- Timestamp:
- 05/25/13 05:16:20 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
schedule/Module/calendar.php
r16247 r16248 176 176 for(var ConTime=1;ConTime<HourTime.length-1;ConTime++) 177 177 { 178 if(HourTime[ConTime]==0) 179 { 180 if(MinTime[ConTime]==8) 181 { 182 Time.push(HourTime[ConTime]+24+'.'+'.08'); 183 } 184 else 185 Time.push(HourTime[ConTime]+24+'.'+MinTime[ConTime]); 178 if(HourTime[ConTime]==undefined) 179 { 180 181 } 182 else if(HourTime[ConTime]==0) 183 { 184 if(MinTime[ConTime]==8) 185 { 186 Time[[ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 187 } 188 else 189 Time[[ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 186 190 } 187 191 else if(HourTime[ConTime]==1) … … 189 193 if(MinTime[ConTime]==8) 190 194 { 191 Time .push(HourTime[ConTime]+24+'.'+'.08');192 } 193 else 194 Time .push(HourTime[ConTime]+24+'.'+MinTime[ConTime]);195 Time[[ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 196 } 197 else 198 Time[[ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 195 199 } 196 200 else if(HourTime[ConTime]==2) … … 198 202 if(MinTime[ConTime]==8) 199 203 { 200 Time .push(HourTime[ConTime]+24+'.'+'.08');201 } 202 else 203 Time .push(HourTime[ConTime]+24+'.'+MinTime[ConTime]);204 Time[[ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 205 } 206 else 207 Time[[ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 204 208 } 205 209 else if(HourTime[ConTime]==3) … … 207 211 if(MinTime[ConTime]==8) 208 212 { 209 Time .push(HourTime[ConTime]+24+'.'+'.08');210 } 211 else 212 Time .push(HourTime[ConTime]+24+'.'+MinTime[ConTime]);213 Time[[ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 214 } 215 else 216 Time[[ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 213 217 } 214 218 else if(HourTime[ConTime]==4) … … 216 220 if(MinTime[ConTime]==8) 217 221 { 218 Time .push(HourTime[ConTime]+24+'.'+'.08');219 } 220 else 221 Time .push(HourTime[ConTime]+24+'.'+MinTime[ConTime]);222 Time[[ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 223 } 224 else 225 Time[[ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 222 226 } 223 227 else if(HourTime[ConTime]==5) … … 225 229 if(MinTime[ConTime]==8) 226 230 { 227 Time .push(HourTime[ConTime]+24+'.'+'.08');228 } 229 else 230 Time .push(HourTime[ConTime]+24+'.'+MinTime[ConTime]);231 Time[[ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 232 } 233 else 234 Time[[ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 231 235 } 232 236 else if(HourTime[ConTime]==6) … … 234 238 if(MinTime[ConTime]==8) 235 239 { 236 Time .push(HourTime[ConTime]+24+'.'+'.08');237 } 238 else 239 Time .push(HourTime[ConTime]+24+'.'+MinTime[ConTime]);240 Time[[ConTime]]=HourTime[ConTime]+24+'.'+'.08'; 241 } 242 else 243 Time[[ConTime]]=HourTime[ConTime]+24+'.'+MinTime[ConTime]; 240 244 } 241 245 else 242 Time .push(HourTime[ConTime]+'.'+MinTime[ConTime]);246 Time[[ConTime]]=HourTime[ConTime]+'.'+MinTime[ConTime]; 243 247 244 248 } … … 306 310 307 311 marker : { 308 enabled: false312 enabled:true 309 313 } 310 314 }
Note:
See TracChangeset
for help on using the changeset viewer.