Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 311 → Rev 331

/_taios.php
171,7 → 171,7
{
$newstr = str_replace("<", "[", $str);
$newstr = str_replace(">", "]", $newstr);
$newstr = str_replace("\n", '<br />', $newstr);
$newstr = str_replace("</p><p>", '<br />', $newstr);
$newstr = str_replace(' ', '&nbsp;&nbsp;', $newstr);
$newstr = str_replace(' :)', ' <img src="' . $this->url . 'data/smilies/face-smile.png" class="smiley" />', $newstr);
$newstr = str_replace(' :p', ' <img src="' . $this->url . 'data/smilies/face-raspberry.png" class="smiley" />', $newstr);
/photos/album.php
39,6 → 39,11
 
write('<p class="bold"><a href="index.php">Back to Photos</a></p><br />');
 
if (file_exists("albums/" . $dirName . "/description.txt"))
{
write('<p>' . $page->replaceBBCode(file_get_contents("albums/" . $dirName . "/description.txt")) . '</p><br />');
}
 
write('<table>');
write('<tr>');
 
47,6 → 52,8
$dir = dir('albums/' . $dirName);
while (($file = $dir->read()) !== false)
{
if (getimagesize('albums/' . $dirName . '/' . $file))
{
if ($file[0] != '.')
{
if ($i >= 4)
62,6 → 69,7
$i++;
}
}
}
 
write('</tr>');
/styles.css
10,8 → 10,8
font-size: 28pt;
margin: 8px;
margin-top: 0px;
color: #000089;
border-bottom: 1px solid #000000;
color: #FFFFFF;
border-bottom: 1px solid #FFFFFF;
}
 
h2 {
93,12 → 93,9
position: fixed;
padding: 0px;
padding-left: 32px;
border-right: 1px solid #000089;
background-color: #FFFF73;
background-image: url('data/sidebar-gradient.png');
background-repeat: repeat-x;
background-position: center bottom;
border-right: 0px solid #000089;
background-color: #032865;
color: #FFFFFF;
}
 
.sidebar-header {
111,10 → 108,12
.sidebar-menu {
text-align: right;
padding: 6px;
color: #FFFFFF;
}
 
.sidebar-menu h3 {
margin: 6px;
color: #FFFFFF;
}
 
.sidebar-menu p {
122,8 → 121,12
margin: 4px;
}
 
.sidebar-menu a {
color: #FFFFFF;
}
 
.content {
left: 200px;
left: 194px;
top: 0px;
position: absolute;
margin-right: 32px;