echo CHtml::hiddenField("Import", "true"); ?> <fieldset> <legend><?php echo Yii::t('core', 'importFile'); ?> </legend> <?php echo CHtml::fileField('file', '', array()); ?> (<?php echo Yii::t('core', 'maximum'); ?> : <?php echo ConfigUtil::getMaxUploadSize(true); ?> ) <br /> <br /> <?php //echo Yii::t('core', 'characterSet', array(1)); ?> <br /> <?php //echo CHtml::activeDropDownList($model, 'fromCharacterSet', CHtml::listData($model->characterSets, 'name', 'name')); ?> <b><?php echo Yii::t('core', 'notice'); ?> </b><br />
public function getMaxFileSize() { return ConfigUtil::getMaxUploadSize(true); }