Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #6441: Public statistics is missing result data and charts
- Loading branch information
Showing
4 changed files
with
345 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"> | ||
<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang="<?php echo $surveylanguage; ?>" lang="<?php echo $surveylanguage; ?>" <?php if ($condition) { echo 'dir = "rtl"'; } ?> > | ||
<head> | ||
<title><?php echo $sitename; ?></title> | ||
<meta http-equiv="content-type" content="text/html; charset=UTF-\" /> | ||
<link href="<?php echo $thisSurveyCssPath; ?>/template.css" rel="stylesheet" type="text/css" /> | ||
</head> | ||
<body> | ||
<?php | ||
doHeader(); | ||
echo templatereplace(file_get_contents(getTemplatePath(validateTemplateDir($sTemplatePath))."/startpage.pstpl")); | ||
?> | ||
<script type='text/javascript'> | ||
var graphUrl="<?php echo Yii::app()->getController()->createUrl("admin/statistics/graph"); ?>"; | ||
</script> | ||
<div id='statsContainer'> | ||
<div id='statsHeader'> | ||
<div class='statsSurveyTitle'><?php echo $thisSurveyTitle; ?></div> | ||
<div class='statsNumRecords'><?php echo $clang->gT("Total records in survey")." : $totalrecords"; ?></div> | ||
</div> | ||
<?php if (isset($summary) && $summary) { echo $statisticsoutput; } ?><br /> | ||
<?php if (isset($statisticsoutput) && $statisticsoutput) { echo $statisticsoutput; } ?><br /> | ||
</div> | ||
<?php | ||
echo templatereplace(file_get_contents(getTemplatePath(validateTemplateDir($sTemplatePath))."/endpage.pstpl")); | ||
?> | ||
|
Oops, something went wrong.