<?php if ($widget == 'single_text'): ?> <?php echo $view['form']->block($form, 'form_widget_simple'); ?> <?php else: ?> <div <?php echo $view['form']->block($form, 'widget_container_attributes') ?>> <?php echo $view['form']->widget($form['date']).' '.$view['form']->widget($form['time']) ?> </div> <?php endif ?>
info at phpclasses dot org