fix for multi-tag search

git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.1@455 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-08-08 06:25:35 +00:00
parent 4d708694a1
commit 779466e85f
2 changed files with 31 additions and 4 deletions

View File

@ -398,9 +398,9 @@ function _get_query_parts() {
$n++;
}
*/
$path = str_replace('/', ' ', $path);
$path = str_replace(' ', '/', $path);
$parts = split(' ', $path);
$path = str_replace('/', '%%', $path);
$path = str_replace('%%%%', '/', $path);
$parts = split('%%', $path);
return $parts;
}

View File

@ -77,7 +77,34 @@ function begin() {
print <<<EOD
<html>
<head><title>Shimmie2 Installer</title></head>
<link rel="stylesheet" href="themes/default/style.css">
<style>
BODY {
background: #EEE;
font-family: "Arial", sans-serif;
font-size: 14px;
}
H1, H3 {
border: 1px solid black;
background: #DDD;
text-align: center;
}
H1 {
margin-top: 0px;
margin-bottom: 0px;
padding: 2px;
}
H3 {
margin-top: 32px;
padding: 1px;
}
TD {
vertical-align: top;
text-align: center;
}
FORM {margin: 0px;}
A {text-decoration: none;}
A:hover {text-decoration: underline;}
</style>
<body>
<h1>Shimmie Installer</h1>