1: <?php
2: 3: 4: 5: 6: 7: 8: 9: 10:
11: class Ansel_Form_ImageDate extends Horde_Form
12: {
13: protected $_useFormToken = false;
14:
15: public function __construct(&$vars, $title)
16: {
17: global $gallery;
18:
19: parent::Horde_Form($vars, $title);
20:
21: $this->setButtons(_("Save"));
22: $this->addHidden('', 'actionID', 'text', false);
23: $this->addHidden('', 'gallery', 'text', false);
24: $this->addHidden('', 'image', 'text', false);
25: $this->addHidden('', 'page', 'text', false);
26: $this->addVariable(_("Editing dates for the following photos"), 'image_list', 'html', false, true);
27: $this->addVariable(_("Original Date"), 'image_originalDate',
28: 'monthdayyear', true, false, null,
29: array('start_year' => 1900));
30: }
31:
32: }
33: