标签:http io os ar sp on cti log ad
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/TableView.js");
Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . "/js/datechooser.js");
Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . "/css/datechooser.css");
Yii::app()->clientScript->registerScript(‘user_is_guest‘, ‘$(document).ready(function(){$(".login-box-bg").show();$("#login-user-box").show();})‘, CClientScript::POS_READY);
Yii::app()->clientScript->registerScript(‘user_is_guest‘, "alert(‘".Yii::app()->user->getFlash(‘user_is_guest‘)."‘);", CClientScript::POS_READY);
标签:http io os ar sp on cti log ad
原文地址:http://www.cnblogs.com/debmzhang/p/4023885.html