Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 231 → Rev 236

/photos/album.php
0,0 → 1,27
<?php
 
require '../_taios.php';
 
$page = new Taios_Page('Photo Albums', '../');
$page->drawHeader();
$page->drawMiddle();
 
$dirName = $_GET['dir'];
if (empty($dirName))
{
$page->redirect('index.php');
}
 
$dir = dir('albums/' . $dirName);
while (($file = $dir->read()) !== false)
{
if ($file[0] != '.')
{
write('<p><img src=albums/' . $dirName. '/' . $file . '" /></p>');
}
}
 
$page->drawFooter();
 
?>
 
/photos/index.php
2,12 → 2,21
 
require '../_taios.php';
 
$page = new Taios_Page('Photos', '../');
$page = new Taios_Page('Photo Albums', '../');
$page->drawHeader();
$page->drawMiddle();
 
write('<br /><p class="bold">This page is currently under construction.</p>');
write('<p>Here we have all sorts of photos from Tim32.</p><br />');
 
$dir = dir('albums/');
while (($file = $dir->read()) !== false)
{
if ($file[0] != '.')
{
write('<p><a href="album.php?dir=' . $file . '">' . $file . '</a></p>');
}
}
 
$page->drawFooter();
 
?>
/photos/albums/ArchLinux Wallpapers/archlinux-firestarter.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/photos/albums/ArchLinux Wallpapers/archlinux-firestarter.jpg
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: photos/albums/ArchLinux Wallpapers/archlinux-berry.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: photos/albums/ArchLinux Wallpapers/archlinux-berry.jpg
===================================================================
--- photos/albums/ArchLinux Wallpapers/archlinux-berry.jpg (nonexistent)
+++ photos/albums/ArchLinux Wallpapers/archlinux-berry.jpg (revision 236)
/photos/albums/ArchLinux Wallpapers/archlinux-berry.jpg
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: wiki/edit.php
===================================================================
--- wiki/edit.php (revision 231)
+++ wiki/edit.php (revision 236)
@@ -28,6 +28,7 @@
?>
+