Fix #305, #304 - Update alerts to use × entity

This commit is contained in:
Ben Word
2012-02-27 11:29:55 -07:00
parent 6492fe9318
commit c17560be27
3 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
<h1><?php _e('File Not Found', 'roots'); ?></h1>
</div>
<div class="alert alert-block fade in">
<a class="close" data-dismiss="alert">×</a>
<a class="close" data-dismiss="alert">&times;</a>
<p><?php _e('The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.', 'roots'); ?></p>
</div>
<p><?php _e('Please try the following:', 'roots'); ?></p>

View File

@@ -11,7 +11,7 @@
<?php if ($comment->comment_approved == '0') { ?>
<div class="alert alert-block fade in">
<a class="close" data-dismiss="alert">×</a>
<a class="close" data-dismiss="alert">&times;</a>
<p><?php _e('Your comment is awaiting moderation.', 'roots'); ?></p>
</div>
<?php } ?>
@@ -28,7 +28,7 @@
<?php if (post_password_required()) { ?>
<section id="comments">
<div class="alert alert-block fade in">
<a class="close" data-dismiss="alert">×</a>
<a class="close" data-dismiss="alert">&times;</a>
<p><?php _e('This post is password protected. Enter the password to view comments.', 'roots'); ?></p>
</div>
</section><!-- /#comments -->
@@ -54,7 +54,7 @@
<?php if (!comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) { ?>
<div class="alert alert-block fade in">
<a class="close" data-dismiss="alert">×</a>
<a class="close" data-dismiss="alert">&times;</a>
<p><?php _e('Comments are closed.', 'roots'); ?></p>
</div>
<?php } ?>
@@ -64,7 +64,7 @@
<?php if (!have_comments() && !comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) { ?>
<section id="comments">
<div class="alert alert-block fade in">
<a class="close" data-dismiss="alert">×</a>
<a class="close" data-dismiss="alert">&times;</a>
<p><?php _e('Comments are closed.', 'roots'); ?></p>
</div>
</section><!-- /#comments -->

View File

@@ -627,7 +627,7 @@ if (class_exists('RGForms')) {
// error message class
function roots_gform_validation_message($message, $form) {
$message = '<div class="alert alert-error fade in">';
$message .= '<a class="close" data-dismiss="alert">×</a>';
$message .= '<a class="close" data-dismiss="alert">&times;</a>';
$message .= '<strong>There was a problem with your submission. Errors have been highlighted below.</strong>';
$message .= '</div>';
return $message;