Change all instances of SafeString::of_safe_html() to html::mark_safe() in views.

This commit is contained in:
Andy Staudacher
2009-08-30 07:00:56 -07:00
parent 52b542b253
commit effccfd41d
13 changed files with 18 additions and 18 deletions

View File

@@ -39,7 +39,7 @@
<?= t("Your most common thumbnail size in Gallery 2 is %g2_pixels pixels, but your Gallery 3 thumbnail size is set to %g3_pixels pixels. <a href=\"%url\">Using the same value</a> will speed up your import.",
array("g2_pixels" => $g2_sizes["thumb"]["size"],
"g3_pixels" => $thumb_size,
"url" => SafeString::of_safe_html(url::site("admin/theme_options")))) ?>
"url" => html::mark_safe(url::site("admin/theme_options")))) ?>
</li>
<? endif ?>
@@ -48,7 +48,7 @@
<?= t("Your most common intermediate size in Gallery 2 is %g2_pixels pixels, but your Gallery 3 thumbnail size is set to %g3_pixels pixels. <a href=\"%url\">Using the same value</a> will speed up your import.",
array("g2_pixels" => $g2_sizes["resize"]["size"],
"g3_pixels" => $resize_size,
"url" => SafeString::of_safe_html(url::site("admin/theme_options")))) ?>
"url" => html::mark_safe(url::site("admin/theme_options")))) ?>
</li>
<? endif ?>
</ul>