mirror of https://github.com/bbj-dev/bbjphp.git
remove unnecessary 'index.php' reference
This commit is contained in:
parent
8477d3caab
commit
f8d503fd0d
|
@ -10,7 +10,7 @@
|
||||||
$plural = $thread['reply_count']==1 ? "y" : "ies";
|
$plural = $thread['reply_count']==1 ? "y" : "ies";
|
||||||
$tid = $thread["thread_id"];
|
$tid = $thread["thread_id"];
|
||||||
echo "\t\t<div class='well'>".PHP_EOL;
|
echo "\t\t<div class='well'>".PHP_EOL;
|
||||||
echo "\t\t\t<p><a href='index.php?thread_id={$tid}'>{$tt}</a> by {$username} @ {$time}</p>".PHP_EOL;
|
echo "\t\t\t<p><a href='?thread_id={$tid}'>{$tt}</a> by {$username} @ {$time}</p>".PHP_EOL;
|
||||||
echo "\t\t\t<p>{$thread['reply_count']} repl{$plural}, last post by {$last_author}";
|
echo "\t\t\t<p>{$thread['reply_count']} repl{$plural}, last post by {$last_author}";
|
||||||
echo "\t\t</div>".PHP_EOL;
|
echo "\t\t</div>".PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
if ($thread["error"]!=null) {
|
if ($thread["error"]!=null) {
|
||||||
$title = "Unknown Thread | ~team BBJ";
|
$title = "Unknown Thread | ~team BBJ";
|
||||||
include 'client/header.php';
|
include 'client/header.php';
|
||||||
echo "\t\t<p>No such thread exists. <a href='/index.php'>Go home.</a></p>";
|
echo "\t\t<p>No such thread exists. <a href='/'>Go home.</a></p>";
|
||||||
include 'client/footer.php';
|
include 'client/footer.php';
|
||||||
die();
|
die();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue