| @@ -1,14 +1,14 @@ | ||
| 1 | -<?php | |
| 2 | -class Element_Date extends Element_Textbox { | |
| 3 | - protected $jQueryOptions; | |
| 4 | - | |
| 5 | - public function jQueryDocumentReady() { | |
| 6 | - parent::jQueryDocumentReady(); | |
| 7 | - echo 'jQuery("#', $this->attributes["id"], '").datepicker(', $this->jQueryOptions(), ');'; | |
| 8 | - } | |
| 9 | - | |
| 10 | - public function render() { | |
| 11 | - $this->validation[] = new Validation_Date; | |
| 12 | - parent::render(); | |
| 13 | - } | |
| 14 | -} | |
| 1 | +<?php | |
| 2 | +class Element_Date extends Element_Textbox { | |
| 3 | + protected $jQueryOptions; | |
| 4 | + | |
| 5 | + public function jQueryDocumentReady() { | |
| 6 | + parent::jQueryDocumentReady(); | |
| 7 | + echo 'jQuery("#', $this->attributes["id"], '").datepicker(', $this->jQueryOptions(), ');'; | |
| 8 | + } | |
| 9 | + | |
| 10 | + public function render() { | |
| 11 | + $this->validation[] = new Validation_Date; | |
| 12 | + parent::render(); | |
| 13 | + } | |
| 14 | +} | |