Adjust messages

This commit is contained in:
rugk 2019-06-21 19:03:45 +02:00
parent 50cc6995e0
commit a1b1efeae2
No known key found for this signature in database
GPG key ID: 05D40A636AFAB34D
2 changed files with 6 additions and 2 deletions

View file

@ -470,7 +470,8 @@ if ($HTTPWARNING):
?> ?>
<div id="httpnotice" role="alert" class="hidden alert alert-danger"> <div id="httpnotice" role="alert" class="hidden alert alert-danger">
<span class="glyphicon glyphicon-alert" aria-hidden="true"></span> <span class="glyphicon glyphicon-alert" aria-hidden="true"></span>
<?php echo I18n::_('This website is using an insecure HTTP connection! Please use it only for testing.'), PHP_EOL; ?> <?php echo I18n::_('This website is using an insecure connection! Please only use it for testing.'), PHP_EOL; ?><br />
<span class="small"><?php echo I18n::_('For more information <a href="https://github.com/PrivateBin/PrivateBin/wiki/FAQ#why-does-it-show-me-an-error-about-an-insecure-connection">see this FAQ entry</a>.'); ?></span>
</div> </div>
<?php <?php
endif; endif;

View file

@ -87,7 +87,10 @@ endif;
<?php <?php
if ($HTTPWARNING): if ($HTTPWARNING):
?> ?>
<div id="httpnotice" class="errorMessage"><?php echo I18n::_('This website is using an insecure HTTP connection! Please use it only for testing.'); ?></div> <div id="httpnotice" class="errorMessage">
<?php echo I18n::_('This website is using an insecure connection! Please only use it for testing.'); ?>
<span class="small"><?php echo I18n::_('For more information <a href="https://github.com/PrivateBin/PrivateBin/wiki/FAQ#why-does-it-show-me-an-error-about-an-insecure-connection">see this FAQ entry</a>.'); ?></span>
</div>
<?php <?php
endif; endif;
?> ?>