From 32e08c4ef169d61031160d74096f0da97425d929 Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 9 Oct 2015 12:02:57 +0200 Subject: [PATCH] Dev : plural corrections --- .../survey/Question/subQuestion_view.php | 29 ++++++++-------- .../views/admin/survey/listSurveys_view.php | 34 +++++++++---------- 2 files changed, 31 insertions(+), 32 deletions(-) diff --git a/application/views/admin/survey/Question/subQuestion_view.php b/application/views/admin/survey/Question/subQuestion_view.php index 731edbeeab6..8a87b5e6004 100644 --- a/application/views/admin/survey/Question/subQuestion_view.php +++ b/application/views/admin/survey/Question/subQuestion_view.php @@ -29,7 +29,7 @@

- +

@@ -57,7 +57,7 @@ $sortorderids=''; $codeids=''; ?> - +
$anslang) { ?> @@ -93,7 +93,7 @@ <?php eT("Edit subquestion relevance") ?> - + - - + language."_".$row->qid."_{$row->scale_id}", "[".gT("Subquestion:", "js")."](".$row->language.")",$surveyid,$gid,$qid,'editanswer'); ?> - - + + - relevance!="1" && trim($row->relevance)!="") { ?> + relevance!="1" && trim($row->relevance)!="") { ?> <?php eT("Edit subquestion relevance") ?> - - <?php eT("Edit subquestion relevance") ?> + + <?php eT("Edit subquestion relevance") ?> + if ($first) { /* default lang - input field */?> @@ -167,7 +166,7 @@ class="highlight" - +
- + -
+
diff --git a/application/views/admin/survey/listSurveys_view.php b/application/views/admin/survey/listSurveys_view.php index 8c028908e77..d18d19aa6b9 100644 --- a/application/views/admin/survey/listSurveys_view.php +++ b/application/views/admin/survey/listSurveys_view.php @@ -1,14 +1,14 @@ user->getState('pageSize',Yii::app()->params['defaultPageSize']);?>
-

+

@@ -22,7 +22,7 @@ 'class'=>'form-inline', ), )); ?> - +
label($model, 'search: ', array('class'=>'control-label')); ?> @@ -37,16 +37,16 @@ -
+
'btn btn-success')); ?> - - + + endWidget(); ?> -
+
- +
params['pageSizeOptions'], array('class'=>'changePageSize form-control', 'style'=>'display: inline; width: auto')) . - gT(' rows per page'), + gT(' rows per page'), 'columns' => array( array( @@ -69,13 +69,13 @@ 'value'=>'$data->sid', 'htmlOptions' => array('class' => 'col-md-1'), ), - + array( 'name' => 'Title', 'value'=>'$data->defaultlanguage->surveyls_title', 'htmlOptions' => array('class' => 'col-md-1'), ), - + array( 'name' => 'Creation date', 'value'=>'$data->creationdate', @@ -98,19 +98,19 @@ 'name' => 'Active', 'value'=>'$data->activeWord', 'htmlOptions' => array('class' => 'col-md-1'), - ), + ), array( 'name' => 'Partial', 'value'=>'$data->countPartialAnswers', 'htmlOptions' => array('class' => 'col-md-1'), ), - + array( 'name' => 'Full', 'value'=>'$data->countFullAnswers', 'htmlOptions' => array('class' => 'col-md-1'), - ), + ), array( 'name' => 'Total', @@ -130,7 +130,7 @@ 'htmlOptions'=>array('style'=>'cursor: pointer;', 'class'=>'hoverAction'), 'selectionChanged'=>"function(id){window.location='" . Yii::app()->urlManager->createUrl('admin/survey/sa/view/surveyid' ) . '/' . "' + $.fn.yiiGridView.getSelection(id.split(',', 1));}", 'ajaxUpdate' => true, - )); + )); ?>
@@ -143,4 +143,4 @@ $.fn.yiiGridView.update('survey-grid',{ data:{ pageSize: $(this).val() }}); }); }); - \ No newline at end of file +