Skip to content
Snippets Groups Projects
Commit 7f8eddff authored by Lukas Reschke's avatar Lukas Reschke
Browse files

[files_encryption] Use p() instead of echo()

parent 85209287
No related branches found
No related tags found
No related merge requests found
<form id="encryption">
<fieldset class="personalblock">
<legend>
<?php echo $l->t( 'Encryption' ); ?>
<?php p($l->t( 'Encryption' )); ?>
</legend>
<p>
<?php echo $l->t( 'File encryption is enabled.' ); ?>
<?php p($l->t( 'File encryption is enabled.' )); ?>
</p>
<?php if ( ! empty( $_["blacklist"] ) ): ?>
<p>
<?php echo $l->t( 'The following file types will not be encrypted:' ); ?>
<?php p($l->t( 'The following file types will not be encrypted:' )); ?>
</p>
<ul>
<?php foreach( $_["blacklist"] as $type ): ?>
<li>
<?php echo $type; ?>
<?php p($type); ?>
</li>
<?php endforeach; ?>
</ul>
......
......@@ -2,17 +2,17 @@
<fieldset class="personalblock">
<p>
<strong><?php echo $l->t( 'Encryption' ); ?></strong>
<strong><?php p($l->t( 'Encryption' )); ?></strong>
<?php echo $l->t( "Exclude the following file types from encryption:" ); ?>
<?php p($l->t( "Exclude the following file types from encryption:" )); ?>
<br />
<select
id='encryption_blacklist'
title="<?php echo $l->t( 'None' )?>"
title="<?php p($l->t( 'None' ))?>"
multiple="multiple">
<?php foreach($_["blacklist"] as $type): ?>
<option selected="selected" value="<?php echo $type; ?>"> <?php echo $type; ?> </option>
<option selected="selected" value="<?php p($type); ?>"> <?php p($type); ?> </option>
<?php endforeach;?>
</select>
</p>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment