user;
$model->buildButtons();
?>
rating )) {
?>
buttons[ 'delete' ] )) {
echo Html::a('Удалить', $model->buttons[ 'delete' ], [ 'class' => CommentWidget::$baseClass[ 'comment_delete' ] ]);
}
if(!empty( $model->buttons[ 'update' ] )) {
echo Html::a('Редактировать', $model->buttons[ 'update' ], [ 'class' => CommentWidget::$baseClass[ 'comment_update' ] ]);
}
if(!empty( $model->buttons[ 'reply' ] )) {
echo Html::a('Ответить', $model->buttons[ 'reply' ], [ 'class' => CommentWidget::$baseClass[ 'comment_reply' ] ]);
}
?>
isNewRecord) {
$this->registerJs("$('div.rating').rating(
{
fx : 'full', readOnly : 'true', url : 'rating.php'
}
);");
}
?>