changed CHtml 'prompt' function