public function testSmall() { $I = $this->codeGuy; $html = TbHtml::small('Small text'); $small = $I->createNode($html, 'small'); $I->seeNodeText($small, 'Small text'); }
echo Yii::app()->request->baseUrl; ?> /css/users.css" /> <p> <b>Questionnaire - Windows Phone</b></p> <div class="well"> <?php $testes_selecionados = array(); ?> <?php echo TbHtml::lead('Characteristics '); ?> <?php echo TbHtml::small('To improve the quality of testing in your app, please answer the questions simply check the functionality required by your app.', array('class' => 'help-block')); ?> <p><?php echo TbHtml::b('Connectivity'); ?> </p> <?php echo TbHtml::checkBoxList('checkConnectivity', '', array('3.1, 3.2' => CHtml::encode('Does your app use Network Connection?'))); ?> <p><?php echo TbHtml::b('Content Interaction'); ?> </p> <?php echo TbHtml::checkBoxList('checkContentInteraction', '', array('4.1, 4.2, 4.3, 4.5' => CHtml::encode('Does your app have content interaction?'), '4.4' => CHtml::encode('Does you app support hover feedback?')));
<?php echo TbHtml::lead('Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, est non commodo luctus.'); ?> </div> <pre class="prettyprint linenums"> <?php echo TbHtml::lead('...'); ?></pre> <hr class="bs-docs-separator"> <h2>Emphasis</h2> <h3>Small</h3> <div class="bs-docs-example"> <p><?php echo TbHtml::small('This line of text is meant to be treated as fine print.'); ?> </p> </div> <pre class="prettyprint linenums"> <p><?php echo TbHtml::small('...'); ?></p></pre> <h3>Bold</h3> <div class="bs-docs-example"> <p>The following snippet of text is <?php echo TbHtml::b('rendered as bold text'); ?> .</p> </div> <pre class="prettyprint linenums">
echo CHtml::hiddenField('FileForm[' . $uniqueId . '][photos][' . $idx . '][thumb_filename]', $model->thumb_filename); echo CHtml::hiddenField('FileForm[' . $uniqueId . '][photos][' . $idx . '][mime_type]', $model->mime_type); $sTitleMaxLength = 'Max length is ' . Yii::app()->params['lengthPhotoTitle'] . ' symbols'; $sDescMaxLength = 'Max length is ' . Yii::app()->params['lengthPhotoDescription'] . ' symbols'; echo TbHtml::textField('FileForm[' . $uniqueId . '][photos][' . $idx . '][description]', $model->description, array('class' => 'fl-l', 'span' => 6, 'style' => 'margin-left: 10px; margin-right: 10px;', 'placeholder' => Yii::t('main', 'photo description'), 'title' => $sDescMaxLength, 'alt' => $sDescMaxLength)); echo TbHtml::textField('FileForm[' . $uniqueId . '][photos][' . $idx . '][sort_order]', $model->sort_order, array('class' => 'fl-l ' . $radiobuttonClass, 'span' => 1, 'style' => 'margin-left: 10px', 'placeholder' => Yii::t('main', 'order num'))); if ($this->portfolioType == 1) { echo '<div class="fl-l ml-10 mr-10 ' . $radiobuttonClass . '" style="margin-left: 10px; margin-right: 10px;">'; $istopID = 'FileForm_' . $uniqueId . '_' . $idx . '_is_top'; echo TbHtml::label(Yii::t('main', 'Main photo') . ' ', $istopID, array('class' => 'checkbox')); echo CHtml::radioButton('FileForm[' . $uniqueId . '][is_top]', $model->is_top, array('id' => $istopID, 'value' => $idx, 'class' => "ml-10 mr-10 ")); echo '</div>'; } ?> <button class="delete-uploaded btn ml-10 mr-10" type="button"> <i class="icon-trash"></i> <span><?php echo Yii::t('main', 'Delete'); ?> </span> </button> <br> <?php echo CHtml::link(TbHtml::small($photoUrl, array('style' => 'margin-left: 10px; margin-right: 10px; cursor: pointer !important;')), $photoUrl, array('title' => $model->title, 'target' => '_blank')); ?> </div> <span class="clearfix mb-10"></span> </div>