[Files] Use p() instead of echo

remotes/origin/stable5
Lukas Reschke 12 years ago
parent b93ebe1860
commit 5f8bd07927
  1. 3
      apps/files/templates/part.list.php

@ -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…
Cancel
Save