-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrailer.php
More file actions
57 lines (42 loc) · 868 Bytes
/
Copy pathtrailer.php
File metadata and controls
57 lines (42 loc) · 868 Bytes
1
2
3
4
5
6
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
if (isset($indexp))
{
echo " <div id='footer'>
<p>" . I18('Dernier changement') . " " . LAST_CHANGE . "</p>
</div>";
}
//what to change on IE as an admin, on index.php
if (isset($indexp) AND $canChange)
{
?>
<script>
if (detectIE()!==false)
{
document.getElementById("userPos").style.marginLeft = "43px";
}
</script>
<?php
}
//what to change on IE on detail.php
if (isset ($detailp))
{
?>
<script>
var IEVersion = detectIE();
if (IEVersion!==false)
{
var element = document.getElementById("main");
element.style.marginLeft = "250px";
document.getElementById("instructDisp").style.width = "calc(99% - 250px)";
if (IEVersion<11) //doesn't support viewport percentage lengths
{
document.getElementById("title").style.fontSize = "";
}
// document.getElementById("IEShaming").style.display = "block";
}
</script>
<?php
}
?>
</body>
</html>