$info["description"]=t("A blog is a regularly updated journal made up of individual entries, often called posts, that are time stamped and typically arranged by the day, with the newest on top (a diary is the reverse). They tend to be quite personal, often containing links to things you've seen, or to editorials that you find interesting. Some blogs also contain original material written solely for the blog. Since a Blog is personal, you and only you have full control over what you publish. The most interesting blog entries or those blog entries that fit the site's topic well might get promoted to the front page by the community or by users with the access do this.");
return$info[$field];
}
}
functionblog_perm(){
functionblog_perm(){
...
@@ -85,6 +80,9 @@ function blog_help($section) {
...
@@ -85,6 +80,9 @@ function blog_help($section) {
case'node/add/blog':
case'node/add/blog':
$output=variable_get('blog_help','');
$output=variable_get('blog_help','');
break;
break;
case'node/add#blog':
$output=t("A blog is a regularly updated journal made up of individual entries, often called posts, that are time stamped and typically arranged by the day, with the newest on top (a diary is the reverse). They tend to be quite personal, often containing links to things you've seen, or to editorials that you find interesting. Some blogs also contain original material written solely for the blog. Since a Blog is personal, you and only you have full control over what you publish. The most interesting blog entries or those blog entries that fit the site's topic well might get promoted to the front page by the community or by users with the access do this.");
$info["description"]=t("A blog is a regularly updated journal made up of individual entries, often called posts, that are time stamped and typically arranged by the day, with the newest on top (a diary is the reverse). They tend to be quite personal, often containing links to things you've seen, or to editorials that you find interesting. Some blogs also contain original material written solely for the blog. Since a Blog is personal, you and only you have full control over what you publish. The most interesting blog entries or those blog entries that fit the site's topic well might get promoted to the front page by the community or by users with the access do this.");
return$info[$field];
}
}
functionblog_perm(){
functionblog_perm(){
...
@@ -85,6 +80,9 @@ function blog_help($section) {
...
@@ -85,6 +80,9 @@ function blog_help($section) {
case'node/add/blog':
case'node/add/blog':
$output=variable_get('blog_help','');
$output=variable_get('blog_help','');
break;
break;
case'node/add#blog':
$output=t("A blog is a regularly updated journal made up of individual entries, often called posts, that are time stamped and typically arranged by the day, with the newest on top (a diary is the reverse). They tend to be quite personal, often containing links to things you've seen, or to editorials that you find interesting. Some blogs also contain original material written solely for the blog. Since a Blog is personal, you and only you have full control over what you publish. The most interesting blog entries or those blog entries that fit the site's topic well might get promoted to the front page by the community or by users with the access do this.");
$info["description"]=t("A book is a collaborative writing effort: users can collaborate writing the pages of the book, positioning the pages in the right order, and reviewing or modifying pages previously written. So when you have some information to share or when you read a page of the book and you didn't like it, or if you think a certain page could have been written better, you can do something about it.");
return$info[$field];
}
}
functionbook_perm(){
functionbook_perm(){
...
@@ -901,6 +896,9 @@ function book_help($section = "admin/help#book") {
...
@@ -901,6 +896,9 @@ function book_help($section = "admin/help#book") {
case'admin/node/book/orphan':
case'admin/node/book/orphan':
$output=t("Pages in a book are like a tree. As pages are edited, reorganized and removed, child pages might be left with no link to the rest of the book. Such pages are refered to as 'orphan pages'. On this page, administrators can review their books for orphans and reattach those pages as desired.");
$output=t("Pages in a book are like a tree. As pages are edited, reorganized and removed, child pages might be left with no link to the rest of the book. Such pages are refered to as 'orphan pages'. On this page, administrators can review their books for orphans and reattach those pages as desired.");
break;
break;
case'node/add#book':
$output=t("A book is a collaborative writing effort: users can collaborate writing the pages of the book, positioning the pages in the right order, and reviewing or modifying pages previously written. So when you have some information to share or when you read a page of the book and you didn't like it, or if you think a certain page could have been written better, you can do something about it.");
$info["description"]=t("A book is a collaborative writing effort: users can collaborate writing the pages of the book, positioning the pages in the right order, and reviewing or modifying pages previously written. So when you have some information to share or when you read a page of the book and you didn't like it, or if you think a certain page could have been written better, you can do something about it.");
return$info[$field];
}
}
functionbook_perm(){
functionbook_perm(){
...
@@ -901,6 +896,9 @@ function book_help($section = "admin/help#book") {
...
@@ -901,6 +896,9 @@ function book_help($section = "admin/help#book") {
case'admin/node/book/orphan':
case'admin/node/book/orphan':
$output=t("Pages in a book are like a tree. As pages are edited, reorganized and removed, child pages might be left with no link to the rest of the book. Such pages are refered to as 'orphan pages'. On this page, administrators can review their books for orphans and reattach those pages as desired.");
$output=t("Pages in a book are like a tree. As pages are edited, reorganized and removed, child pages might be left with no link to the rest of the book. Such pages are refered to as 'orphan pages'. On this page, administrators can review their books for orphans and reattach those pages as desired.");
break;
break;
case'node/add#book':
$output=t("A book is a collaborative writing effort: users can collaborate writing the pages of the book, positioning the pages in the right order, and reviewing or modifying pages previously written. So when you have some information to share or when you read a page of the book and you didn't like it, or if you think a certain page could have been written better, you can do something about it.");
@@ -1278,11 +1277,11 @@ function node_add($type) {
...
@@ -1278,11 +1277,11 @@ function node_add($type) {
** Compile a list with the different node types and their explanation:
** Compile a list with the different node types and their explanation:
*/
*/
foreach(node_list()as$type=>$module){
foreach(node_list()as$type){
if(node_access("create",$type)){
if(node_access("create",$type)){
$output.="<li>";
$output.="<li>";
$output.=" ".l(module_invoke($module,"node","name",$type),"node/add/$type",array("title"=>t("Add a new %s.",array("%s"=>module_invoke($module,"node","name",$type)))));
$output.=" ".l(node_invoke($type,"node_name"),"node/add/$type",array("title"=>t("Add a new %s.",array("%s"=>node_invoke($type,"node_name")))));