Skip to content

Commit

Permalink
Fixed issue #7282: Public statistics layout uses quirks mode in browser
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Mar 2, 2013
1 parent 3004804 commit ec777f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions application/controllers/admin/conditionsaction.php
Expand Up @@ -899,8 +899,6 @@ function index($subaction, $iSurveyID=null, $gid=null, $qid=null)
->bindValue(":lang1", $sLanguage, PDO::PARAM_STR)
->bindValue(":lang2", $sLanguage, PDO::PARAM_STR)
->query() or safeDie ("Couldn't get other conditions for question $qid<br />$query<br />");



$querytoken = "SELECT count(*) as recordcount "
."FROM {{conditions}} "
Expand Down Expand Up @@ -931,8 +929,6 @@ function index($subaction, $iSurveyID=null, $gid=null, $qid=null)
->bindValue(":qid", $qid, PDO::PARAM_INT)
->query() or safeDie ("Couldn't get other conditions for question $qid<br />$query<br />");



$conditionscount=$conditionscount+$conditionscounttoken;

if ($conditionscount > 0)
Expand Down Expand Up @@ -1206,7 +1202,6 @@ function index($subaction, $iSurveyID=null, $gid=null, $qid=null)
}
//END DISPLAY CONDITIONS FOR THIS QUESTION


// BEGIN: DISPLAY THE COPY CONDITIONS FORM
if ($subaction == "copyconditionsform" || $subaction == "copyconditions")
{
Expand Down Expand Up @@ -1306,7 +1301,6 @@ function index($subaction, $iSurveyID=null, $gid=null, $qid=null)
$qcount = 0;
}


//BEGIN: DISPLAY THE ADD or EDIT CONDITION FORM
if ($subaction == "editconditionsform" || $subaction == "insertcondition" ||
$subaction == "updatecondition" || $subaction == "deletescenario" ||
Expand Down
4 changes: 0 additions & 4 deletions application/views/statistics_user_view.php
@@ -1,7 +1,3 @@
<?php
doHeader();
echo templatereplace(file_get_contents(getTemplatePath(validateTemplateDir($sTemplatePath))."/startpage.pstpl"), array(), $redata);
?>
<script type='text/javascript'>
var graphUrl="<?php echo Yii::app()->getController()->createUrl("admin/statistics/sa/graph"); ?>";
</script>
Expand Down

0 comments on commit ec777f7

Please sign in to comment.