Changeset 25018 for trunk/admin/comments.php
- Timestamp:
- Oct 19, 2013, 7:43:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/comments.php
r19703 r25018 42 42 if (empty($_POST['comments'])) 43 43 { 44 array_push( 45 $page['errors'], 46 l10n('Select at least one comment') 47 ); 44 $page['errors'][] = l10n('Select at least one comment'); 48 45 } 49 46 else … … 56 53 validate_user_comment($_POST['comments']); 57 54 58 array_push( 59 $page['infos'], 60 l10n_dec( 61 '%d user comment validated', '%d user comments validated', 62 count($_POST['comments']) 63 ) 55 $page['infos'][] = l10n_dec( 56 '%d user comment validated', '%d user comments validated', 57 count($_POST['comments']) 64 58 ); 65 59 } … … 69 63 delete_user_comment($_POST['comments']); 70 64 71 array_push( 72 $page['infos'], 73 l10n_dec( 74 '%d user comment rejected', '%d user comments rejected', 75 count($_POST['comments']) 76 ) 65 $page['infos'][] = l10n_dec( 66 '%d user comment rejected', '%d user comments rejected', 67 count($_POST['comments']) 77 68 ); 78 69 } … … 149 140 ); 150 141 151 array_push($list, $row['id']);142 $list[] = $row['id']; 152 143 } 153 144
Note: See TracChangeset
for help on using the changeset viewer.