summaryrefslogtreecommitdiff
path: root/forum/utils/view.php
diff options
context:
space:
mode:
authordeva <deva>2008-10-26 20:53:16 +0000
committerdeva <deva>2008-10-26 20:53:16 +0000
commit3b5656db543462ec1f126d0d97b1ee1ba25c782e (patch)
treee85f52b8a361dffa3712baebc08a4000effc3f5c /forum/utils/view.php
parentd2b6d71dfc8f353d4b56f1b76552f6897493bb6d (diff)
Added no-cache pragma. Fixed indentation in forum code.
Diffstat (limited to 'forum/utils/view.php')
-rw-r--r--forum/utils/view.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/forum/utils/view.php b/forum/utils/view.php
index 9ff3143..d22c8d8 100644
--- a/forum/utils/view.php
+++ b/forum/utils/view.php
@@ -1,5 +1,5 @@
<?php
-echo "<div class=\"navigation\">";
+echo " <div class=\"navigation\">";
if($fid) echo "<a href=\"?\">forums</a>";
if($tid) echo ":: <a href=\"?fid=" . $fid . "\">threads</a>";
if($pid) echo ":: <a href=\"?fid=" . $fid . "&amp;tid=" . $tid . "\">posts</a>";
@@ -12,15 +12,15 @@ echo "</div>\n";
$posts = new Posts($FORUMS_DIR . "/" . $fid . "/" . $tid . ".xml");
$posts->show();
} else if($fid) {
- echo "<h1>Threads</h1>";
- echo "<a href=\"?mode=editor&amp;task=new&amp;fid=".$fid.
- "&amp;tid=".time()."&amp;pid=-1\">New thread</a>";
+ echo " <h1>Threads</h1>\n";
+ echo " <a href=\"?mode=editor&amp;task=new&amp;fid=".$fid.
+ "&amp;tid=".time()."&amp;pid=-1\">New thread</a>\n";
include_once("threads.php");
$threads = new Threads($FORUMS_DIR . "/" . $fid);
$threads->show();
} else {
- echo "<h1>Forums</h1>";
+ echo " <h1>Forums</h1>\n";
include_once("forums.php");
$forums = new Forums($FORUMS_DIR . "/forums.xml");