Changeset 25018 for trunk/include/functions_notification.inc.php
- Timestamp:
- Oct 19, 2013, 7:43:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_notification.inc.php
r19703 r25018 207 207 while ($row = pwg_db_fetch_assoc($result)) 208 208 { 209 array_push($infos, $row);209 $infos[] = $row; 210 210 } 211 211 … … 370 370 $line = '<a href="'.$url.'">'.$line.'</a>'; 371 371 } 372 array_push($news, $line);372 $news[] = $line; 373 373 } 374 374 } … … 451 451 while ($row = pwg_db_fetch_assoc($result)) 452 452 { 453 array_push($dates, $row);453 $dates[] = $row; 454 454 } 455 455 … … 470 470 while ($row = pwg_db_fetch_assoc($result)) 471 471 { 472 array_push($dates[$i]['elements'], $row);472 $dates[$i]['elements'][] = $row; 473 473 } 474 474 } … … 490 490 while ($row = pwg_db_fetch_assoc($result)) 491 491 { 492 array_push($dates[$i]['categories'], $row);492 $dates[$i]['categories'][] = $row; 493 493 } 494 494 } … … 547 547 $description .= 548 548 '<li>' 549 .l10n_dec('%d album updated', '%d albums updated', 550 $date_detail['nb_cats']) 549 .l10n_dec('%d album updated', '%d albums updated', $date_detail['nb_cats']) 551 550 .'</li>'; 552 551 … … 558 557 .get_cat_display_name_cache($cat['uppercats']) 559 558 .' ('. 560 l10n_dec('%d new photo', 561 '%d new photos', $cat['img_count']).')' 559 l10n_dec('%d new photo', '%d new photos', $cat['img_count']).')' 562 560 .'</li>'; 563 561 }
Note: See TracChangeset
for help on using the changeset viewer.