You are here

function advanced_forum_forum_topic_list_sort in Advanced Forum 6.2

Same name and namespace in other branches
  1. 7.2 advanced_forum.module \advanced_forum_forum_topic_list_sort()

Display the "sort" widget. This is a specially hacked widget that only works with tablesorting. Tablesorting MUST be on for these widgets to appear.

2 calls to advanced_forum_forum_topic_list_sort()
advanced_forum.naked.topic-list-outer-view.tpl.php in styles/naked/advanced_forum.naked.topic-list-outer-view.tpl.php
views-view.tpl.php Main view template
advanced_forum_forum_topic_list_sort_content_type_render in plugins/content_types/forum_topic_list_sort.inc
Render the content.

File

./advanced_forum.module, line 636
Enables the look and feel of other popular forum software.

Code

function advanced_forum_forum_topic_list_sort() {
  $form_state = array(
    'method' => 'get',
    'no_redirect' => TRUE,
    'rerender' => TRUE,
    'input' => $_GET,
    'drop tokens' => TRUE,
  );
  ctools_include('form');
  return ctools_build_form('advanced_forum_forum_topic_list_sort_form', $form_state);
}