501c501,504 function _questions_top($node, $back_to_top, $tid, &$questions, &$answers) { $anchor = $tid . "n" . $node->nid; - $this_page = ltrim(request_uri(), "/"); + $this_page = 'faq'; + if (arg(0) == 'faq' && is_numeric(arg(1))) { + $this_page .= "/" . arg(1); + } $questions .= "
  • " . l(t($node->title), $this_page, NULL, NULL, $anchor) . "
  • "; $answers .= "
    " . l(t($node->title), "node/$node->nid", array("name" => "$anchor")) . "
    "; $answers .= "
    " . t($node->body) . $back_to_top . "
    "; return; }