Ejemplo n.º 1
0
<?php

$form = \app\core\ActiveForm::begin(array('options' => array('class' => 'form-horizontal', 'id' => 'form_modal'), 'fieldConfig' => array('inputOptions' => array('class' => 'input-xlarge'))));
?>
<div id="modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-header alert alert-error">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true" style="margin-right: 20px;">×</button>
   
	   <h3 id="myModalLabel"></h3> 
	 
  </div>
  <div class="modal-body ">
    
  </div>
  <div class="modal-footer">
    	<?php 
echo \app\core\Html::button(__('run'), null, null, array('class' => 'btn btn-primary'));
?>
  </div>
</div>

<?php 
\app\core\ActiveForm::end();
Ejemplo n.º 2
0
	目前仅支持 163 126  Yeah Hotmail
	<hr>
	<br>
	<input name='email' type='text' placeholder='请输入email地址'>
	<br>
	<input name='password' type='password' placeholder="请输入密码,我们不会保存密码">
 
	<div style="clear:both;"></div>
 
	<button class="btn btn-info" type="submit" name="yt0"> <?php 
echo $model->isNewRecord ? __('Create') : __('Save');
?>
 </button>		  

<?php 
ActiveForm::end();
?>

<?php 
if ($users) {
    ?>
	<table class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>Name</th>
				<th>Email</th>
			</tr>
		</thead>
		<tbody class="ui-sortable">
			<?php 
    $i = 0;