Changeset 12819 for extensions/PHP_Optimisateur/include/header.php
- Timestamp:
- Jan 1, 2012, 10:09:17 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PHP_Optimisateur/include/header.php
r10337 r12819 2 2 echo '<?xml version="1.0" encoding="utf-8"?> 3 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 4 4 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 5 5 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> 6 6 <head> 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 8 <title>PHP Optimisateur '.$APPversion.'</title> 9 <link href="template/favicon.png" rel="icon" type="image/x-icon" /> 10 11 <link rel="stylesheet" type="text/css" media="screen" href="template/css/screen.css"/> 12 <link rel="stylesheet" type="text/css" media="screen" href="template/css/colorpicker.css"/> 13 <link rel="stylesheet" type="text/css" media="screen" href="template/css/jqtransform.css"/> 14 15 <script type="text/javascript" src="template/js/jquery.js"></script> 16 <script type="text/javascript" src="template/js/colorpicker.js"></script> 17 <script type="text/javascript" src="template/js/jqtransform.js"></script> 18 19 <script language="javascript"> 20 $(function(){ 21 $("form").jqTransform({imgPath:"template/images/"}); 22 }); 23 function Load() { 24 $(\'#ready-text\').html(\''.l10n('Processing').'\'); 25 $(\'#loader\').html(\'<img src="template/images/loader.gif" alt="Load..."/>\'); 26 $(\'#overlay\').css(\'display\',\'block\'); 27 } 28 29 jQuery().ready(function(){ 30 jQuery("#languageSwitchLink").mouseover(function() { 31 jQuery("#languageSwitchBox").toggle(); 32 }); 33 jQuery("#languageSwitchBox").mouseleave(function() { 34 jQuery("#languageSwitchBox").toggle(); 35 }); 36 }); 37 </script> 38 39 '.$PAGE['header'].' 40 41 41 </head> 42 42 … … 46 46 47 47 <div class="generic title"> 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 48 PHP Optimisateur '.$APPversion.' 49 50 <div id="languageSwitchLink" title="Change Language"> 51 <ul> 52 <li><a href="#"><img src="language/'.$CONF['user_lang'].'/flag.png" alt="'.$CONF['languages'][$CONF['user_lang']].'"/> '.$CONF['languages'][$CONF['user_lang']].'</a></li> 53 </ul> 54 </div> 55 56 <div id="languageSwitchBox" style="display:none;" class="generic"> 57 <ul>'; 58 foreach ($CONF['languages'] as $key => $name) { 59 echo '<li><a class="lang" href="index.php?Lang='.$key.'" title="'.$name.'"><img src="language/'.$key.'/flag.png" alt="'.$name.'"/> '.$name.'</a></li>'; 60 } 61 echo ' </ul> 62 </div> 63 64 64 </div>'; 65 65 ?>
Note: See TracChangeset
for help on using the changeset viewer.