Pastoid

The page you are looking at now is at this URL: http://pastoid.com/58

This paste was last updated on September 8, 2008 at 3:26 pm.

Pasted Coderaw

public function theme_comment_form( $theme )
{
	$ui = new FormUI( 'comments_form' );
	$ui->set_option( 'form_action',  URL::get( 'submit_feedback', array( 'id' => $theme->post->id ) ) );
 
	$name = $ui->append( 'text', 'ename', 'null:null', _t( 'Name' ) . ' (<em>' . _t( 'Required' ) . '</em>)' );
	$name->value = $theme->commenter_name;
	$name->id = 'name';
 
	$email = $ui->append( 'text', 'email', 'null:null', _t('Email' ) . ' (<em>' . _t( 'Required - not published' ) . '</em>)' );
	$email->value = $theme->commenter_email;
	$email->id = $email->name;
 
	$url = $ui->append( 'text', 'url', 'null:null', _t( 'Web Address' ) );
	$url->value = $theme->commenter_url;
	$url->id = $url->name;
 
	$commentContent = $ui->append( 'textarea', 'commentContent', 'null:null', _t( 'Message' ) . " (<em>" . _t( 'Required' ) . "</em>)" );
	$commentContent->value = $theme->commenter_content;
	$commentContent->id = 'content';
 
	$submit = $ui->append( 'submit', 'submit', _t( 'Say It' ) );
	$submit->id = $submit->name;
 
	$ui->out();
 
}
 
 

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 7
Is this paste spam?
<Hide