This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/validation/views/index Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ $this->headScript()->appendFile($this->moduleWebroot.'/public/js/index/index.ind
36
36
} ?> "/>
37
37
<span class="dashIcon"><img
38
38
src="<?php echo $ this ->coreWebroot .'/public/images/icons/ok.png ' ; ?> "/></span><span
39
- class="dashTitle"><?php echo $ dashboard ->getName (); ?> </span>
39
+ class="dashTitle"><?php echo $ this -> escape ( $ dashboard ->getName () ); ?> </span>
40
40
<span class="dashDeleteIcon"><img
41
41
src="<?php echo $ this ->coreWebroot .'/public/images/icons/nok.png ' ; ?> "/></span>
42
- <span class="dashDescription"><?php echo $ dashboard ->getDescription (); ?> </span>
42
+ <span class="dashDescription"><?php echo $ this -> escape ( $ dashboard ->getDescription () ); ?> </span>
43
43
</div>
44
44
<?php
45
45
}
@@ -64,8 +64,8 @@ $this->headScript()->appendFile($this->moduleWebroot.'/public/js/index/index.ind
64
64
<h1>Stats</h1>
65
65
<?php
66
66
echo "<ul> " ;
67
- echo " <li> {$ this ->nDashboards } {$ this ->t ('dashboard ' )}" .(($ this ->nDashboards > 1 ) ? 's ' : '' )."</li> " ;
68
- echo " <li> {$ this ->nSubmissions } {$ this ->t ('submissions ' )}" .(($ this ->nSubmissions > 1 ) ? 's ' : '' )."</li> " ;
67
+ echo " <li> {$ this ->escape ( $ this -> nDashboards ) } {$ this ->t ('dashboard ' )}" .(($ this ->nDashboards > 1 ) ? 's ' : '' )."</li> " ;
68
+ echo " <li> {$ this ->escape ( $ this -> nSubmissions ) } {$ this ->t ('submissions ' )}" .(($ this ->nSubmissions > 1 ) ? 's ' : '' )."</li> " ;
69
69
echo "</ul> " ;
70
70
?>
71
71
</div>
You can’t perform that action at this time.
0 commit comments