";
echo '
get_option('code_display') )
echo ' style="display: none;"';
echo '>
' . __( "Website display code example", 'yarpp' ) . '' . __( "(Update options to reload.)", 'yarpp' ) . " ";
echo "";
$this->checkbox( 'auto_display_archive', __( "Also display in archives", 'yarpp' ) );
$this->textbox( 'limit', __( 'Maximum number of related posts:', 'yarpp' ) );
$this->template_checkbox( false );
echo "";
$chosen_template = yarpp_get_option( "template" );
$choice = false === $chosen_template ? 'builtin' :
( $chosen_template == 'thumbnails' ? 'thumbnails' : 'custom' );
echo "";
echo '
';
$this->template_file( false );
echo "
";
echo "";
$this->textbox( 'thumbnails_heading', __( 'Heading:', 'yarpp' ), 40 );
$this->textbox( 'thumbnails_default', __( 'Default image (URL):', 'yarpp' ), 40 );
$this->textbox( 'no_results', __( 'Default display if no results:', 'yarpp' ), 40, 'sync_no_results' );
echo "
";
echo "";
$this->beforeafter( array( 'before_related', 'after_related' ), __( "Before / after related entries:", 'yarpp' ), 15, '', __( "For example:", 'yarpp' ) . ' <ol></ol>' . __( ' or ', 'yarpp' ) . '<div></div>' );
$this->beforeafter( array( 'before_title', 'after_title' ), __( "Before / after each related entry:", 'yarpp' ), 15, '', __( "For example:", 'yarpp' ) . ' <li></li>' . __( ' or ', 'yarpp' ) . '<dl></dl>' );
$this->checkbox( 'show_excerpt', __( "Show excerpt?", 'yarpp' ), 'show_excerpt' );
$this->textbox( 'excerpt_length', __( 'Excerpt length (No. of words):', 'yarpp' ), 10, 'excerpted' );
$this->beforeafter( array( 'before_post', 'after_post' ), __( "Before / after (excerpt):", 'yarpp' ), 10, 'excerpted', __( "For example:", 'yarpp' ) . ' <li></li>' . __( ' or ', 'yarpp' ) . '<dl></dl>' );
$this->textbox( 'no_results', __( 'Default display if no results:', 'yarpp' ), 40, 'sync_no_results' );
echo "
";
$this->displayorder( 'order' );
$this->checkbox( 'promote_yarpp', __( "Help promote Yet Another Related Posts Plugin?", 'yarpp' ) . " " . htmlspecialchars( sprintf( __( "Related posts brought to you by Yet Another Related Posts Plugin.", 'yarpp' ), 'http://www.yarpp.com' ) )."" ) ) . "'> ", 'yarpp' );
}
}