root/ip/trunk/includes/functions_search.php
| 119 | 171 | ||
|---|---|---|---|
374 | 'L_SEARCH_EXPLAIN' => $lang['Search_author_explain'], | 374 | 'L_SEARCH_EXPLAIN' => $lang['Search_author_explain'], |
375 | 'L_CLOSE_WINDOW' => $lang['Close_window'], | 375 | 'L_CLOSE_WINDOW' => $lang['Close_window'], |
376 | 376 | ||
377 | 'S_TARGET_FORM_NAME' => preg_replace('/[^A-Za-z0-9-_]+/', '', request_var('target_form_name', 'post')), | ||
378 | 'S_TARGET_ELEMENT_NAME' => preg_replace('/[^A-Za-z0-9-_]+/', '', request_var('target_element_name', 'username')), | ||
379 | |||
377 | 'S_USERNAME_OPTIONS' => $username_list, | 380 | 'S_USERNAME_OPTIONS' => $username_list, |
378 | 'S_SEARCH_ACTION' => append_sid(CMS_PAGE_SEARCH . '?mode=searchuser') | 381 | 'S_SEARCH_ACTION' => append_sid(CMS_PAGE_SEARCH . '?mode=searchuser') |
379 | ) | 382 | ) |
... | ... | ||
383 | { | 386 | { |
384 | if ($username_list == '') | 387 | if ($username_list == '') |
385 | { | 388 | { |
386 | $template->assign_var('USERNAME_LIST_VIS', 'style="display:none;"'); | 389 | $template->assign_var('USERNAME_LIST_VIS', 'style="display: none;"'); |
387 | } | 390 | } |
388 | } | 391 | } |
389 | else | 392 | else |
Download diff