* Fixed handling of & in title / tags / authors / etc
* Fixed menu
This commit is contained in:
		
							parent
							
								
									3cee7cbd36
								
							
						
					
					
						commit
						f7b72ec441
					
				
					 2 changed files with 27 additions and 9 deletions
				
			
		
							
								
								
									
										26
									
								
								index.php
									
										
									
									
									
								
							
							
						
						
									
										26
									
								
								index.php
									
										
									
									
									
								
							|  | @ -89,12 +89,22 @@ | ||||||
|         </div> |         </div> | ||||||
|     </div> |     </div> | ||||||
|     <div class="clearer" /> |     <div class="clearer" /> | ||||||
|     <div id="search" class="search"> |     <div class="menu"> | ||||||
|         <form action="index.php?page=9" method="get"> |         <div id="search" class="search"> | ||||||
|             <input type="text" style="width: 200px" name="query" /> |             <form action="index.php?page=9" method="get"> | ||||||
|             <input type="hidden" name="page" value="9" /> |                 <input type="text" style="width: 50%" name="query" /> | ||||||
|             <input type="submit" value="Search" /> |                 <input type="hidden" name="page" value="9" /> | ||||||
|         </form>  |                 <input type="submit" value="Search" /> | ||||||
|  |             </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…
	
	Add table
		Add a link
		
	
		Reference in a new issue