"tag-reserved", "text" => "#$tag", "search" => "#$search"); } foreach ($sample_searches_tags as $tag) { $search = str_replace(" ", "-", $tag); $sample_searches[] = array("type" => "tag", "text" => "#$tag", "search" => "#$search"); } foreach ($sample_searches_plain as $text) { $sample_searches[] = array("type" => "plain", "text" => $text, "search" => $text); } foreach ($sample_searches_languages as $language_array) { $sample_searches[] = array("type" => "language", "text" => $language_array[1], "search" => "lang:" . $language_array[0]); } ?>