DrupalBin
Submit Code
About
Recent Posts
Code
8 hours 22 min
ago
Code
12 hours 39 min
ago
Logging without output buffer trouble
13 hours 31 min
ago
Code
14 hours 20 min
ago
more
Tags
CCK
drupal
fapi
jquery
menu
module
Panels
php
simpletest
test
theme
views
more tags
User login
Log in using OpenID:
What is OpenID?
Username:
*
Password:
*
Create new account
Request new password
Log in using OpenID
Cancel OpenID login
Home
Fix for ie8.js mini module
View
Download
Fix
This fix will not be saved to the database until you submit.
Summary:
Tags:
Any tags you'd like to associate with your code, delimitered by commas (example: Views, CCK, Module, etc).
Source code:
*
<?php /** * Author: Nicolas Borda - http://nic.ipwa.net * Display help and module information * This module adds to your site the ie8 JavaScript library from Google Code * */ function ie8_help($section = '') { $output = ''; switch ($section) { case "admin/help#ie8": $output = '<p>'. t("Includes the ie8 JavaScript library to make IE 5 - 6 behave like a standards compliant broweser."). '</p>'; break; } return $output; } // function ie8_help /** * Implementation of hook_menu */ function ie8_menu($may_cache) { $items = array(); if (!$may_cache) { $html = '<script type="text/javascript" src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js"></script>'; drupal_set_html_head($html); } return $items; }
Syntax highlighting mode:
ActionScript
ColdFusion
Diff
Drupal
Drupal 5
Drupal 6
HTML
Javascript
MySQL
PHP
Python
robots.txt
SQL
Text
Select the syntax highlighting mode to use.