function theme_new_page in Frequently Asked Questions 5
1 theme call to theme_new_page()
- faq_page in ./
faq.module - Function to display the faq page
File
- ./
faq.module, line 1460
Code
function theme_new_page($result) {
$items = array();
while ($node = db_fetch_object($result)) {
$node_obj = node_load($node->nid);
if (node_access("view", $node_obj)) {
$items[] = l($node->title, "node/{$node->nid}");
}
}
$list_style = variable_get('faq_question_listing', 'ul');
$output .= theme('item_list', $items, NULL, $list_style, array(
"class" => "faq_question_listing",
));
return $output;
}