Skip to content

Instantly share code, notes, and snippets.

@michaeltwofish
Created November 26, 2011 05:38
Show Gist options
  • Save michaeltwofish/1395103 to your computer and use it in GitHub Desktop.
Save michaeltwofish/1395103 to your computer and use it in GitHub Desktop.
<?php if ( !defined( 'HABARI_PATH' ) ) { die('No direct access'); } ?>
<form
id="<?php echo $id; ?>"
method="<?php echo isset($method)?$method:'post'?>"
action="<?php echo $action; ?>"
class="<?php echo $class; ?>"
enctype="<?php echo $enctype; ?>"
accept-charset="<?php echo $accept_charset; ?>"
<?php echo $onsubmit; ?>
>
<?php if (isset($message) && $message != ''): ?>
<div class="form_message"><?php echo $message; ?></div>
<?php endif; ?>
<input type="hidden" name="FormUI" value="<?php echo $salted_name; ?>">
<?php echo $pre_out; ?>
<?php echo $controls; ?>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment