source: extensions/PHP_Optimisateur/include/header.php

Last change on this file was 12819, checked in by mistic100, 13 years ago

fix detection regex and watermark position

File size: 2.4 KB
Line 
1<?php
2echo '<?xml version="1.0" encoding="utf-8"?>
3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
4  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
5<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
6<head>
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</head>
42
43<body>
44<div id="overlay" style="display:none;">&nbsp;</div>
45<img src="template/images/loader.gif" style="display:none;"/>
46
47<div class="generic title">
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</div>';
65?>
Note: See TracBrowser for help on using the repository browser.