Skip to content

Commit

Permalink
Fixed issue #10468: Missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Feb 16, 2016
1 parent b041020 commit 5953d28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions application/views/admin/homepagesettings/index.php
Expand Up @@ -20,13 +20,13 @@
<div class="row">
<label class="col-sm-2 control-label"><?php eT("Display logo:");?> </label>
<div class="col-sm-2">
<?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'show_logo', 'id'=>'show_logo', 'value'=>$bShowLogo));?>
<?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'show_logo', 'id'=>'show_logo', 'value'=>$bShowLogo, 'onLabel'=>gT('On'),'offLabel'=>gT('Off')));?>

<input type="hidden" id="show_logo-url" data-url="<?php echo App()->createUrl('admin/homepagesettings/sa/toggleShowLogoStatus');?>" />
</div>
<label class="col-sm-2 control-label"><?php eT("Show last visited survey and question:");?> </label>
<div class="col-sm-2">
<?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'show_last_survey_and_question', 'id'=>'show_last_survey_and_question', 'value'=>$bShowLastSurveyAndQuestion));?>
<?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'show_last_survey_and_question', 'id'=>'show_last_survey_and_question', 'value'=>$bShowLastSurveyAndQuestion, 'onLabel'=>gT('On'),'offLabel'=>gT('Off')));?>
<input type="hidden" id="show_last_survey_and_question-url" data-url="<?php echo App()->createUrl('admin/homepagesettings/sa/toggleShowLastSurveyAndQuestion');?>" />
</div>
<br/><br/>
Expand Down
Expand Up @@ -98,12 +98,12 @@

<div class="form-group" id="OtherSelection">
<label><?php eT("Option 'Other':"); ?></label>
<?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'optionother'));?>
<?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'optionother', 'onLabel'=>gT('On'),'offLabel'=>gT('Off')));?>
</div>

<div id='MandatorySelection' class="form-group">
<label><?php eT("Mandatory:"); ?></label>
<?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'switchbuttontest'));?>
<?php $this->widget('yiiwheels.widgets.switch.WhSwitch', array('name' => 'switchbuttontest', 'onLabel'=>gT('On'),'offLabel'=>gT('Off')));?>
</div>

<div class="form-group">
Expand Down

0 comments on commit 5953d28

Please sign in to comment.