Skip to content

Commit

Permalink
Dev Fixed navigation test
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jan 17, 2018
1 parent 79c3ccd commit 28960f3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions application/views/admin/expressions/test/navigation_test.php
Expand Up @@ -8,14 +8,11 @@

<?php
if (count($_POST) == 0) {


$aSurveys = Survey::model()->findAll();
$aSurveys = Survey::model()->with('defaultlanguage')->findAll();
$surveyList='';
foreach($aSurveys as $row) {
$surveyList .= "<option value='" . $row['sid'] .'|' . $row['assessments'] . "'>#" . $row['sid'] . " [" . $row['datecreated'] . '] ' . flattenText($row->defaultlanguage->title) . "</option>\n";
$surveyList .= "<option value='" . $row['sid'] .'|' . $row['assessments'] . "'>#" . $row['sid'] . " [" . $row['datecreated'] . '] ' . flattenText($row->defaultlanguage->surveyls_title) . "</option>\n";
}

$sFormTag= CHtml::form(array('admin/expressions/sa/navigation_test'), 'post');

$form = <<< EOD
Expand Down

0 comments on commit 28960f3

Please sign in to comment.