diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-02-13 14:36:59 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-02-13 14:37:21 +0000 |
| commit | 72789bf6d247c93c02631a7f0a57919a12ff040a (patch) | |
| tree | 486a67e4b2d33f8b213897c256033dd31fd4bd15 | |
| parent | 3b0cf3689328452021d724c278a80e07b9aa255c (diff) | |
| download | webtrees-72789bf6d247c93c02631a7f0a57919a12ff040a.tar.gz webtrees-72789bf6d247c93c02631a7f0a57919a12ff040a.tar.bz2 webtrees-72789bf6d247c93c02631a7f0a57919a12ff040a.zip | |
Bad markup exposing PHP code
| -rw-r--r-- | admin.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,14 +117,14 @@ $stats = new WT_Stats(WT_GEDCOM); </div> <?php if (WT_USER_IS_ADMIN && $old_files) { ?> - <h2><span class="warning">', WT_I18N::translate('Old files found'), '</span></h2> + <h2><span class="warning"><?php echo WT_I18N::translate('Old files found'); ?></span></h2> <div> <p> <?php echo WT_I18N::translate('Files have been found from a previous version of webtrees. Old files can sometimes be a security risk. You should delete them.'); ?> </p> <ul> <?php foreach ($old_files as $file) { ?> - <li dir="ltr"><?php echo $path; ?></li>'; + <li dir="ltr"><?php echo $path; ?></li> <?php } ?> </ul> </div> |
