[Files] Use p() instead of echo
This commit is contained in:
parent
b93ebe1860
commit
5f8bd07927
|
@ -36,8 +36,7 @@
|
|||
<?php if($file['type'] == 'dir'):?>
|
||||
<?php print_unescaped(htmlspecialchars($file['name']));?>
|
||||
<?php else:?>
|
||||
<?php print_unescaped(htmlspecialchars($file['basename']));?><span
|
||||
class='extension'><?php p($file['extension']);?></span>
|
||||
<?php print_unescaped(htmlspecialchars($file['basename']));?><span class='extension'><?php p($file['extension']);?></span>
|
||||
<?php endif;?>
|
||||
</span>
|
||||
<?php if($file['type'] == 'dir'):?>
|
||||
|
|
Loading…
Reference in New Issue