Skip to content

Commit

Permalink
Dev: Add your file before commit ....
Browse files Browse the repository at this point in the history
Dev: little fix on clearall no js
  • Loading branch information
Shnoulle committed Oct 27, 2016
1 parent 43bad82 commit 00d92f5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
11 changes: 6 additions & 5 deletions application/views/survey/system/actionButton/clearAll.php
Expand Up @@ -16,12 +16,13 @@
'name'=>$name,
'class'=>"$class btn btn-default",
'data-confirmedby'=>$confirmedby,
'title'=>gT("This action need confirmation.")
'title'=>gT("This action need confirmation."),
'aria-labelledby'=>$confirmedby, /* ? must be reviewed */
));
echo CHtml::openTag("label",array("class"=>"form-group ls-js-hidden checkbox-item"));
echo CHtml::checkBox($confirmedby,false,array('value'=>$confirmvalue,'class'=>'checkbox-item'));
echo gT("Are you sure you want to clear all your responses?");
echo CHtml::closeTag("label");
echo CHtml::openTag("div",array("class"=>"form-group ls-js-hidden checkbox-item"));
echo CHtml::checkBox($confirmedby,false,array('value'=>$confirmvalue,'id'=>$confirmedby));
echo CHtml::tag("label",array('for'=>$confirmedby,'class'=>'control-label'),gT("Are you sure you want to clear all your responses?"));
echo CHtml::closeTag("div");
echo CHtml::closeTag("div");
?>
<!-- end of views/survey/system/actionButton/moveNext -->
10 changes: 10 additions & 0 deletions application/views/survey/system/no-javascript.php
@@ -0,0 +1,10 @@
<?php
/**
* javacript alert box
*/
?>
<noscript data-type='checkjavascript'>
<div class='alert alert-danger warningjs'>
<?php echo gT("Caution: JavaScript execution is disabled in your browser. You may not be able to answer all questions in this survey. Please, verify your browser parameters."); ?>
</div>
</noscript>

0 comments on commit 00d92f5

Please sign in to comment.