/_taios.php |
---|
170,10 → 170,20 |
function replaceBBCode($str) |
{ |
$newstr = str_replace("<", "[", $str); |
$newstrarray = explode("\n", $str); |
$newstr = ""; |
foreach ($newstrarray as $line) |
{ |
if ($line == "\n";) |
{ |
$line = "</p><p>"; |
} |
$newstr .= ($line . "\n"); |
} |
$newstr = str_replace("<", "[", $newstr); |
$newstr = str_replace(">", "]", $newstr); |
$newstr = str_replace("\n", '</p><p>', $newstr); |
//$newstr = str_replace("\n", '<br />', $newstr); |
$newstr = str_replace("\\'", "'", $newstr); |
$newstr = str_replace("\\\"",'"', $newstr); |
$newstr = str_replace(' ', ' ', $newstr); |
533,6 → 543,8 |
public $author; |
public $title; |
public $description; |
public $logoURL; |
public $downloadURL; |
public $websiteURL; |
/blog/rss.php |
---|
2,6 → 2,8 |
require '../_taios.php'; |
header("Content-type: application/rss+xml"); |
$page = new Taios_Page('Blog RSS Feed', '../'); |
write('<?xml version="1.0" encoding="UTF-8" ?>'); |
/wiki/index.php |
---|
42,7 → 42,7 |
if ($page->isUserGM($page->getLoggedInUser())) |
{ |
write('<p><a href="edit.php?page=' . $pageName . '">Edit Page</a></p><br />'); |
write('<p class="bold"><a href="edit.php?page=' . $pageName . '">Edit Page</a></p><br />'); |
} |
$filename = 'pages/' . $pageName . '.txt'; |
/index.php |
---|
10,6 → 10,8 |
$page->drawMenuItem('Muzer', '/~muzer/'); |
$page->drawMenuItem('Sh4rk', '/~szabot/'); |
$page->drawMenuItem('Tom (TomMan)', '/~tom/'); |
write('<br /><h3>Downtime-o-meter</h3>'); |
write('<p>No planned down.</p>'); |
$page->drawMiddle(); |
?> |
19,6 → 21,7 |
<br /> |
<h3 title="Take the Tim32 challenge: http://tim32.org/challenge/">Latest Blog Posts</h3> |
<p><a href="blog/rss.php">Rss Feed</a></p> |
<?php |