Put name to categories instead of using ID numbers in CSS Style Sheets
[vanilla-miry.git] / themes / search_results_top.php
blobeed4d845ef4d8a1a97bd49aac45f810a6a56513d
1 <?php
2 // Note: This file is included from the library/Vanilla/Vanilla.Control.SearchForm.php class.
3 $SearchID = "Discussions";
4 switch ($this->Search->Type) {
5 case "Comments":
6 $SearchID = "CommentResults";
7 break;
8 case "Users":
9 $SearchID = "UserResults";
10 break;
13 echo '<div class="ContentInfo Top">
14 <h1>'.$this->Context->GetDefinition($this->Search->Type).'</h1>
15 <div class="PageInfo">
16 <p>'.($this->PageList != '' ? $this->PageDetails : $this->Context->GetDefinition('NoResultsFound')).'</p>
17 '.$this->PageList.'
18 </div>
19 </div>
20 <div id="ContentBody">
21 <ol id="'.$SearchID.'">';