there is my code: <?php echo CHtml::submitButton('Publish',array('disabled'=>($model->status==1)?true:false)); ?> whatever true or false,the submit button ...
確定! 回上一頁