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

This commit is contained in:
Lukas Reschke 2013-02-27 21:20:37 +01:00
parent 85209287bb
commit 7f8eddffe4
2 changed files with 8 additions and 8 deletions

View File

@ -1,19 +1,19 @@
<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>

View File

@ -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>