-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathframe_header.php
98 lines (89 loc) · 3.56 KB
/
frame_header.php
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?php
/************************************************************************/
/* AContent */
/************************************************************************/
/* Copyright (c) 2010 */
/* Inclusive Design Institute */
/* */
/* This program is free software. You can redistribute it and/or */
/* modify it under the terms of the GNU General Public License */
/* as published by the Free Software Foundation. */
/************************************************************************/
define('TR_INCLUDE_PATH', '../include/');
include(TR_INCLUDE_PATH.'vitals.inc.php');
if (isset($_GET['p'])) {
$this_page = htmlentities_utf8($_GET['p']);
} else {
exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="<?php echo DEFAULT_LANGUAGE_CODE; ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo _AT('Transformable_documentation'); ?></title>
<style type="text/css">
body { font-family: Verdana,Arial,sans-serif; font-size: x-small; margin: 0px; padding: 3px; background: #f4f4f4; color: #afafaf; }
ul, ol { list-style: none; padding-left: 0px; margin-left: -15px; }
li { margin-left: 19pt; padding-top: 2px; }
a { text-decoration: none; }
a:link, a:visited { color: #006699; }
a:hover { color: #66AECC; }
input { border: 0px; padding: 2px 5px 2px 5px; }
input[type=submit] { background-color: #dfdfdf; padding: 1px; border: #AAA solid 1px; }
input[type=submit]:hover { color: blue; background-color: #eee; padding: 1px; }
form { padding: 0px; margin: 0px; display: inline; }
</style>
<script type="text/javascript">
// <!--
var currentPage;
function showTocToggle(show, hide) {
if(document.getElementById) {
document.writeln('<a href="javascript:toggleToc(false)">' +
'<span id="showlink" style="display:none;">' + show + '</span>' +
'<span id="hidelink">' + hide + '</span>' + '</a>');
}
}
function toggleToc(override) {
var showlink=document.getElementById('showlink');
var hidelink=document.getElementById('hidelink');
if (override && (hidelink.style.display == 'none')) {
top.show();
hidelink.style.display='';
showlink.style.display='none';
} else if (!override && (hidelink.style.display == 'none')) {
top.show();
hidelink.style.display='';
showlink.style.display='none';
} else if (!override) {
top.hide(); //('0, *');
hidelink.style.display='none';
showlink.style.display='';
}
}
// -->
</script>
</head>
<body><form method="get" action="search.php" target="toc" onsubmit='toggleToc(true);false;'>
<input type="hidden" name="p" value="<?php echo $_GET['p']; ?>">
<script type="text/javascript">
// <!--
if (top.name == 'popup') {
document.write('<a href="javascript:top.close();"><?php echo _AT('close_popup'); ?></a> | ');
}
// -->
</script>
<input type="text" name="query" /> <input type="submit" name="search" value="<?php echo _AT('search'); ?>" /> |
<a href="print.php?p=<?php echo $this_page; ?>" target="_top"><?php echo _AT('print_version'); ?></a>
<script type="text/javascript">
//<!--
document.writeln(' | ');
showTocToggle('<?php echo _AT('show_contents'); ?>' ,'<?php echo _AT('hide_contents'); ?>');
if (top.name == 'popup') {
toggleToc(true);
}
//-->
</script>
</form>
</body>
</html>