示例#1
0
文件: edit.php 项目: soremi/tutornavi
        break;
        ?>

	<?php 
    case 'password':
        ?>

		<?php 
        if (!isset($wrap) || $wrap) {
            ?>
			<div class="input-wrap">
		<?php 
        }
        ?>
			<?php 
        echo form_helper::password($name, form_helper::setValue($name, isset($value[$name]) ? $value[$name] : ''), array('class' => 'text ' . (isset($field['class']) && $field['class'] ? $field['class'] : 'input-xlarge'), 'style' => isset($field['style']) && $field['style'] ? $field['style'] : '', 'id' => $id, 'maxlength' => isset($field['maxlength']) && $field['maxlength'] ? $field['maxlength'] : ''));
        ?>
		<?php 
        if (!isset($wrap) || $wrap) {
            ?>
			</div>
		<?php 
        }
        ?>
		<?php 
        break;
        ?>

	<?php 
    case 'captcha':
        ?>