Skip to content

Commit

Permalink
fixed bug in equations render
Browse files Browse the repository at this point in the history
  • Loading branch information
agamba committed May 22, 2012
1 parent ac8d372 commit 41193e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions application/views/scripts/smartroom/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/*
echo '<hr>activeProblem:'.$this->activeProblem;
echo '<hr>hwIsFinished:'.$this->hwIsFinished;
echo '<hr>hwIsFinished:'.$this->hwIsFinished;
echo '<hr>username:'.$_SESSION['username'];
echo '<hr>hwgroup:'.$_SESSION['hwgroup'];
Expand Down Expand Up @@ -40,7 +39,7 @@ if($this->hwIsFinished==1)
<h2>Great work - you're done the homework activity!</h2>
<img src="/images/hw_finished.jpg" width="250px"/>
<div id="problems-List">
<?php //echo $hwList; ?>
<?php echo $hwList; ?>

</div>
<?php
Expand Down Expand Up @@ -68,7 +67,7 @@ if($this->hwIsFinished==1)
foreach ($this->equations as $eq)
{
$equationsHtml.='
<li class="ui-state-default" id="'.$eq['EQ_ID'].'">'.'$$x = {'.$eq['name'].'}$$'.'</li>';
<li class="ui-state-default" id="'.$eq['EQ_ID'].'">$${'.$eq['name'].'}$$'.'</li>';
}
/*
*
Expand Down

0 comments on commit 41193e0

Please sign in to comment.