Index: avatar_selection.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/avatar_selection/avatar_selection.module,v retrieving revision 1.1.2.22.2.43 diff -u -p -r1.1.2.22.2.43 avatar_selection.module --- avatar_selection.module 7 Jul 2008 14:07:41 -0000 1.1.2.22.2.43 +++ avatar_selection.module 10 Jul 2008 15:59:47 -0000 @@ -549,9 +549,9 @@ function theme_avatar_selection_pager($f // Calculate various markers within this pager piece: // Middle is used to "center" pages around the current page. - $middle_page = ceil($total_pages / 2); + $middle_page = 5; $first_page = $current_page - $middle_page + 1; - $last_page = $current_page + $total_pages - $middle_page; + $last_page = $current_page + $middle_page + 1; $output = '