Index: addtofavorites.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/addtofavorites/addtofavorites.js,v
retrieving revision 1.1
diff -u -r1.1 addtofavorites.js
--- addtofavorites.js 8 Oct 2006 15:29:32 -0000 1.1
+++ addtofavorites.js 8 Oct 2006 20:24:26 -0000
@@ -1,4 +1,3 @@
-
Index: addtofavorites.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/addtofavorites/addtofavorites.module,v
retrieving revision 1.1
diff -u -r1.1 addtofavorites.module
--- addtofavorites.module 8 Oct 2006 15:29:32 -0000 1.1
+++ addtofavorites.module 8 Oct 2006 20:25:12 -0000
@@ -13,7 +13,7 @@
switch ($section) {
case 'admin/modules#description':
// This description is shown in the listing at admin/modules.
- return t("Help visitors to add the site to their browser\'s bookmarks.");
+ return t("Help visitors to add the site to their browser's bookmarks.");
}
}
@@ -22,7 +22,7 @@
if ($op == 'list') {
// If $op is "list", we just need to return a list of block descriptions. This
// is used to provide a list of possible blocks to the administrator.
- $blocks[0]['info'] = t('Addtofavorites : Help users to add this website to their browser\'s (IE, Mozilla, ...) bookmarks');
+ $blocks[0]['info'] = t('Add to favorites');
return $blocks;
}
else if ($op == 'view') {
@@ -38,19 +38,18 @@
// function.
$sitename = variable_get('site_name', 'drupal');
$siteurl = url('', null, null, true);
- $display_text = "Memoriser le site";
+ $display_text = t('Bookmark this page.');
- $path = drupal_get_path('module', 'addfofavorites');
- $path .= "modules/addtofavorites"; //coz a bug in drupal_get_pah
+ $path = drupal_get_path('module', 'addtofavorites');
- drupal_add_js($path . '/addfofavorites.js');
+ drupal_add_js($path . '/addtofavorites.js');
$links .= "";
$links .= "
";
+ $links .= "alt=\"" . $display_text . "\" width=\"24\" border=\"0\">" . $display_text . "";
$links .= "\n";