Skip to content

Commit

Permalink
Merge pull request #210 from KRav007/KRav-Develop
Browse files Browse the repository at this point in the history
Fixed issue #9187: Default value edit page - Set value for all languages is not working
  • Loading branch information
c-schmitz committed Dec 5, 2014
2 parents efc1f00 + 825e92b commit 4851c77
Showing 1 changed file with 5 additions and 6 deletions.
Expand Up @@ -176,13 +176,12 @@

if ($language == $baselang && count($questlangs) > 1)
{
echo '<li>';
echo CHtml::label($clang->gT('Use same default value across languages:'), 'samedefault'); // use gT - eT is not working, causes a wrong replacement in label
echo CHtml::checkBox('samedefault', $questionrow['same_default']);
echo '</li>';
?>
<li>
<label for='samedefault'>
<?php $clang->eT('Use same default value across languages:') ?>
</label>
<input type='checkbox' name='samedefault' id='samedefault'<?php $questionrow['same_default'] ? ' checked="checked"' : '' ?> />
</li>

<?php
}
?>
Expand Down

0 comments on commit 4851c77

Please sign in to comment.