mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-01 17:29:21 -04:00
Change all instances of SafeString::of_safe_html() to html::mark_safe() in views.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user