Changeset 374 for minimanager/scripts/global_lib.php
- Timestamp:
- Sep 11, 2008, 9:10:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/scripts/global_lib.php
r19 r374 14 14 //to avoid Strict Standards notices in php 5.1 15 15 if (function_exists ('date_default_timezone_set') ) { 16 date_default_timezone_set( 'UTC');16 date_default_timezone_set($timezone); 17 17 } 18 18 … … 41 41 function maketooltip($text, $link, $tip, $class, $target = "target=\"_self\"") { 42 42 global $output; 43 $output .="<a style=\"padding:2px;\" href=\"$link\" $target onmouseover=\"toolTip('".addslashes($tip)."','$class')\" onmouseout=\"toolTip()\">$text</a>"; 43 //COMMENTED OUT SINCE WE WANT WOWHEAD TOOLTIPS ONLY 44 //$output .="<a style=\"padding:2px;\" href=\"$link\" $target onmouseover=\"toolTip('".addslashes($tip)."','$class')\" onmouseout=\"toolTip()\">$text</a>"; 45 46 //ADDED: 47 $output .="<a style=\"padding:2px;\" href=\"$link\" $target>$text</a>"; 48 //ENDOF ADDED 44 49 } 45 50 … … 52 57 } else die('<meta http-equiv="refresh" content="0;URL='.$url.'" />'); 53 58 } 54 59 60 //work around for MSIE and wowhead tooltip display error 61 if (ereg("MSIE" , $_SERVER["HTTP_USER_AGENT"])) { 62 $tt_scrip = ""; 63 } else { 64 $tt_scrip = "http://www.wowhead.com/widgets/power.js"; 65 } 66 55 67 //########################################################################################## 56 68 // Generate paging navigation.
Note:
See TracChangeset
for help on using the changeset viewer.