jQuery UI Datepicker

Comparing #8 with #9

Revision #9 was created by softark softark on Sep 5, 2013, 11:11:51 AM.

Change about 'i18nScriptFile' ... deleted 2 more lines

Content

[...]
```php
$this->widget('zii.widgets.jui.CJuiDatePicker', array(
'model' => $model,
'attribute' => 'date_from',
'language' => 'ja',
'i18nScriptFile' => 'jquery.ui.datepicker-ja.js',
 
'themeUrl' => Yii::app()->baseUrl . '/css/jui',
'theme' => 'softark',
'cssFile' => 'jquery-ui-1.9.2.custom.css',
[...]
'attribute' => 'date_from',
'language' => 'ja',
'i18nScriptFile' => 'jquery.ui.datepicker-ja.js',
 
'themeUrl' => Yii::app()->baseUrl . '/css/jui',
'theme' => 'softark',
'cssFile' => 'jquery-ui-1.9.2.custom.css',
'options' => array(
'showOn' => 'both', // also opens with a button
'dateFormat' => 'yy-mm-dd', // format of "2012-12-25"
[...]