summaryrefslogtreecommitdiff
path: root/modules/blog/blog.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-28 10:47:33 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-28 10:47:33 +0000
commitbaaa21e1316354ada6d985a5b799ce17d6255590 (patch)
treedcd7d9a51ad26ff41e6633cca4b5a272ba72eab8 /modules/blog/blog.module
parent5c0cd3c03f956412c0b0e859d31a1ffe265ef1a1 (diff)
downloadbrdo-baaa21e1316354ada6d985a5b799ce17d6255590.tar.gz
brdo-baaa21e1316354ada6d985a5b799ce17d6255590.tar.bz2
- Tidied up some inconsistencies in the code: scripts/code-style.sh is your friend.
Diffstat (limited to 'modules/blog/blog.module')
-rw-r--r--modules/blog/blog.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index e24f7cb97..478449ee1 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -74,13 +74,13 @@ function blog_help($section) {
$output .= "<p>Blogs are made up of individual entries (nodes) that are timestamped and are typically viewed by day as you would a diary. Blogs often contain links to things you've seen and/or agree/disagree with. A typical example of a long term blog can be seen at %scripting-com.</p>";
$output .= "<p>The blog module adds a \"user blogs\" navigation link to the site, which takes any visitor to a page that displays the most recent blog entries from all the users on the site. Personal user menus gain a \"create a blog entry\" link (which takes you to a submission form) and a \"view personal blog\" link (which displays your blog entries as other people will see them). On the bottom of each of your own blog entries, there is an \"edit this blog entry\" link that lets you edit or delete that entry.</p>";
$output .= "<p>If a user has the ability to post blogs, then the import module (news aggregator) will display a blog-it link <b>(b)</b> next to each news item in its lists. Click on this and you will be taken to the blog submission form, with the title, a link to the item, and a link to the source into the body text already in the text box, ready for you to add your explanation. This actively encourages people to add blog entries about things they see and hear elsewhere in the Drupal site and from your syndicated partner sites.</p>";
- $output = t($output, array("%scripting-com" => "<a href=\"http://www.scripting.com/\">http://www.scripting.com/</a>" ));
+ $output = t($output, array("%scripting-com" => "<a href=\"http://www.scripting.com/\">http://www.scripting.com/</a>"));
break;
case 'admin/system/modules#description':
$output .= t("Enables keeping a blog or easily and regularly updated web page.");
break;
case 'admin/system/modules/blog':
- $output .= t("A weBLOG is a running journal of a users ideas. Enter the minimum word count for a single entry, and the text displayed on the entry submission form");
+ $output .= t("A weblog is a running journal of a users ideas. Enter the minimum word count for a single entry, and the text displayed on the entry submission form");
break;
}
@@ -123,7 +123,7 @@ function blog_page_user($uid) {
$output .= node_view(node_load(array("nid" => $node->nid)), 1);
}
$output .= theme("pager", NULL, variable_get("default_nodes_main", 10));
- $output .= "<div class=\"xml-icon\">" . l("<img src=\"". theme("image", "xml.gif") ."\" width=\"36\" height=\"14\" style=\"border: 0px;\" alt=\"\" title=\"\" />", "blog/feed/$account->uid", array("title" => t("View the XML version of %username's blog", array("%username" => $account->name)))) . "</div>";
+ $output .= "<div class=\"xml-icon\">". l("<img src=\"". theme("image", "xml.gif") ."\" width=\"36\" height=\"14\" style=\"border: 0px;\" alt=\"\" title=\"\" />", "blog/feed/$account->uid", array("title" => t("View the XML version of %username's blog", array("%username" => $account->name)))) . "</div>";
print theme("page", $output, $title);
}
@@ -250,7 +250,7 @@ function blog_link($type, $node = 0, $main) {
menu("node/add/blog", t("blog entry"), "node_page", 0);
}
if (user_access("maintain personal blog")) {
- menu("blog/" . $user->uid, t("my blog"), "blog_page", 1);
+ menu("blog/". $user->uid, t("my blog"), "blog_page", 1);
}
if (user_access("access content")) {
menu("blog", t("blogs"), "blog_page", 0, MENU_HIDE);