Commit 59d6ce7c authored by mfer's avatar mfer

bloginfo module updated for drupal 5

parent 623823ec
; $Id$
name = Bloginfo
description = Blog title and description.
\ No newline at end of file
description = Blog title and description.
dependencies = blog
\ No newline at end of file
......@@ -32,4 +32,11 @@ function bloginfo_install() {
return $ins;
}
/**
* Implementation of hook_uninstall().
*/
function bloginfo_uninstall() {
db_query('DROP TABLE {bloginfo}');
}
?>
\ No newline at end of file
......@@ -5,9 +5,6 @@
// hook_help
function bloginfo_help($section) {
switch ($section) {
case 'admin/modules#description':
// This description is shown in the listing at admin/modules.
return t('Blog title and description.');
case 'admin/help#bloginfo':
$output = '<p>'. t('This module allows bloggers to have a title and description for their blog that is seperate from their username. This is similar to the title and descriptioin of blogs such as those at blogspot.com provided by blogger.'). '</p>';
$output .= '<p>'. t('The title and description is displayed in a block and is editable in a users \'my account\' options.') .'</p>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment