Skip to content

Commit

Permalink
Purple league is a possible option for the future.
Browse files Browse the repository at this point in the history
  • Loading branch information
benthemonkey committed Apr 16, 2015
1 parent 71e671e commit f7010ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spc-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require_once "./ajax/PointsCenter.php";
$points_center = new \Slivka\PointsCenter();

$im_leagues = array('Co-Rec', 'White');
$im_leagues = array('Co-Rec', 'White', 'Purple');
$im_sports = array('Basketball', 'Dodgeball', 'Floor Hockey', 'Football', 'Soccer', 'Softball', 'Ultimate Frisbee', 'Volleyball');

$config = $points_center->getConfig();
Expand Down Expand Up @@ -106,8 +106,8 @@ function getSlivkanName($slivkans, $nu_email)
<span class="edit" style="display:none;">
<select id="im-select" class="multiselect" multiple="multiple">
<?php
foreach ($im_sports as $sport) {
foreach ($im_leagues as $league) {
foreach ($im_leagues as $league) {
foreach ($im_sports as $sport) {
echo '<option ' .
(in_array($league.' '.$sport, $qtr_info['im_teams']) ? 'selected' : '') . '>' .
$league.' '.$sport.
Expand Down

0 comments on commit f7010ec

Please sign in to comment.