check_url

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

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

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

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

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

aggregator_refresh in modules/aggregator/aggregator.module
Проверяет фид новостей на наличие новых пунктов.
blog_form in modules/blog/blog.module
Реализация hook_form().
chameleon_page in themes/chameleon/chameleon.theme
format_rss_channel in includes/common.inc
Formats an RSS channel.
format_rss_item in includes/common.inc
Форматирует один элемент(новость) RSS.
l in includes/common.inc
Оформляет ссылки.
profile_view_field in modules/profile/profile.module
template_preprocess_aggregator_feed_source in modules/aggregator/aggregator.pages.inc
Process variables for aggregator-feed-source.tpl.php. See alsoaggregator-feed-source.tpl.php
template_preprocess_aggregator_item in modules/aggregator/aggregator.pages.inc
Process variables for aggregator-item.tpl.php. See alsoaggregator-item.tpl.php
template_preprocess_aggregator_summary_item in modules/aggregator/aggregator.pages.inc
Process variables for aggregator-summary-item.tpl.php. See alsoaggregator-summary-item.tpl.php
template_preprocess_maintenance_page in includes/theme.maintenance.inc
The variables generated here is a mirror of template_preprocess_page(). This preprocessor will run it's course when theme_maintenance_page() is invoked. It is also used in theme_install_page() and theme_update_page() to keep all the variables...
template_preprocess_page in includes/theme.inc
Обрабатывает переменные для page.tpl.php
template_preprocess_search_result in modules/search/search.pages.inc
Process variables for search-result.tpl.php.
theme_aggregator_block_item in modules/aggregator/aggregator.module
Format an individual feed item for display in the block.
theme_aggregator_page_opml in modules/aggregator/aggregator.pages.inc
Темизирует вывод новостной ленты в формате OPML.
theme_aggregator_page_rss in modules/aggregator/aggregator.pages.inc
Темизирует вывод RSS.
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_more_link in includes/theme.inc
Returns code that emits the 'more' link used on blocks.
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);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

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