Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 461 → Rev 470

/challenge/index.php
File deleted
/challenge/00-do.php
File deleted
/challenge/00.php
File deleted
/challenge/01.php
File deleted
');');');');');');');');');');');');');');');');');');');');');');
/wiki/pages/Index.txt
File deleted
Property changes:
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: admin/all-blog-posts.php
===================================================================
--- admin/all-blog-posts.php (revision 461)
+++ admin/all-blog-posts.php (revision 470)
@@ -27,24 +27,28 @@
$ids = $page->findIDs('BlogPosts', 'ORDER BY DatePosted DESC');
for ($i = 0; $i < count($ids); $i++)
{
- $post = $page->getBlogPost($ids[$i]);
- write('
- write('' . $post->ID . '
- if ($post->parent == -1)
+ $id_str = $ids[$i];
+ if (!empty($id_str))
{
- write('No Parent
+ $post = $page->getBlogPost($id_str);
+ write('
+ write('' . $post->ID . '
+ if ($post->parent == -1)
+ {
+ write('No Parent
+ }
+ else
+ {
+ write('' . $post->parent->title . '
+ }
+ write('' . $post->author->name . '
+ write('' . $post->title . '
+ write('' . str_replace("\n", '
', $post->content) . '
+ write('' . date('j/m/Y H:i', $post->datePosted) . '
+ write('' . $post->category . '
+ write('' . $post->spam . '
+ write('
}
- else
- {
- write('' . $post->parent->title . '
- }
- write('' . $post->author->name . '
- write('' . $post->title . '
- write('' . str_replace("\n", '
', $post->content) . '
- write('' . date('j/m/Y H:i', $post->datePosted) . '
- write('' . $post->category . '
- write('' . $post->spam . '
- write('
}
write('
');
/_taios.php
34,7 → 34,8
write('<head>');
write('<meta http-equiv="Content-Type" content="text/html;charset=utf-8">');
write('<title>Tim32 &middot; ' . $this->title . '</title>');
write('<link href="' . $this->url . 'styles.css" rel="stylesheet" type="text/css" media="screen">');
write('<link href="' . $this->url . 'styles.css" rel="stylesheet" type="text/css" media="screen" />');
write('<link rel="shortcut icon" href="' . $this->url . 'data/favicon.png" />');
write('</head>');
write('<body>');
write('<div class="sidebar">');
88,7 → 89,7
{
if (!$this->drawnFooter)
{
write('<br /><p class="copyright">&copy; 2011 Tim32</p>');
write('<br /><p class="copyright">Tim32</p>');
write('</div>');
write('</body>');
write('</html>');
/styles.css
102,6 → 102,7
background-color: #032865;
color: #FFFFFF;
height: 100%;
z-index: 50;
}
 
.sidebar-header {
/data/favicon.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/data/favicon.png
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property