* Fixed handling of & in title / tags / authors / etc
* Fixed menu
This commit is contained in:
parent
3cee7cbd36
commit
f7b72ec441
16
index.php
16
index.php
|
@ -89,12 +89,22 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="clearer" />
|
<div class="clearer" />
|
||||||
|
<div class="menu">
|
||||||
<div id="search" class="search">
|
<div id="search" class="search">
|
||||||
<form action="index.php?page=9" method="get">
|
<form action="index.php?page=9" method="get">
|
||||||
<input type="text" style="width: 200px" name="query" />
|
<input type="text" style="width: 50%" name="query" />
|
||||||
<input type="hidden" name="page" value="9" />
|
<input type="hidden" name="page" value="9" />
|
||||||
<input type="submit" value="Search" />
|
<input type="submit" value="Search" />
|
||||||
</form>
|
</form>
|
||||||
|
<form action="index.php?page=9" method="get">
|
||||||
|
<select>
|
||||||
|
<option value="volvo">Volvo</option>
|
||||||
|
<option value="saab">Saab</option>
|
||||||
|
<option value="mercedes">Mercedes</option>
|
||||||
|
<option value="audi">Audi</option>
|
||||||
|
</select>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="clearer" />
|
<div class="clearer" />
|
||||||
<div id="content" style="display: none;"></div>
|
<div id="content" style="display: none;"></div>
|
||||||
|
@ -104,8 +114,8 @@
|
||||||
if (get_class ($entry) != "EntryBook") {
|
if (get_class ($entry) != "EntryBook") {
|
||||||
?>
|
?>
|
||||||
<div class="entry">
|
<div class="entry">
|
||||||
<div class="entryTitle"><?php echo $entry->title ?></div>
|
<div class="entryTitle"><?php echo htmlspecialchars ($entry->title) ?></div>
|
||||||
<div class="entryContent"><?php echo $entry->content ?></div>
|
<div class="entryContent"><?php echo htmlspecialchars ($entry->content) ?></div>
|
||||||
<?php
|
<?php
|
||||||
foreach ($entry->linkArray as $link) {
|
foreach ($entry->linkArray as $link) {
|
||||||
?>
|
?>
|
||||||
|
|
10
style.css
10
style.css
|
@ -186,16 +186,24 @@ padding: 6px;
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.menu
|
||||||
|
{
|
||||||
|
float: right;
|
||||||
|
width : 300px;
|
||||||
|
}
|
||||||
|
|
||||||
.search
|
.search
|
||||||
{
|
{
|
||||||
display:none;
|
display:none;
|
||||||
|
width : 300px;
|
||||||
|
position: absolute;
|
||||||
|
background: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search form
|
.search form
|
||||||
{
|
{
|
||||||
background-color: black;
|
background-color: black;
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
float: right;
|
|
||||||
padding: 6px 10px;
|
padding: 6px 10px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue