1{* $Id$ *}<!DOCTYPE html>
2<html lang="{if !empty($pageLang)}{$pageLang}{else}{$prefs.language}{/if}">
3	<head>
4		{include file='header.tpl'}
5	</head>
6	<body{html_body_attributes}>
7
8		{* Index we display a wiki page here *}
9		<div id="tiki-main">
10			<div id="tiki-mid">
11				<table border="0" cellpadding="0" cellspacing="0" >
12					<tr>
13						<td id="centercolumn">
14							<div id="tiki-center">
15
16								{if $prefs.feature_page_title eq 'y'}
17									<h1 class="pagetitle"><a href="tiki-index_p.php?page={$page|escape:"url"}">{$page}</a>
18										{if $lock}
19											{capture assign=title}{tr _0=$page_user}Locked by %0{/tr}{/capture}{*FIXME*}
20											{icon name='lock' alt="{tr}Locked{/tr}" title=$title}
21										{/if}
22									</h1>
23								{/if}
24								<table >
25									<tr>
26										<td>
27											{if $prefs.feature_wiki_description eq 'y'}
28												<small>{$description}</small>
29											{/if}
30											{if $cached_page eq 'y'}
31												<small>(cached)</small>
32											{/if}
33										</td>
34										<td style="text-align:right;">
35
36											{if $cached_page eq 'y'}
37												<a title="{tr}Refresh{/tr}" href="tiki-index_p.php?page={$page|escape:"url"}&amp;refresh=1">{icon name='refresh'}</a>
38											{/if}
39
40											{if $user and $prefs.feature_wiki_notepad eq 'y' and $prefs.feature_notepad eq 'y' and $tiki_p_notepad eq 'y'}
41												<a title="{tr}Save to notepad{/tr}" href="tiki-index_p.php?page={$page|escape:"url"}&amp;savenotepad=1">{icon name='floppy' alt="{tr}Save{/tr}"}</a>
42											{/if}
43
44										</td>
45									</tr>
46								</table>
47
48								<div class="wikitext">
49									{if $structure eq 'y'}
50										<div class="tocnav">
51											<table width='100%'>
52												{foreach from=$struct_prev_next item=struct name=str key=key}
53													<tr>
54														<td width='33%'>
55															{if $struct.prev_page}
56																<a class="tocnavlink" href="tiki-index_p.php?page={$struct.prev_page}&amp;structID={$key}">&lt;&lt;
57																	{if $struct.prev_page_alias}
58																		{$struct.prev_page_alias}
59																	{else}
60																		{$struct.prev_page}
61																	{/if}
62																</a>
63
64															{else}
65																&nbsp;
66															{/if}
67														</td>
68														<td align='center' width='33%'>
69															{* <a class="tocnavlink" href="tiki-index_p.php?page=">{$key}</a> *}
70															{$key}
71														</td>
72														<td align='right' width='33%'>
73															{if $struct.next_page}
74																<a class="tocnavlink" href="tiki-index_p.php?page={$struct.next_page}&amp;structID={$key}">
75																	{if $struct.next_page_alias}
76																		{$struct.next_page_alias}
77																	{else}
78																		{$struct.next_page}
79																	{/if}
80																	&gt;&gt;
81																</a>
82															{else}
83																&nbsp;
84															{/if}
85														</td>
86													</tr>
87												{/foreach}
88											</table>
89										</div>
90									{/if}
91									{$parsed}
92									{if $pages > 1}
93										<div align="center">
94											<a href="tiki-index.php?page={$page|escape:"url"}&amp;pagenum={$first_page}" class="tips" title=":{tr}First{/tr}">
95												{icon name='backward_step'}
96											</a>
97											<a href="tiki-index.php?page={$page|escape:"url"}&amp;pagenum={$prev_page}" class="tips" title="{tr}Previous{/tr}">
98												{icon name='backward'}
99											</a>
100											<small>{tr}page:{/tr}{$pagenum}/{$pages}</small>
101											<a href="tiki-index.php?page={$page|escape:"url"}&amp;pagenum={$next_page}" class="tips" title=":{tr}Next{/tr}">
102												{icon name='forward'}
103											</a>
104											<a href="tiki-index.php?page={$page|escape:"url"}&amp;pagenum={$last_page}" class="tips" title=":{tr}Last{/tr}">
105												{icon name='forward_step'}
106											</a>
107										</div>
108									{/if}
109								</div>
110
111								{if $smarty.capture.editdate_section neq ''}
112									<footer class="form-text editdate">{tr}Last modification date:{/tr} {$lastModif|tiki_long_datetime} {tr}by{/tr} <a class="link" href="tiki-user_information.php?view_user={$lastUser}">{$lastUser}</a></footer>
113								{/if}
114
115							</div>
116						</td>
117					</tr>
118				</table>
119			</div>
120		</div>
121		{include file='footer.tpl'}
122	</body>
123</html>
124