Skip to content

Commit

Permalink
Dev: render load screen
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jun 2, 2017
1 parent 7b5236d commit ccba355
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application/controllers/admin/templates.php
Expand Up @@ -1255,6 +1255,7 @@ protected function _initialise($templatename, $screenname, $editfile, $showsumma
break;

case 'load':
/*
$files=$Load;
$aData['aReplacements'] = $aGlobalReplacements;
$myoutput[] = templatereplace(file_get_contents("$templatedir/startpage.pstpl"), array(),$aData['aReplacements'], 'Unspecified', false, NULL, array(), false, $oEditedTemplate);
Expand All @@ -1269,6 +1270,8 @@ protected function _initialise($templatename, $screenname, $editfile, $showsumma
$myoutput[] = templatereplace(file_get_contents("$templatedir/endpage.pstpl"), $aData['aReplacements'], $aData['aReplacements'], 'Unspecified', false, NULL, array(), false, $oEditedTemplate);
$myoutput[] = "\n";
*/
$myoutput = Yii::app()->twigRenderer->renderTemplateFromFile("layout_load.twig", array('aSurveyInfo'=>$thissurvey), true);
break;

case 'clearall':
Expand Down

0 comments on commit ccba355

Please sign in to comment.