[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 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'):?>
|
||||||
|
|
Loading…
Reference in New Issue