Closed (fixed)
Project:
BeautyTips
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2009 at 12:29 UTC
Updated:
6 Jul 2009 at 22:10 UTC
--- beautytips.install.orig 2009-07-03 14:24:08.000000000 +0200
+++ beautytips.install 2009-07-03 14:25:00.000000000 +0200
@@ -11,7 +11,10 @@
*/
function beautytips_install() {
$path = drupal_get_path('module', 'beautytips') .'/other_libs/excanvas_r3';
+ drupal_load('module', 'beautytips');
+ $link_readme = l('BeautyTips Readme.txt',
+ drupal_get_path('module', 'beautytips')) .'/README.txt';
if (!count(file_scan_directory($path, 'excanvas.js', array('.', '..', 'CVS'), 0, FALSE))) {
- drupal_set_message('WARNING! In order for BeautyTips to function correctly in Internet Explorer, the Excanvas library needs to be added. (See the BeautyTips Readme.txt file for more information.)', $type = 'warning');
+ drupal_set_message(t('WARNING! In order for BeautyTips to function correctly in Internet Explorer, the Excanvas library needs to be added. (See the !readme_file for more information.)', array('!readme_file' => $link_readme)), $type = 'warning');
}
}
| Comment | File | Size | Author |
|---|---|---|---|
| beautytips.install_readmelink.patch | 1000 bytes | jcdenton.dm |
Comments
Comment #1
kleinmp commentedThanks, good patch. I committed it to the dev version.