예제 #1
0
파일: _form.php 프로젝트: dsyman2/X2CRM
?>
            </span>
        </div>
    <div id='quick-create-list-form' style='display:none'>
        <h3><?php 
echo Yii::t('contacts', 'New Contact List');
?>
</h3>
    </div>
        <div class='row'>
            <label><?php 
echo Yii::t('marketing', 'Email Template:');
?>
</label>
            <?php 
echo X2Html::activeDropDownList($model, 'template', $templates);
?>
            <?php 
echo X2Html::hint(Yii::t('marketing', "Choose a email template to use for this campaign, or create a custom one here."));
?>
        </div>
    </div>

</div>

<?php 
$this->widget('FormView', array('model' => $model, 'form' => $form, 'suppressFields' => array('listId')));
?>

<div id='bottom-container'>
    
예제 #2
0
 /**
  * This method is Copyright (c) 2008-2014 by Yii Software LLC
  * http://www.yiiframework.com/license/ 
  */
 public function dropDownList($model, $attribute, $data, $htmlOptions = array())
 {
     return X2Html::activeDropDownList($model, $attribute, $data, $htmlOptions);
 }