Only in content_moderation_ui: content_moderation.admin.inc
diff content_moderation\content_moderation.module content_moderation_ui\content_moderation.module
32a33,41
>   // Module settings.
>   $items["admin/settings/content_moderation"] = array(
>       'title' => 'Content moderation',
>       'description' => t('Adjust content moderation settings.'),
>       'page callback' => 'drupal_get_form',
>       'page arguments' => array('content_moderation_admin_settings'),
>       'access arguments' => array('administer site configuration'),
>       'file' => 'content_moderation.admin.inc',
>   );
200,207c209,219
<       if ($node->vid != $live_vid) {
<         // Get username for the revision rather than the original node.
<         $revision_author = user_load($node->revision_uid);
<         drupal_set_message(
<           t('The revision of this node has been created on @date by !author.',
<             array(
<              '@date'=> format_date($node->revision_timestamp, 'small'),
<              '!author'=> theme('username', $revision_author)
---
>       global $user;
>       if ( $user->uid == 1 ) {
>         if ($node->vid != $live_vid) {
>           // Get username for the revision rather than the original node.
>           $revision_author = user_load($node->revision_uid);
>           drupal_set_message(
>             t('The revision of this node has been created on @date by !author.',
>               array(
>                '@date'=> format_date($node->revision_timestamp, 'small'),
>                '!author'=> theme('username', $revision_author)
>               )
209,217c221,229
<           )
<         );
<       }
<       else {
<         $count = db_result(db_query('select count(vid) from {node_revisions} where vid>%d and nid=%d',$node->vid,$node->nid));
<         if($count == 1)
<           drupal_set_message(t('This document has 1 pending revision',array('@count' => $count)));
<         else if($count > 1) {
<           drupal_set_message(t('This document has @count pending revisions',array('@count' => $count)));
---
>           );
>         }
>         else {
>           $count = db_result(db_query('select count(vid) from {node_revisions} where vid>%d and nid=%d',$node->vid,$node->nid));
>           if($count == 1)
>             drupal_set_message(t('This document has 1 pending revision',array('@count' => $count)));
>           else if($count > 1) {
>             drupal_set_message(t('This document has @count pending revisions',array('@count' => $count)));
>           }
234c246
<   $rigths = array();
---
>   $rights = array();
241c253
<           $rigths[] = "content moderation $type state $from_state to $to_state";
---
>           $rights[] = "content moderation $type state $from_state to $to_state";
244c256
<     $rigths[] = "content moderation view $type moderation history";
---
>     $rights[] = "content moderation view $type moderation history";
247c259
<   return $rigths;
---
>   return $rights;
496c508
< function _content_moderation_access($op,$node) {
---
> function _content_moderation_access($op,$node,$account = NULL) {
508c520,522
<       return _content_moderation_moderate_node_type($node->type) && user_access("content moderation view {$node->type} moderation history",$account);
---
>        $type = $node->type;
>        $right = "content moderation view $type moderation history";
>        return user_access($right,$account);
Common subdirectories: content_moderation\css and content_moderation_ui\css
Common subdirectories: content_moderation\translations and content_moderation_ui\translations
