示例#1
0
: <span class="txt_require">*</span></label>
            <div class="col-sm-4">
                <?php 
    echo \Extension\Form::password('account_password', '', array('id' => 'account_password', 'maxlength' => '70', 'class' => 'form-control'));
    ?>
 
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" for="account_confirm_password"><?php 
    echo __('account_confirm_password');
    ?>
: <span class="txt_require">*</span></label>
            <div class="col-sm-4">
                <?php 
    echo \Extension\Form::password('account_confirm_password', '', array('id' => 'account_confirm_password', 'maxlength' => '70', 'class' => 'form-control'));
    ?>
 
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary"><?php 
    echo __('account_submit');
    ?>
</button>
            </div>
        </div>
        <?php 
}
// endif;
示例#2
0
:</label>
                            <div class="col-sm-5">
                                <?php 
echo \Extension\Form::input('ftp_username', isset($ftp_username) ? $ftp_username : '', array('maxlength' => '255', 'id' => 'cfg-ftp_username', 'class' => 'form-control'));
?>
 
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="cfg-ftp_password" class="col-sm-2 control-label"><?php 
echo __('config_ftp_password');
?>
:</label>
                            <div class="col-sm-5">
                                <?php 
echo \Extension\Form::password('ftp_password', isset($ftp_password) ? $ftp_password : '', array('maxlength' => '255', 'id' => 'cfg-ftp_password', 'class' => 'form-control'));
?>
 
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="cfg-ftp_port" class="col-sm-2 control-label"><?php 
echo __('config_ftp_port');
?>
:</label>
                            <div class="col-sm-3">
                                <?php 
echo \Extension\Form::number('ftp_port', isset($ftp_port) ? $ftp_port : '', array('maxlength' => '255', 'id' => 'cfg-ftp_port', 'class' => 'form-control'));
?>
 
                            </div>