private function printParams() { // STEP 1 - choose congregation and date ?> <form method="get" class="well well-small clearfix form-inline"> <input type="hidden" name="view" value="<?php echo ents($_REQUEST['view']); ?> " /> <table class="attendance-config-table"> <tr> <th><?php echo _('For'); ?> </th> <td colspan="2" style="min-width: 240px"> <?php Attendance_Record_Set::printPersonFilters($this->_age_brackets, $this->_statuses); ?> </td> </tr> <tr> <th><?php echo _('In'); ?> </th> <td class="valign-top fill-me"> <table class="expandable"> <?php if (empty($this->_cohortids)) { Attendance_Record_Set::printCohortChooserRow(NULL); } else { foreach ($this->_cohortids as $id) { Attendance_Record_Set::printCohortChooserRow($id); } } ?> </table> </td> <tr> <th><?php echo _('On'); ?> </th> <td colspan="2"> <?php print_widget('attendance_date', array('type' => 'date'), $this->_attendance_date); ?> </td> </tr> <?php if ($GLOBALS['system']->featureEnabled('PHOTOS')) { ?> <tr> <th></th> <td> <label class="checkbox"> <input type="checkbox" name="show_photos" value="1" <?php if ($this->_show_photos) { echo 'checked="checked"'; } ?> /> <?php echo _('Show photos'); ?> </label> <?php if (!SizeDetector::isNarrow()) { ?> <br /> <label class="checkbox" title="Tabular format means that multiple groups/congregations will be shown as columns in a combined table"> <input type="checkbox" name="parallel_mode" value="1" <?php if ($this->_parallel_mode) { echo 'checked="checked"'; } ?> /> <?php echo _('Use tabular format'); ?> </label> <?php } ?> </td> </tr> <?php } ?> </table> <button type="submit" class="btn attendance-config-submit"><?php echo _('Continue'); ?> <i class="icon-chevron-right"></i></button> <input type="hidden" name="params_submitted" value="1" /> </form> <?php }
private function _printParams() { ?> <form method="get" class="well well-small clearfix form-inline no-print"> <input type="hidden" name="view" value="<?php echo $_REQUEST['view']; ?> " /> <table class="attendance-config-table"> <tr> <th><?php echo _('For'); ?> </th> <td colspan="2" style="min-width: 240px"> <?php Attendance_Record_Set::printPersonFilters($this->age_brackets, $this->statuses); ?> </td> </tr> <tr> <th><?php echo _('In'); ?> </th> <td class="valign-top fill-me"> <table class="expandable"> <?php if (empty($this->cohortids)) { Attendance_Record_Set::printCohortChooserRow(NULL); } else { foreach ($this->cohortids as $id) { Attendance_Record_Set::printCohortChooserRow($id); } } ?> </table> </td> </tr> <tr> <th><?php echo _('Between'); ?> </th> <td colspan="2"> <?php print_widget('start_date', array('type' => 'date'), $this->start_date); ?> </td> </tr> <tr> <th><?php echo _('And'); ?> </th> <td colspan="2"> <?php print_widget('end_date', array('type' => 'date'), $this->end_date); ?> </td> </tr> <tr> <th><?php echo _('Format'); ?> </th> <td> <?php print_widget('format', array('type' => 'select', 'options' => array('sequential' => 'Sequential', 'tabular' => 'Tabular', 'totals' => 'Date Totals')), $this->format); ?> </td> </tr> </table> <button type="submit" class="btn attendance-config-submit">Go <i class="icon-chevron-right"></i></button> <input type="hidden" name="params_submitted" value="1" /> </form> <?php }