You are here

function user_rev_diff_inline_show in User Revision 7.2

Same name in this branch
  1. 7.2 diff/user_rev_diff.api.php \user_rev_diff_inline_show()
  2. 7.2 diff/user_rev_diff.pages.inc \user_rev_diff_inline_show()

Show the inline diff for a given user, vid. If vid = 0 or no previous vid exists for the given revision returns the normally rendered content of the specified revision. If metadata is TRUE a header will be added with a legend explaining the color code. This function returns HTML code

2 calls to user_rev_diff_inline_show()
user_rev_diff_inline_ajax in diff/user_rev_diff.module
AJAX callback for rendering the inline diff of a user.
user_rev_diff_user_view_alter in diff/user_rev_diff.module
Implementation of hook_user_view_alter().

File

diff/user_rev_diff.api.php, line 88
API functions for the user_rev_diff module. WARNING: Do NOT include this file ANYWHERE. This file is only used to have all API functions in one place for documentation purposed. If this file is included you will get error messages, possibly fatal…

Code

function user_rev_diff_inline_show($user, $vid = 0, $metadata = TRUE) {
}