mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-28 19:22:33 -04:00
htmlspecialchars pour les logs
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<?php $this->logsPaginator->render ('logs_pagination.phtml', 'page'); ?>
|
||||
|
||||
<?php foreach ($items as $log) { ?>
|
||||
<div class="log <?php echo $log->level (); ?>"><span class="date"><?php echo date ('d/m/Y - H:i:s', strtotime ($log->date ())); ?></span><?php echo $log->info (); ?></div>
|
||||
<div class="log <?php echo $log->level (); ?>"><span class="date"><?php echo date ('d/m/Y - H:i:s', strtotime ($log->date ())); ?></span><?php echo htmlspecialchars ($log->info (), ENT_NOQUOTES, 'UTF-8'); ?></div>
|
||||
<?php } ?>
|
||||
|
||||
<?php $this->logsPaginator->render ('logs_pagination.phtml','page'); ?>
|
||||
@@ -18,4 +18,4 @@
|
||||
<?php } else { ?>
|
||||
<p class="alert alert-warn"><?php echo Translate::t ('logs_empty'); ?></p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user