You are here

function theme_privatemsg_links in Privatemsg 5

Same name and namespace in other branches
  1. 5.3 privatemsg.module \theme_privatemsg_links()
1 theme call to theme_privatemsg_links()
privatemsg_view in ./privatemsg.module
Display a private message to a user.

File

./privatemsg.module, line 2349

Code

function theme_privatemsg_links($previous_link, $next_link) {
  $output = "<div class=\"privatemsg-nav-links\">";
  $output .= $next_link ? "<div class=\"next\">{$next_link}</div>" : '';
  $output .= $previous_link ? "<div class=\"previous\">{$previous_link}</div>" : '';
  $output .= "</div>";
  return $output;
}