From 7ded590b866072e1fa19ad940afa52a7ba47b69c Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Wed, 30 Nov 2011 22:10:07 +0000 Subject: [PATCH] Fix the table of term codes on the ACE Recertification form. --- .../modules/courses/views/scripts/edit/index.phtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/modules/courses/views/scripts/edit/index.phtml b/application/modules/courses/views/scripts/edit/index.phtml index d3c2b895..266173d2 100644 --- a/application/modules/courses/views/scripts/edit/index.phtml +++ b/application/modules/courses/views/scripts/edit/index.phtml @@ -1099,17 +1099,17 @@ if (in_array($this->request->getType(), array('NewCourseWithACE', 'AddACEToCours <thead> <tr> <th>Year</th> + <th>Fall</th> <th>Spring</th> <th>Summer</th> - <th>Fall</th> <tr> </thead> <tbody> <?php for($year = 2009; $year <= date('Y', time()); $year++) { ?> <tr> - <td><?php echo $year; ?></td> - <?php foreach (array(1, 5, 8) as $season) { ?> - <?php $termCode = 1 . substr($year, -2) . $season; ?> + <td><?php echo $year . '-' . ($year+1); ?></td> + <?php foreach (array(8, 1, 5) as $season) { ?> + <?php $termCode = 1 . ($season == 8 ? substr($year, -2) : substr($year+1, -2)). $season; ?> <td> <?php echo $this->formCheckbox( 'ace[recertify][semestersTaught][]', -- GitLab