Index: avatar_selection.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/avatar_selection/avatar_selection.module,v retrieving revision 1.1.2.20.2.29 diff -u -p -r1.1.2.20.2.29 avatar_selection.module --- avatar_selection.module 7 Jul 2008 14:10:31 -0000 1.1.2.20.2.29 +++ avatar_selection.module 10 Jul 2008 16:02:54 -0000 @@ -1184,9 +1184,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 = '