File: toc.tmpl

package info (click to toggle)
publican 2.8-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,404 kB
  • sloc: xml: 8,372; perl: 7,501; makefile: 34; sh: 6
file content (94 lines) | stat: -rw-r--r-- 5,302 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" href="../interactive.css" type="text/css" />
	<script type="text/javascript" src="../toc.js"></script>
	<title>[% toc_nav %]</title>
</head>
<body class="tocnav" onload="hideNoJS();getCookie();checkCookie();checkMenu();">
<div id="closemenu" class="closemenu visible">
	<a href="#" title="[% Hide_Menu %]" onclick="hideMenu();" ><img src="../images/close.png"/></a>
</div>
<div id="openmenu" class="openmenu hidden">
	<a href="#" title="[% Show_Menu %]" onclick="showMenu();"><img src="../images/open.png"/></a>
</div>
<div id="outer" class="outer visible">
<h1>
	<a style="background-image:url(images/web_logo.png)" href="index.html" onclick="window.top.location='index.html'" ><span>[% Welcome %]</span></a>
</h1>
<div class="tocnavwrap">
	[% search %] 
	<div class="lang">
		<div class="reset">
			<a href="#" title="collapse document navigation" onclick="clearCookie();">[% collapse_all %]</a>
		</div>
		<select id="langselect" class="langselect"  onchange="loadToc();">
			<option disabled="disabled" value="">[% Language %]</option>
        	[%- FOREACH langs %]
			<option [% selected %] value="[% lang %]">[% lang_name %]</option>
	        [%- END %]
		</select>
	</div>
	<div class="hidden" id="nocookie">
		[% nocookie %]
	</div>
	[%- FOREACH products %]
	<div class="product collapsed" onclick="toggle(event, '[% product %]');work=1;">
		<span class="product">[% product_clean %][%- IF product_icon -%]<a class="product" title="[% prod_link_title %]" href="[% product %]/index.html" onclick="window.top.location='./[% product %]/index.html'"><img class="product" src="../images/page.png" /></a>[%- END %]</span>
		<div id='[% product %]' class="versions hidden">
		[%- FOREACH versions %]
			<div id='[% product %].[% version %]' class="version collapsed" onclick="toggle(event, '[% product %].[% version %].books');">
		    [%- IF version_label != 'UNUSED' %]
				<span class="version">[% version_label %][%- IF ver_icon -%]<a class="version" title="[% ver_link_title %]" href="[% product %]/[% version %]/index.html" onclick="window.top.location='./[% product %]/[% version %]/index.html'"><img class="version" src="../images/page.png" /></a>[%- END %]</span>
				<div id='[% product %].[% version %].books' class="books hidden">
		    [%- ELSE -%]
				<div id='[% product %].[% version %].books' class="books">
		    [%- END %]
				[%- FOREACH books %]
					<div id='[% product %].[% version %].[% book %]' class="book collapsed">
						<a class="type" href="[% product %]/[% version %]/html/[% book %]/index.html" onclick="window.top.location='./[% product %]/[% version %]/html/[% book %]/index.html'"><span class="book">[% book_clean %]</span></a> 
						<div id='[% product %].[% version %].[% book %].types' class="types" onclick="work=0;">
						[%- FOREACH types %]
							<a class="type" href="[% prep %][% product %]/[% version %]/[% type %]/[% book %]/[% ext %]" [% IF onclick %]onclick="window.top.location='./[% product %]/[% version %]/[% type %]/[% book %]/[% ext %]';return false;"[% END %]>[% type %]</a>
			        		[%- END %]
						</div>
					</div>
	        		[%- END %]
                                [%- IF untrans_books %]
					<div id='[% product %].[% version %]' class="version collapsed untranslated" onclick="toggle(event, '[% product %].[% version %].untrans_books');">
						<span class="version">[% Untranslated %]</span>
						<div id='[% product %].[% version %].untrans_books' class="books hidden">
						[%- FOREACH untrans_books %]
							<div id='[% product %].[% version %].[% book %]' class="book collapsed" onclick="toggle(event, '[% product %].[% version %].[% book %].types');">
								<a class="type" href="../[% untrans_lang %]/[% product %]/[% version %]/html/[% book %]/index.html" onclick="window.top.location='../[% untrans_lang %]/[% product %]/[% version %]/html/[% book %]/index.html'"><span class="book">[% book_clean %]</span></a> 
								<div id='[% product %].[% version %].[% book %].types' class="types hidden" onclick="work=0;">
								[%- FOREACH types %]
									<a class="type" href="../[% untrans_lang %]/[% prep %][% product %]/[% version %]/[% type %]/[% book %]/[% ext %]" [% IF onclick %]onclick="window.top.location='../[% untrans_lang %]/[% prep %][% product %]/[% version %]/[% type %]/[% book %]/[% ext %]';return false;"[% END %]>[% type %]</a>
			        				[%- END %]
								</div>
							</div>
		        			[%- END %]
						</div>
					</div>
	        		[%- END %]
				</div>
			</div>					
       		[%- END %]
		</div>					
	</div>					
       	[%- END %]
	<div class="nocookie" id="nojs">
		[% nojs %]
	</div>
	<div class="bottom_links">
		<a href="../toc.html" onclick="window.top.location='../toc.html'" >[% Site_Map %]</a>
		<a href="./Site_Statistics.html" onclick="window.top.location='./Site_Statistics.html'" >[% Site_Statistics %]</a>
		<a href="./Site_Tech.html" onclick="window.top.location='./Site_Tech.html'" >[% Site_Tech %]</a>
	</div>
</div>					
</div>					
</body>
</html>