EstudioJuridicoAlmagro_Web/www/wpv_common/widgets/tpl/contactform-widget.php
2013-03-01 18:06:10 +00:00

35 lines
1.2 KiB
PHP

<?php
echo $before_widget;
if ($title)
echo $before_title . $title . $after_title;
?>
<p style="display:none;">
<?php _e('Your message was successfully sent. <strong>Thank You!</strong>', 'wpv'); ?>
</p>
<form class="contact_form dynform" action="<?php echo WPV_INCLUDES; ?>sendmail.php" method="post">
<input type="hidden" value="<?php echo $email; ?>" name="contact_to"/>
<p>
<label for="contact_name"><?php _e('Name (required)', 'wpv'); ?></label>
<input type="text" required="required" id="contact_name" name="contact_name" class="text_input" value="" size="22" tabindex="5" placeholder="<?php _e('Name (required)', 'wpv'); ?>" />
</p>
<p>
<label for="contact_email"><?php _e('Email (required)', 'wpv'); ?></label>
<input type="email" required="required" id="contact_email" name="contact_email" class="text_input" value="" size="22" tabindex="6" placeholder="<?php _e('Email (required)', 'wpv'); ?>" />
</p>
<p>
<textarea required="required" name="contact_content" class="textarea" tabindex="7"></textarea>
</p>
<p>
<div class="wire-pad">
<input type="submit" class="button" value="<?php _e('Submit', 'wpv'); ?>" />
</div>
</p>
</form>
<?php
echo $after_widget;