Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' */
- $frWidgetFormDate = new sfWidgetFormDate();
- $frWidgetFormDate->configure('format', '%day%/%month%/%year%');
- $this->widgetSchema['lent_since'] = new sfWidgetFormJQueryDate(array(
- 'image' => '/images/calendar.png',
- 'config' => "{
- 'changeMonth' : true,
- 'changeYear' : true,
- }",
- 'culture' => 'fr'
- 'date_widget' => $frWidgetFormDate /* <- on this line */
- ));
- ?>
Add Comment
Please, Sign In to add comment