?>
<p><label for="rss-url-<?php
echo $esc_number; ?>"><?php
_e( 'Enter the RSS feed URL here:'
); ?></label>
<input class="widefat" id="rss-url-<?php
echo $esc_number; ?>" name="widget-rss[<?php
echo $esc_number; ?>][url]" type="text" value="<?php
echo esc_url( $args['url'
] ); ?>" /></p>
<?php
endif;
if ( $inputs['title'
] ) : ?>
<p><label for="rss-title-<?php
echo $esc_number; ?>"><?php
_e( 'Give the feed a title (optional):'
); ?></label>
<input class="widefat" id="rss-title-<?php
echo $esc_number; ?>" name="widget-rss[<?php
echo $esc_number; ?>][title]" type="text" value="<?php
echo esc_attr( $args['title'
] ); ?>" /></p>
<?php
endif;
if ( $inputs['items'
] ) : ?>
<p><label for="rss-items-<?php
echo $esc_number; ?>"><?php
_e( 'How many items would you like to display?'
); ?></label>
<select id="rss-items-<?php
echo $esc_number; ?>" name="widget-rss[<?php
echo $esc_number; ?>][items]">
<?php
for ( $i = 1;
$i <= 20; ++
$i ) { echo "<option value='
$i' " .
selected( $args['items'
],
$i, false
) . ">
$i</option>";
} ?>
</select></p>
<?php
endif;
if ( $inputs['show_summary'
] ||
$inputs['show_author'
] ||
$inputs['show_date'
] ) : ?>
<p>
<?php
if ( $inputs['show_summary'
] ) : ?>
<input id="rss-show-summary-<?php
echo $esc_number; ?>" name="widget-rss[<?php
echo $esc_number; ?>][show_summary]" type="checkbox" value="1" <?php
checked( $args['show_summary'
] ); ?> />
<label for="rss-show-summary-<?php
echo $esc_number; ?>"><?php
_e( 'Display item content?'
); ?></label><br />
<?php
endif;
if ( $inputs['show_author'
] ) : ?>
<input id="rss-show-author-<?php
echo $esc_number; ?>" name="widget-rss[<?php
echo $esc_number; ?>][show_author]" type="checkbox" value="1" <?php
checked( $args['show_author'
] ); ?> />
<label for="rss-show-author-<?php
echo $esc_number; ?>"><?php
_e( 'Display item author if available?'
); ?></label><br />