# HG changeset patch # User Nathan Phillip Brink # Date 2010-10-16 21:05:48 # Node ID 7f7017e18145084fc20fd9a6bd24ce9c0b84fd14 # Parent 60bdc2d2972ad923ba4f49517363ba38fe316e14 Hide the ``edit'' button on the schedule demo page. diff --git a/class.schedule.php b/class.schedule.php --- a/class.schedule.php +++ b/class.schedule.php @@ -350,7 +350,8 @@ class Schedule } /* edit button */ - echo '

'; + if ($id = $this->id_get()) + echo '

'; echo "

There were a total of " . $this->possiblePermutations . " possible permutations. Only " . $this->nPermutations . " permutations had no class conflicts.

";