Remove col wrapper

This commit is contained in:
danwin1210 committed 2026-09-23 23:44:45 +02:00
1 parent f3c4e33364
commit 4d8a7957d0
1 file changed
+1 -3
+1 -3
View File
@@ -470,8 +470,7 @@ function render_admin_pagination( string $action, int $page, int $totalPages ):
return; return;
} }
$base = '?action=' . rawurlencode( $action ); $base = '?action=' . rawurlencode( $action );
echo '<div class="row" style="margin-top: 1rem;">'; echo '<div class="row">';
echo '<div class="col" style="text-align: center;">';
if ( $page > 1 ) { if ( $page > 1 ) {
echo '<a href="' . $base . '&page=' . ( $page - 1 ) . '">' . htmlspecialchars( _('Previous') ) . '</a> '; echo '<a href="' . $base . '&page=' . ( $page - 1 ) . '">' . htmlspecialchars( _('Previous') ) . '</a> ';
} }
@@ -486,7 +485,6 @@ function render_admin_pagination( string $action, int $page, int $totalPages ):
echo ' <a href="' . $base . '&page=' . ( $page + 1 ) . '">' . htmlspecialchars( _('Next') ) . '</a>'; echo ' <a href="' . $base . '&page=' . ( $page + 1 ) . '">' . htmlspecialchars( _('Next') ) . '</a>';
} }
echo '</div>'; echo '</div>';
echo '</div>';
} }
function send_manage_admins(): void function send_manage_admins(): void