当前位置: 首页>>代码示例>>PHP>>正文


PHP TbHtml::muted方法代码示例

本文整理汇总了PHP中TbHtml::muted方法的典型用法代码示例。如果您正苦于以下问题:PHP TbHtml::muted方法的具体用法?PHP TbHtml::muted怎么用?PHP TbHtml::muted使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TbHtml的用法示例。


在下文中一共展示了TbHtml::muted方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: testMuted

 public function testMuted()
 {
     $I = $this->codeGuy;
     $html = TbHtml::muted('Muted text');
     $p = $I->createNode($html, 'p.muted');
     $I->seeNodeText($p, 'Muted text');
 }
开发者ID:AlexanderGrant1,项目名称:AC41004,代码行数:7,代码来源:TbHtmlTest.php

示例2: array

<div id="informacion">
    <?php 
if (Yii::app()->user->hasFlash('save')) {
    echo TbHtml::alert(TbHtml::ALERT_COLOR_SUCCESS, Yii::app()->user->getFlash('save'));
} else {
    if (Yii::app()->user->hasFlash('error')) {
        echo TbHtml::alert(TbHtml::ALERT_COLOR_ERROR, Yii::app()->user->getFlash('error'));
    } else {
        if (Yii::app()->user->hasFlash('remove')) {
            echo TbHtml::alert(TbHtml::ALERT_COLOR_SUCCESS, Yii::app()->user->getFlash('remove'));
        }
    }
}
$data = Profile::model()->crearArrayStudentsEssay($model->id_essays);
if (empty($data)) {
    echo TbHtml::muted('No hay Estudiantes disponibles para asignar,' . TbHtml::b(' ya todos los Estudiantes activos se encuentran asignados al Essay.'));
    echo "<br />";
} else {
    ?>

        <!-- Form agregar Students a Essay -->
            <?php 
    echo TbHtml::beginFormTb(TbHtml::FORM_LAYOUT_INLINE);
    ?>
        <fieldset>

            <?php 
    /* $this->widget('CAutoComplete',
       array(
       'name'=>'studentsEssay',
       'url'=>CHtml::normalizeUrl(array('/essays/essays/buscarStudents')),
开发者ID:argenis1763,项目名称:vc,代码行数:31,代码来源:view.php

示例3: array

<?php

/* @var $this GamestepController */
?>

    <h1>Игра окончена</h1>
<?php 
echo TbHtml::muted(Yii::app()->session['loser']);
echo TbHtml::linkButton('Играть еще раз', array('color' => TbHtml::BUTTON_COLOR_INFO, 'url' => array('start')));
开发者ID:tatyanayavkina,项目名称:yii_city_game,代码行数:9,代码来源:end.php

示例4: array

<div id="informacion">
<?php 
if (Yii::app()->user->hasFlash('save')) {
    echo TbHtml::alert(TbHtml::ALERT_COLOR_SUCCESS, Yii::app()->user->getFlash('save'));
} else {
    if (Yii::app()->user->hasFlash('error')) {
        echo TbHtml::alert(TbHtml::ALERT_COLOR_ERROR, Yii::app()->user->getFlash('error'));
    } else {
        if (Yii::app()->user->hasFlash('remove')) {
            echo TbHtml::alert(TbHtml::ALERT_COLOR_SUCCESS, Yii::app()->user->getFlash('remove'));
        }
    }
}
$data = Profile::model()->crearArrayStudentsRequirement($model->id);
if (empty($data)) {
    echo TbHtml::muted('No hay Estudiantes disponibles para asignar,' . TbHtml::b(' ya todos los Estudiantes activos tienen un Tutor asignado.'));
    echo "<br />";
} else {
    ?>

		<!-- Form asignar Students a Tutor -->
		<?php 
    echo TbHtml::beginFormTb(TbHtml::FORM_LAYOUT_INLINE);
    ?>
			<fieldset>

				<p>Estudiante:
				<?php 
    $this->widget('yiiwheels.widgets.select2.WhSelect2', array('name' => 'idProfile', 'asDropDownList' => true, 'data' => $data, 'pluginOptions' => array('allowClear' => true, 'minimumInputLength' => 1, 'removed' => true, 'width' => '50%'), 'htmlOptions' => array('prompt' => 'Seleccione un Estudiante...')));
    ?>
	
开发者ID:argenis1763,项目名称:vc,代码行数:30,代码来源:view.php

示例5: array

<?php

/*$box = $this->beginWidget('yiiwheels.widgets.box.WhBox', array(
              'title' => 'Cost History of <span class="text-info">' . $item->name .'</span>',
              'headerIcon' => 'icon-info-sign',
)); */
?>

<?php 
echo TbHtml::em(TbHtml::b($item->name) . ' Current Reference Cost: ' . $item->cost_price, array('color' => TbHtml::TEXT_COLOR_INFO));
echo TbHtml::muted('Average Cost: ' . Yii::app()->numberFormatter->formatCurrency($avg_cost, ''), array('color' => TbHtml::TEXT_COLOR_INFO));
echo TbHtml::muted('Total On-Hand Quantity: ' . $item->quantity, array('color' => TbHtml::TEXT_COLOR_INFO));
?>

<?php 
$this->widget('bootstrap.widgets.TbGridView', array('id' => 'costhistory-grid', 'dataProvider' => $model->costHistory($item_id), 'enableSorting' => false, 'columns' => array(array('name' => 'receive_time', 'header' => 'Date', 'value' => '$data["receive_time"]'), array('name' => 'supplier_id', 'header' => 'Supplier', 'value' => '$data["supplier_id"]'), array('name' => 'quantity', 'header' => 'Qty Received', 'value' => '$data["quantity"]'), array('name' => 'cost_price', 'header' => 'Cost', 'value' => '$data["cost_price"]'))));
?>

<?php 
//$this->endWidget();
开发者ID:noonnightcoder,项目名称:bakou-pos-apsara,代码行数:20,代码来源:_cost_history.php

示例6: array

    <h3>Italic</h3>

    <div class="bs-docs-example">
        <p>The following snippet of text is <?php 
echo TbHtml::i('rendered as italic text');
?>
.</p>
    </div>
    <pre class="prettyprint linenums">
&lt;p>The following snippet of text is &lt;?php echo TbHtml::i('rendered as italic text'); ?>.&lt;/p></pre>

    <h3>Emphasis styles</h3>

    <div class="bs-docs-example">
        <?php 
echo TbHtml::muted('Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.');
?>
        <?php 
echo TbHtml::em('Etiam porta sem malesuada magna mollis euismod.', array('color' => TbHtml::TEXT_COLOR_WARNING));
?>
        <?php 
echo TbHtml::em('Donec ullamcorper nulla non metus auctor fringilla.', array('color' => TbHtml::TEXT_COLOR_ERROR));
?>
        <?php 
echo TbHtml::em('Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.', array('color' => TbHtml::TEXT_COLOR_INFO));
?>
        <?php 
echo TbHtml::em('Duis mollis, est non commodo luctus, nisi erat porttitor ligula.', array('color' => TbHtml::TEXT_COLOR_SUCCESS));
?>
    </div>
    <pre class="prettyprint linenums">
开发者ID:crisu83,项目名称:yiistrap-docs,代码行数:31,代码来源:basics.php

示例7: array

    		$criteria->condition = "essays_has_cruge_user_id_essay_cruge= :searched";
    		$criteria->params = array(":searched"=>$model->id_essay_cruge);
    
    		$essay=EssaysDetail::model()->find($criteria);*/
    ?>
	<?php 
    echo $form->textArea($model, 'content', array('id' => 'editor1', 'span' => 8, 'rows' => 5));
    ?>
	<?php 
}
?>
	
	<?php 
if (Yii::app()->user->checkAccess('Estudiante') && !Yii::app()->user->isSuperAdmin) {
    echo "<br />";
    echo TbHtml::muted('El límite de palabras permitidas para elaborar el Essay es de un máximo de ' . TbHtml::b('4000.'));
}
?>

	<?php 
if (Yii::app()->user->checkAccess('Tutor') || Yii::app()->user->checkAccess('College') || Yii::app()->user->isSuperAdmin) {
    echo $form->fileFieldControlGroup(new EssaysHistorical(), 'file_name', array('type' => 'pdf', 'required' => true, 'help' => 'Solo se permiten subir archivos con la extensión *.pdf.', 'disabled' => $essay->status == 8 ? false : true));
}
?>
	
	<?php 
echo CHtml::hiddenField('idEssay', $essay->id_essay_cruge);
?>
	
	<script type="text/javascript">
			CKEDITOR.replace( 'editor1', {
开发者ID:argenis1763,项目名称:vc,代码行数:31,代码来源:write.php

示例8:

</legend>
<div id="informacion">
<?php 
if (Yii::app()->user->hasFlash('save')) {
    echo TbHtml::alert(TbHtml::ALERT_COLOR_SUCCESS, Yii::app()->user->getFlash('save'));
} else {
    if (Yii::app()->user->hasFlash('error')) {
        echo TbHtml::alert(TbHtml::ALERT_COLOR_ERROR, Yii::app()->user->getFlash('error'));
    } else {
        if (Yii::app()->user->hasFlash('remove')) {
            echo TbHtml::alert(TbHtml::ALERT_COLOR_SUCCESS, Yii::app()->user->getFlash('remove'));
        }
    }
}
if (!empty($model->tutor_id)) {
    echo TbHtml::muted('El Estudiante ya tiene asignado un Tutor.' . TbHtml::b(' Un Estudiante solo puede tener un Tutor asignado.'));
    echo "<br />";
} else {
    $data = Profile::model()->crearArrayTutorStudents();
    ?>

<!-- Form agregar Students a Essay -->
<?php 
    echo TbHtml::beginFormTb(TbHtml::FORM_LAYOUT_INLINE);
    ?>
	<fieldset>
		
		<?php 
    /*this->widget('CAutoComplete',
    			array(
    				'name'=>'tutorStudents',
开发者ID:argenis1763,项目名称:vc,代码行数:31,代码来源:view.php


注:本文中的TbHtml::muted方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。