Ticket #8315: 8315.patch
File 8315.patch, 2.1 KB (added by , 4 years ago) |
---|
-
src/bp-activity/bp-activity-admin.php
1171 1171 1172 1172 <?php // If the user has just made a change to an activity item, display the status messages. ?> 1173 1173 <?php if ( !empty( $messages ) ) : ?> 1174 <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?> "><p><?php echo implode( "<br/>\n", $messages ); ?></p></div>1174 <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?> notice is-dismissible"><p><?php echo implode( "<br/>\n", $messages ); ?></p></div> 1175 1175 <?php endif; ?> 1176 1176 1177 1177 <?php // Display each activity on its own row. ?> -
src/bp-groups/bp-groups-admin.php
606 606 607 607 <?php // If the user has just made a change to an group, display the status messages. ?> 608 608 <?php if ( !empty( $messages ) ) : ?> 609 <div id="moderated" class="<?php echo ( $is_error ) ? 'error' : 'updated'; ?> "><p><?php echo implode( "</p><p>", $messages ); ?></p></div>609 <div id="moderated" class="<?php echo ( $is_error ) ? 'error' : 'updated'; ?> notice is-dismissible"><p><?php echo implode( "</p><p>", $messages ); ?></p></div> 610 610 <?php endif; ?> 611 611 612 612 <?php if ( $group->id ) : ?> … … 801 801 802 802 <?php // If the user has just made a change to an group, display the status messages. ?> 803 803 <?php if ( !empty( $messages ) ) : ?> 804 <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?> "><p><?php echo implode( "<br/>\n", $messages ); ?></p></div>804 <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?> notice is-dismissible"><p><?php echo implode( "<br/>\n", $messages ); ?></p></div> 805 805 <?php endif; ?> 806 806 807 807 <?php // Display each group on its own row. ?>