equal
deleted
inserted
replaced
990 |
990 |
991 $n = ( $session->get_permissions('mod_comments')) ? $db->numrows() : $num_app; |
991 $n = ( $session->get_permissions('mod_comments')) ? $db->numrows() : $num_app; |
992 |
992 |
993 $subst = array( |
993 $subst = array( |
994 'num_comments' => $n, |
994 'num_comments' => $n, |
995 'page_type' => '<FIXME> whatever' |
995 'page_type' => $template->namespace_string |
996 ); |
996 ); |
997 |
997 |
998 $_ob .= '<p>'; |
998 $_ob .= '<p>'; |
999 $_ob .= ( $n == 0 ) ? $lang->get('comment_msg_count_zero', $subst) : ( $n == 1 ? $lang->get('comment_msg_count_one', $subst) : $lang->get('comment_msg_count_plural', $subst) ); |
999 $_ob .= ( $n == 0 ) ? $lang->get('comment_msg_count_zero', $subst) : ( $n == 1 ? $lang->get('comment_msg_count_one', $subst) : $lang->get('comment_msg_count_plural', $subst) ); |
1000 |
1000 |