831 |
florian |
1 |
<?php echo '<?xml version="1.0" encoding="iso-8859-1"?>'; ?>
|
|
|
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
3 |
"DTD/xhtml1-transitional.dtd">
|
|
|
4 |
<html lang="<?php echo $PHORUM['locale']; ?>">
|
|
|
5 |
<head>
|
|
|
6 |
<title>{HTML_TITLE}</title>
|
|
|
7 |
<style type="text/css">
|
|
|
8 |
{include css}
|
|
|
9 |
</style>
|
|
|
10 |
{IF URL->RSS}<link rel="alternate" type="application/rss+xml" title="RSS-File" href="{URL->RSS}" />{/IF}
|
|
|
11 |
{if URL->REDIRECT}
|
|
|
12 |
<meta http-equiv="refresh" content="{IF REDIRECT_TIME}{REDIRECT_TIME}{ELSE}5{/IF}; url={URL->REDIRECT}" />
|
|
|
13 |
{/if}
|
|
|
14 |
{LANG_META}
|
|
|
15 |
{HEAD_TAGS}
|
|
|
16 |
</head>
|
|
|
17 |
<body>
|
|
|
18 |
|
|
|
19 |
<div id="right-column">
|
|
|
20 |
|
|
|
21 |
<h1>The Phorum Blog Template</h1>
|
|
|
22 |
Search:<br />
|
|
|
23 |
<form id="search-form" action="<?php echo phorum_get_url(PHORUM_SEARCH_ACTION_URL); ?>" method="get" >
|
|
|
24 |
<input type="hidden" name="forum_id" value="{FORUM_ID}" />
|
|
|
25 |
<input type="hidden" name="match_type" value="ALL" />
|
|
|
26 |
<input type="hidden" name="match_dates" value="30" />
|
|
|
27 |
<input type="hidden" name="match_forum" value="ALL" />
|
|
|
28 |
<input type="hidden" name="body" value="1" />
|
|
|
29 |
<input type="hidden" name="author" value="0" />
|
|
|
30 |
<input type="hidden" name="subject" value="1" />
|
|
|
31 |
<input id="search" name="search" type="text" /> <input type="submit" value="{LANG->Search}" />
|
|
|
32 |
</form>
|
|
|
33 |
|
|
|
34 |
<ul>
|
|
|
35 |
<li><a href="{URL->TOP}">Home</a></li>
|
|
|
36 |
</ul>
|
|
|
37 |
|
|
|
38 |
<ul>
|
|
|
39 |
{IF LOGGEDIN true}
|
|
|
40 |
<?php if (phorum_user_access_allowed(PHORUM_USER_ALLOW_NEW_TOPIC)) { ?>
|
|
|
41 |
<li><a href="{URL->POST}">New Post</a></li>
|
|
|
42 |
<?php } ?>
|
|
|
43 |
<li><a href="{URL->REGISTERPROFILE}">My Profile</a></li>
|
|
|
44 |
<li><a href="{URL->LOGINOUT}">Logout</a></li>
|
|
|
45 |
{ELSE}
|
|
|
46 |
<li><a href="{URL->LOGINOUT}">Login</a></li>
|
|
|
47 |
<li><a href="{URL->REGISTER}">Register</a></li>
|
|
|
48 |
{/IF}
|
|
|
49 |
</ul>
|
|
|
50 |
|
|
|
51 |
<ul>
|
|
|
52 |
<li><a href="http://phorum.org/">Phorum Home Page</a></li>
|
|
|
53 |
<li><a href="http://phorum.org/phorum5/">Phorum 5 Support</a></li>
|
|
|
54 |
<li><a href="http://phorum.org/cgi-bin/trac.cgi/report">Report Bugs</a></li>
|
|
|
55 |
</ul>
|
|
|
56 |
|
|
|
57 |
{IF URL->RSS}<a href="{URL->RSS}"><img src="/images/rss20.gif" width="80" height="15" border="0" alt="RSS 2.0" /></a>{/IF}
|
|
|
58 |
|
|
|
59 |
</div>
|
|
|
60 |
<div id="left-column">
|
|
|
61 |
<h1 id="title"><a href="{URL->TOP}">{NAME}</a></h1>
|
|
|
62 |
<p>You should read the docs about setting up the blog template before making it live. Its in the docs dir in the distro called blog_howto.txt. You can remove this comment after that.</p>
|