From: Steve Sutton Date: Fri, 15 Jan 2016 15:19:01 +0000 (-0500) Subject: update forms X-Git-Tag: v1.0.0^2~40^2~1 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=e60cf36881f8d6ccdd8c61aa835ded20ad08f947;p=WP-Themes%2Fotsego.git update forms --- diff --git a/glm-emp-config/settings1.php b/glm-emp-config/settings1.php index d802971..6f7bc29 100644 --- a/glm-emp-config/settings1.php +++ b/glm-emp-config/settings1.php @@ -10,7 +10,8 @@ $date_available_for_work = [ 'type' => 'text', 'name' => 'date', 'label' => 'Date:', - 'grid' => 6 + 'grid' => 6, + 'value' => date('n/d/Y'), ]; $type_of_employment = [ 'type' => 'checkbox', diff --git a/glm-emp-config/settings2.php b/glm-emp-config/settings2.php index 0dfe347..8fb3590 100644 --- a/glm-emp-config/settings2.php +++ b/glm-emp-config/settings2.php @@ -133,13 +133,13 @@ for ($i = 1; $i <= 4; ++$i) { 'grid' => 2 ]; ${'employment_typeof'.$i} = [ - 'type' => 'static', + 'type' => 'text', 'name' => 'employment_typeof'.$i, 'req' => false, 'grid' => 2 ]; ${'employment_typeof_sub'.$i} = [ - 'type' => 'static', + 'type' => 'text', 'name' => 'employment_typeof_sub'.$i, 'req' => false, 'grid' => 2 @@ -291,19 +291,27 @@ $form = [ [$edu_title5, $edu_school5, $edu_years5, $edu_grad_degree5, $edu_grad_certificate5, $edu_subject5], [$edu_title6, $edu_school6, $edu_years6, $edu_grad_degree6, $edu_grad_certificate6, $edu_subject6], $topHeader, - [$employment_titleHdr, $employment_datesHdr, $employment_infoHdr, $employment_salaryHdr, $employment_positionHdr, $employment_reasonHdr, $employment_typeOBHdr], + [$employment_titleHdr, $employment_datesHdr, $employment_infoHdr, $employment_salaryHdr, $employment_positionHdr, $employment_reasonHdr], - [$employment_title1, $employment_dates_from1, $employment_info1, $employment_salary_start1, $employment_position1, $employment_reason1, $employment_typeof1], - [$employment_title_sub1, $employment_dates_to1, $employment_supervisor1, $employment_salary_end1,$employment_position_sub1, $employment_reason_sub1, $employment_typeof_sub1], + [$employment_title1, $employment_dates_from1, $employment_info1, + $employment_salary_start1, $employment_position1, $employment_reason1, $employment_typeof1], + [$employment_title_sub1, $employment_dates_to1, $employment_supervisor1, + $employment_salary_end1,$employment_position_sub1, $employment_reason_sub1, $employment_typeof_sub1], - [$employment_title2, $employment_dates_from2, $employment_info2, $employment_salary_start2, $employment_position2, $employment_reason2, $employment_typeof2], - [$employment_title_sub2, $employment_dates_to2, $employment_supervisor2, $employment_salary_end2,$employment_position_sub2, $employment_reason_sub2, $employment_typeof_sub2], + [$employment_title2, $employment_dates_from2, $employment_info2, + $employment_salary_start2, $employment_position2, $employment_reason2, $employment_typeof2], + [$employment_title_sub2, $employment_dates_to2, $employment_supervisor2, + $employment_salary_end2,$employment_position_sub2, $employment_reason_sub2, $employment_typeof_sub2], - [$employment_title3, $employment_dates_from3, $employment_info3, $employment_salary_start3, $employment_position3, $employment_reason3, $employment_typeof3], - [$employment_title_sub3, $employment_dates_to3, $employment_supervisor3, $employment_salary_end3,$employment_position_sub3, $employment_reason_sub3, $employment_typeof_sub3], + [$employment_title3, $employment_dates_from3, $employment_info3, + $employment_salary_start3, $employment_position3, $employment_reason3, $employment_typeof3], + [$employment_title_sub3, $employment_dates_to3, $employment_supervisor3, + $employment_salary_end3,$employment_position_sub3, $employment_reason_sub3, $employment_typeof_sub3], - [$employment_title4, $employment_dates_from4, $employment_info4, $employment_salary_start4, $employment_position4, $employment_reason4, $employment_typeof4], - [$employment_title_sub4, $employment_dates_to4, $employment_supervisor4, $employment_salary_end4,$employment_position_sub4, $employment_reason_sub4, $employment_typeof_sub4], + [$employment_title4, $employment_dates_from4, $employment_info4, + $employment_salary_start4, $employment_position4, $employment_reason4, $employment_typeof4], + [$employment_title_sub4, $employment_dates_to4, $employment_supervisor4, + $employment_salary_end4,$employment_position_sub4, $employment_reason_sub4, $employment_typeof_sub4], [$may_we_contact, $who_to_not_contact], ];