Changeset 22695
- Timestamp:
- 11/04/08 20:30:46 (5 years ago)
- Location:
- websites/psuke/public_html/psuke
- Files:
-
- 2 modified
-
catalog.pl (modified) (10 diffs)
-
kakolog.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
websites/psuke/public_html/psuke/catalog.pl
r22552 r22695 255 255 push (@page_num_from_loop, {page_num => $i}); 256 256 if ($i == $page_num_from) 257 { $page_num_from_loop[-1]{selected} = 'selected '; }257 { $page_num_from_loop[-1]{selected} = 'selected="selected"'; } 258 258 } 259 259 if ($hidden) … … 261 261 push (@page_num_from_loop, {page_num => -1, hidden => 1}); 262 262 if ($page_num_from == -1) 263 { $page_num_from_loop[-1]{selected} = 'selected '; }263 { $page_num_from_loop[-1]{selected} = 'selected="selected"'; } 264 264 } 265 265 $tmpl->param(page_num_from_loop => \@page_num_from_loop); … … 274 274 push (@page_num_to_loop, {page_num => $i}); 275 275 if ($i == $page_num_to) 276 { $page_num_to_loop[-1]{selected} = 'selected '; }276 { $page_num_to_loop[-1]{selected} = 'selected="selected"'; } 277 277 } 278 278 if ($hidden) … … 280 280 push (@page_num_to_loop, {page_num => -1, hidden => 1}); 281 281 if ($page_num_to == -1) 282 { $page_num_to_loop[-1]{selected} = 'selected '; }282 { $page_num_to_loop[-1]{selected} = 'selected="selected"'; } 283 283 } 284 284 $tmpl->param(page_num_to_loop => \@page_num_to_loop); … … 313 313 push (@year_from_loop, {year => $i}); 314 314 if ($i == $year_from) 315 { $year_from_loop[-1]{selected} = 'selected '; }315 { $year_from_loop[-1]{selected} = 'selected="selected"'; } 316 316 } 317 317 my @month_from_loop; … … 325 325 push (@month_from_loop, {month => $month}); 326 326 if ($month == $month_from) 327 { $month_from_loop[-1]{selected} = 'selected '; }327 { $month_from_loop[-1]{selected} = 'selected="selected"'; } 328 328 } 329 329 my @day_from_loop; … … 332 332 push (@day_from_loop, {day => $day}); 333 333 if ($day == $day_from) 334 { $day_from_loop[-1]{selected} = 'selected '; }334 { $day_from_loop[-1]{selected} = 'selected="selected"'; } 335 335 } 336 336 $tmpl->param(year_from_loop => \@year_from_loop, … … 350 350 push (@year_to_loop, {year => $i}); 351 351 if ($i == $year_to) 352 { $year_to_loop[-1]{selected} = 'selected '; }352 { $year_to_loop[-1]{selected} = 'selected="selected"'; } 353 353 } 354 354 my @month_to_loop; … … 362 362 push (@month_to_loop, {month => $month}); 363 363 if ($month == $month_to) 364 { $month_to_loop[-1]{selected} = 'selected '; }364 { $month_to_loop[-1]{selected} = 'selected="selected"'; } 365 365 } 366 366 my @day_to_loop; … … 369 369 push (@day_to_loop, {day => $day}); 370 370 if ($day == $day_to) 371 { $day_to_loop[-1]{selected} = 'selected '; }371 { $day_to_loop[-1]{selected} = 'selected="selected"'; } 372 372 } 373 373 $tmpl->param(year_to_loop => \@year_to_loop, -
websites/psuke/public_html/psuke/kakolog.pl
r22552 r22695 203 203 push (@year_from_loop, {year => $i}); 204 204 if ($i == $year_from) 205 { $year_from_loop[-1]{selected} = 'selected '; }205 { $year_from_loop[-1]{selected} = 'selected="selected"'; } 206 206 } 207 207 my @month_from_loop; … … 215 215 push (@month_from_loop, {month => $month}); 216 216 if ($month == $month_from) 217 { $month_from_loop[-1]{selected} = 'selected '; }217 { $month_from_loop[-1]{selected} = 'selected="selected"'; } 218 218 } 219 219 my @day_from_loop; … … 222 222 push (@day_from_loop, {day => $day}); 223 223 if ($day == $day_from) 224 { $day_from_loop[-1]{selected} = 'selected '; }224 { $day_from_loop[-1]{selected} = 'selected="selected"'; } 225 225 } 226 226 $tmpl->param(year_from_loop => \@year_from_loop, … … 240 240 push (@year_to_loop, {year => $i}); 241 241 if ($i == $year_to) 242 { $year_to_loop[-1]{selected} = 'selected '; }242 { $year_to_loop[-1]{selected} = 'selected="selected"'; } 243 243 } 244 244 my @month_to_loop; … … 252 252 push (@month_to_loop, {month => $month}); 253 253 if ($month == $month_to) 254 { $month_to_loop[-1]{selected} = 'selected '; }254 { $month_to_loop[-1]{selected} = 'selected="selected"'; } 255 255 } 256 256 my @day_to_loop; … … 259 259 push (@day_to_loop, {day => $day}); 260 260 if ($day == $day_to) 261 { $day_to_loop[-1]{selected} = 'selected '; }261 { $day_to_loop[-1]{selected} = 'selected="selected"'; } 262 262 } 263 263 $tmpl->param(year_to_loop => \@year_to_loop,
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)