[Files] Use p() instead of echo

This commit is contained in:
Lukas Reschke 2013-02-27 21:14:15 +01:00
parent b93ebe1860
commit 5f8bd07927
1 changed files with 1 additions and 2 deletions

View File

@ -36,8 +36,7 @@
<?php if($file['type'] == 'dir'):?> <?php if($file['type'] == 'dir'):?>
<?php print_unescaped(htmlspecialchars($file['name']));?> <?php print_unescaped(htmlspecialchars($file['name']));?>
<?php else:?> <?php else:?>
<?php print_unescaped(htmlspecialchars($file['basename']));?><span <?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span>
class='extension'><?php p($file['extension']);?></span>
<?php endif;?> <?php endif;?>
</span> </span>
<?php if($file['type'] == 'dir'):?> <?php if($file['type'] == 'dir'):?>