diff --git a/search.php b/search.php index 8063d7b5c..5b31bd6b0 100644 --- a/search.php +++ b/search.php @@ -150,30 +150,36 @@ class search_front extends e_shortcode } // Shortcodes ----------------------- - - function sc_search_main($parm = '') + + /** + * @param null $parm + * @example {SEARCH_MAIN: mode=basic} + * @return string + */ + function sc_search_main($parm = null) { $tp = e107::getParser(); $value = isset($_GET['q']) ? $tp->post_toForm($_GET['q']) : ""; - - $text = "