Permalink
Browse files

Add HTML class for current browser and version

  • Loading branch information...
1 parent 7c343b9 commit 0458afab28630ee2a132a72889f18821f70f35b6 J.M committed Apr 8, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 libraries/Header.class.php
@@ -484,7 +484,9 @@ private function _getHtmlStart()
$dir = $GLOBALS['text_dir'];
$retval = "<!DOCTYPE HTML>";
- $retval .= "<html lang='$lang' dir='$dir'>";
+ $retval .= "<html lang='$lang' dir='$dir' class='";
+ $retval .= strtolower(PMA_USR_BROWSER_AGENT) . " ";
+ $retval .= strtolower(PMA_USR_BROWSER_AGENT) . intval(PMA_USR_BROWSER_VER) . "'>";
return $retval;
}

0 comments on commit 0458afa

Please sign in to comment.