/*** Since #48835 is a will not fix, we copy the function and make it work, else it is just a simple cut'n'paste*/function recent_topics_generate_pagination($base_url, $num_items, $per_page, $start_item, $add_prevnext_text = false, $tpl_prefix = '', $start_item_name = '', $anchor = ''){ global $template, $user;