plugins/SpecialSearch.php
changeset 221 956263992d48
parent 218 e0ec986c0af3
child 235 b3cfaf0a505c
equal deleted inserted replaced
220:2d4bb97fa75a 221:956263992d48
   234               <li>If you have the appropriate permissions, you can <a href="' . makeUrl($q) . '#do:edit">start the ' . htmlspecialchars($q) . ' page</a>.</li>
   234               <li>If you have the appropriate permissions, you can <a href="' . makeUrl($q) . '#do:edit">start the ' . htmlspecialchars($q) . ' page</a>.</li>
   235               <li>Try using fewer keywords. You can get broader results if you remove quotes from your search query.</li>
   235               <li>Try using fewer keywords. You can get broader results if you remove quotes from your search query.</li>
   236               <li>Did your search trigger any warnings? Sometimes a search can be cancelled if there aren\'t any terms in a search query that are 4 characters or greater in length.</li>
   236               <li>Did your search trigger any warnings? Sometimes a search can be cancelled if there aren\'t any terms in a search query that are 4 characters or greater in length.</li>
   237             </ul>';
   237             </ul>';
   238     }
   238     }
       
   239     $code = $plugins->setHook('search_results');
       
   240     foreach ( $code as $cmd )
       
   241     {
       
   242       eval($cmd);
       
   243     }
   239   }
   244   }
   240   else
   245   else
   241   {
   246   {
   242     ?>
   247     ?>
   243     <form action="<?php echo makeUrl($paths->page); ?>" method="get">
   248     <form action="<?php echo makeUrl($paths->page); ?>" method="get">