Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // widget
- $this->widget('zii.widgets.jui.CJuiDatePicker', array(
- 'language'=>'es',
- 'model'=>$model,
- 'attribute'=>'fechaString',
- 'flat'=>false,
- 'options'=>array(
- 'firstDay'=>1,
- 'showOn'=>"both",
- //'buttonImage'=>"images/calendar.gif",
- 'buttonImageOnly'=> true,
- //'minDate'=>-31,
- //'maxDate'=>0,
- 'constrainInput'=>true,
- 'currentText'=>'Now',
- 'dateFormat'=>'dd/mm/yy',
- ),
- 'htmlOptions'=>array(
- ),
- ));
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement