$moduleTables = array(
'member_accommodations',
- 'member_golf',
'member_restaurants',
);
foreach ($moduleTables as $table) {
// }}}
// {{{ Golf Information
- if ($this->golf) {
- $e[] = array(
- 'type' => 'header',
- 'req' => false,
- 'name' => 'GolfingHdr',
- 'display' => 'Golf Course Information',
- 'col2' => true
- );
- $e[] = array(
- 'type' => 'text',
- 'req' => false,
- 'name' => 'res_url',
- 'display' => 'TeeTime URL',
- 'opts' => array('class' => 'text'),
- 'noCharLimit' => true
- );
- $e[] = array(
- 'type' => 'text',
- 'req' => false,
- 'name' => 'par',
- 'display' => 'Par',
- 'opts' => array('class' => 'text')
- );
- $e[] = array(
- 'type' => 'text',
- 'req' => false,
- 'name' => 'yardage',
- 'display' => 'Yardage',
- 'opts' => array('class' => 'text')
- );
- $e[] = array(
- 'type' => 'text',
- 'req' => false,
- 'name' => 'course_rating',
- 'display' => 'Course Rating',
- 'opts' => array('class' => 'text')
- );
- $e[] = array(
- 'type' => 'text',
- 'req' => false,
- 'name' => 'slope_rating',
- 'display' => 'Slope Rating',
- 'opts' => array('class' => 'text')
- );
- $e[] = array(
- 'type' => 'advcheckbox',
- 'req' => false,
- 'name' => 'walking_course',
- 'display' => 'Walking Course',
- 'val' => array(0, 1)
- );
- $e[] = array(
- 'type' => 'text',
- 'req' => false,
- 'name' => 'holes18',
- 'display' => '18 Holes',
- 'opts' => array('class' => 'text')
- );
- $e[] = array(
- 'type' => 'text',
- 'req' => false,
- 'name' => 'holes9',
- 'display' => '9 Holes',
- 'opts' => array('class' => 'text')
- );
- }
+ //if ($this->golf) {
+ //$e[] = array(
+ //'type' => 'header',
+ //'req' => false,
+ //'name' => 'GolfingHdr',
+ //'display' => 'Golf Course Information',
+ //'col2' => true
+ //);
+ //$e[] = array(
+ //'type' => 'text',
+ //'req' => false,
+ //'name' => 'res_url',
+ //'display' => 'TeeTime URL',
+ //'opts' => array('class' => 'text'),
+ //'noCharLimit' => true
+ //);
+ //$e[] = array(
+ //'type' => 'text',
+ //'req' => false,
+ //'name' => 'par',
+ //'display' => 'Par',
+ //'opts' => array('class' => 'text')
+ //);
+ //$e[] = array(
+ //'type' => 'text',
+ //'req' => false,
+ //'name' => 'yardage',
+ //'display' => 'Yardage',
+ //'opts' => array('class' => 'text')
+ //);
+ //$e[] = array(
+ //'type' => 'text',
+ //'req' => false,
+ //'name' => 'course_rating',
+ //'display' => 'Course Rating',
+ //'opts' => array('class' => 'text')
+ //);
+ //$e[] = array(
+ //'type' => 'text',
+ //'req' => false,
+ //'name' => 'slope_rating',
+ //'display' => 'Slope Rating',
+ //'opts' => array('class' => 'text')
+ //);
+ //$e[] = array(
+ //'type' => 'advcheckbox',
+ //'req' => false,
+ //'name' => 'walking_course',
+ //'display' => 'Walking Course',
+ //'val' => array(0, 1)
+ //);
+ //$e[] = array(
+ //'type' => 'text',
+ //'req' => false,
+ //'name' => 'holes18',
+ //'display' => '18 Holes',
+ //'opts' => array('class' => 'text')
+ //);
+ //$e[] = array(
+ //'type' => 'text',
+ //'req' => false,
+ //'name' => 'holes9',
+ //'display' => '9 Holes',
+ //'opts' => array('class' => 'text')
+ //);
+ //}
// }}}
// {{{ Social Media Links
}
}
}
- $this->clearModule('member_golf');
- if ($golf) {
- $this->updateModuleFields($golfFields, 'member_golf', $mid);
- }
$this->clearModule('member_accommodations');
if ($accommodations) {
$this->updateModuleFields($accommodationFields, 'member_accommodations', $mid);
}
}
}
- $this->clearModule('member_golf');
- if ($golf) {
- $this->updateModuleFields($golfFields, 'member_golf');
- }
$this->clearModule('member_accommodations');
if ($accommodations) {
$this->updateModuleFields($accommodationFields, 'member_accommodations');