@@ -21,7 +21,7 @@ function node_help($section = "admin/help#node") {
$output.="<dt>Static on front page</dt><dd>The front page is configured to show the teasers from only a few of the total nodes you have on your site (To configure how many teasers %teaser), but if you think a node is important enough that you want it to stay on the front page enable this.</dd>";
$output.="<dt>Allow user comments</dt><dd>A node can have comments. These comments can be written by other users (Read-write), or only by admins (Read-only).</dd>";
$output.="<dt>Attributes</dt><dd>A way to sort nodes.</dd>";
$output.="<dt>Revisions</dt><dd>Drupal has a revision system so that you can \"roll back\" to an older version of a node if the new version is not what you want.</dd>";
$output.="<dt>Revisions</dt><dd>Drupal has a revision system so that you can \"roll back\" to an older version of a post if the new version is not what you want.</dd>";
$output.="<dt>Promote to front page</dt><dd>To get people to look at the new stuff on your site you can choose to move it to the front page.</dd>";
$output.="<dt>In moderation queue</dt><dd>Drupal has a moderation system. If it is active, a node is in one of three states: approved and published, approved and unpublished, and awaiting approval. If you are moderating a node it should be in the moderation queue.</dd>";
$output.="<dt>Votes</dt><dd>If you are moderating a node this counts how many votes the node has gotten. Once a node gets a certain number of vote if will either be approved or dropped.";
$rows[]=array(t("revision #%r revised by %u on %d",array("%r"=>$key,"%u"=>format_name(user_load(array("uid"=>$revision["uid"]))),"%d"=>format_date($revision["timestamp"],"small"))).($revision["history"]?"<br /><small>".$revision["history"]."</small>":""),l(t("view"),"node/view/$node->nid",array(),"revision=$key"),l(t("rollback"),"node/rollback-revision/$node->nid/$key"),l(t("delete"),"node/delete-revision/$node->nid/$key"));
}
$output.=table($header,$rows);
}
}
return$output;
}
/*
** Return the revision with the specified revision number.
*/
...
...
@@ -797,57 +805,65 @@ function node_revision_create($node) {
** Roll-back to the revision with the specified revision number.
@@ -21,7 +21,7 @@ function node_help($section = "admin/help#node") {
$output.="<dt>Static on front page</dt><dd>The front page is configured to show the teasers from only a few of the total nodes you have on your site (To configure how many teasers %teaser), but if you think a node is important enough that you want it to stay on the front page enable this.</dd>";
$output.="<dt>Allow user comments</dt><dd>A node can have comments. These comments can be written by other users (Read-write), or only by admins (Read-only).</dd>";
$output.="<dt>Attributes</dt><dd>A way to sort nodes.</dd>";
$output.="<dt>Revisions</dt><dd>Drupal has a revision system so that you can \"roll back\" to an older version of a node if the new version is not what you want.</dd>";
$output.="<dt>Revisions</dt><dd>Drupal has a revision system so that you can \"roll back\" to an older version of a post if the new version is not what you want.</dd>";
$output.="<dt>Promote to front page</dt><dd>To get people to look at the new stuff on your site you can choose to move it to the front page.</dd>";
$output.="<dt>In moderation queue</dt><dd>Drupal has a moderation system. If it is active, a node is in one of three states: approved and published, approved and unpublished, and awaiting approval. If you are moderating a node it should be in the moderation queue.</dd>";
$output.="<dt>Votes</dt><dd>If you are moderating a node this counts how many votes the node has gotten. Once a node gets a certain number of vote if will either be approved or dropped.";
$rows[]=array(t("revision #%r revised by %u on %d",array("%r"=>$key,"%u"=>format_name(user_load(array("uid"=>$revision["uid"]))),"%d"=>format_date($revision["timestamp"],"small"))).($revision["history"]?"<br /><small>".$revision["history"]."</small>":""),l(t("view"),"node/view/$node->nid",array(),"revision=$key"),l(t("rollback"),"node/rollback-revision/$node->nid/$key"),l(t("delete"),"node/delete-revision/$node->nid/$key"));
}
$output.=table($header,$rows);
}
}
return$output;
}
/*
** Return the revision with the specified revision number.
*/
...
...
@@ -797,57 +805,65 @@ function node_revision_create($node) {
** Roll-back to the revision with the specified revision number.