You are here

function _comment_per_page in Drupal 4

Same name and namespace in other branches
  1. 5 modules/comment/comment.module \_comment_per_page()
  2. 6 modules/comment/comment.module \_comment_per_page()
  3. 7 modules/comment/comment.module \_comment_per_page()

Return an array of "comments per page" settings from which the user can choose.

2 calls to _comment_per_page()
comment_configure in modules/comment.module
Menu callback; presents the comment settings page.
comment_controls in modules/comment.module

File

modules/comment.module, line 1675
Enables users to comment on published content.

Code

function _comment_per_page() {
  return drupal_map_assoc(array(
    10,
    30,
    50,
    70,
    90,
    150,
    200,
    250,
    300,
  ));
}