check_url

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

includes/common.inc, строка 966

Версии
5 – 6
check_url($uri)

Подготавливает URL для использования в качестве HTML-атрибута. Убирает вредоносные протоколы.

Связанные темы

▾ 24 функции вызывают check_url()

aggregator_page_opml in modules/aggregator/aggregator.module
Коллбэк меню; генерирует представление OPML из всех фидов.
aggregator_page_rss in modules/aggregator/aggregator.module
Коллбэк меню. Генерирует фид из материалов аггергатора или категорий в формате RSS 0.92.
aggregator_refresh in modules/aggregator/aggregator.module
Проверяет фид новостей на наличие новых пунктов.
blog_form in modules/blog/blog.module
Реализация hook_form().
chameleon_page in themes/chameleon/chameleon.theme
drupal_client_ping in modules/drupal/drupal.module
Callback function from drupal_xmlrpc() called when another site pings this one.
drupal_get_js in includes/common.inc
Returns a themed presentation of all JavaScript code for the current page. References to JavaScript files are placed in a certain order: first, all 'core' files, then all 'module' and finally all 'theme' JavaScript...
format_rss_channel in includes/common.inc
Formats an RSS channel.
format_rss_item in includes/common.inc
Format a single RSS item.
l in includes/common.inc
Оформляет ссылки.
phptemplate_page in themes/engines/phptemplate/phptemplate.engine
Prepare the values passed to the theme_page function to be passed into a pluggable template engine. Uses the arg() function to generate a series of page template files suggestions based on the current path. If none are found, the default page.tpl.php...
profile_view_field in modules/profile/profile.module
theme_aggregator_block_item in modules/aggregator/aggregator.module
Format an individual feed item for display in the block.
theme_aggregator_page_item in modules/aggregator/aggregator.module
Format an individual feed item for display on the aggregator page.
theme_aggregator_summary_item in modules/aggregator/aggregator.module
Return a themed item heading for summary pages located at 'aggregator/sources' and 'aggregator/categories'.
theme_client_list in modules/drupal/drupal.module
Theme a client list.
theme_feed_icon in includes/theme.inc
Возвращает код, который выдает иконку новостной ленты.
theme_form in includes/form.inc
Темизирует форму.
theme_image in includes/theme.inc
Возвращает темизированную картинку.
theme_more_help_link in includes/theme.inc
Returns code that emits the 'more help'-link.
theme_search_item in modules/search/search.module
Format a single result entry of a search query. This function is normally called by theme_search_page() or hook_search_page().
theme_textfield in includes/form.inc
Форматирует однострочное текстовое поле ввода.
theme_xml_icon in includes/theme.inc
Возвращает код, который отображает иконку XML.
_filter_url_parse_full_links in modules/filter/filter.module
Make links out of absolute URLs.

Код

<?php
function check_url($uri) {
  return filter_xss_bad_protocol($uri, FALSE);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему