PageRenderTime 17ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/wp-content/plugins/wordpress-seo/admin/views/form/fieldset.php

https://bitbucket.org/carloskikea/helpet
PHP | 26 lines | 11 code | 3 blank | 12 comment | 1 complexity | d670bd5417fcdf3884a1865846c56044 MD5 | raw file
 1<?php
 2/**
 3 * WPSEO plugin file.
 4 *
 5 * @package WPSEO\Admin
 6 */
 7
 8if ( ! defined( 'WPSEO_VERSION' ) ) {
 9	header( 'Status: 403 Forbidden' );
10	header( 'HTTP/1.1 403 Forbidden' );
11	exit();
12}
13
14/**
15 * @var string $id                ID attribute for the fieldset.
16 * @var string $attributes        Additional attributes for the fieldset.
17 * @var string $legend_attributes Additional attributes for the legend.
18 * @var string $legend_content    The legend text.
19 * @var string $content           The fieldset content, i.e. a set of logically grouped form controls.
20 */
21?>
22
23<fieldset id="<?php echo esc_attr( $id ); ?>"<?php echo $attributes; ?>>
24	<legend id="<?php echo esc_attr( $id . '-legend' ); ?>"<?php echo $legend_attributes; ?>><?php echo esc_html( $legend_content ); ?></legend>
25	<?php echo $content; ?>
26</fieldset>