Add log message when viewing a revision

therainmakor - March 19, 2008 - 20:07
Project:Revision Moderation
Version:5.x-1.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have the need to see the log message when viewing a revision that hasn't been published without having to go to the revisions tab. I propose adding the following line of code to the revision_moderation.module file at line 153:

drupal_set_message(t('<strong>Log message: </strong> @log_message', array('@log_message', => $node->log)));

#1

therainmakor - March 19, 2008 - 20:12

Sorry about that, I added a comma where it shouldn't be so the following is correct:

drupal_set_message(t('<strong>Log message: </strong> @log_message', array('@log_message' => $node->log)));

 
 

Drupal is a registered trademark of Dries Buytaert.