Index: system/themes/k2/theme.php =================================================================== --- system/themes/k2/theme.php (revision 4067) +++ system/themes/k2/theme.php (working copy) @@ -54,6 +54,7 @@ //Add formcontrol template with input before label $this->add_template( 'k2_text', dirname(__FILE__) . '/formcontrol_text.php' ); + $this->add_template( 'k2_email', dirname(__FILE__) . '/formcontrol_email.php' ); if( !$this->template_engine->assigned( 'pages' ) ) { @@ -122,7 +123,7 @@ $form->cf_commenter->caption = '' . _t('Name') . '' . ( Options::get('comments_require_id') == 1 ? ' *' . _t('Required') : '' ) . ''; $form->cf_commenter->template = 'k2_text'; $form->cf_email->caption = '' . _t('Mail') . ' ' . _t( '(will not be published)' ) .'' . ( Options::get('comments_require_id') == 1 ? ' *' . _t('Required') : '' ) . ''; - $form->cf_email->template = 'k2_text'; + $form->cf_email->template = 'k2_email'; $form->cf_url->caption = '' . _t('Website') . ''; $form->cf_url->template = 'k2_text'; $form->cf_content->caption = ''; Index: system/themes/k2/formcontrol_email.php =================================================================== --- system/themes/k2/formcontrol_email.php (revision 0) +++ system/themes/k2/formcontrol_email.php (revision 0) @@ -0,0 +1,5 @@ +> + title="" tabindex="" size="" type="email" id="" name="" value=""> + title="" for="">caption; ?> + errors_out( '
  • %s
  • ', '
      %s
    ' ); ?> +