mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Change all instances of SafeString::of_safe_html() to html::mark_safe() in views.
This commit is contained in:
@@ -111,7 +111,7 @@ class Admin_Languages_Controller extends Admin_Controller {
|
||||
$group->input("api_key")
|
||||
->label(empty($api_key)
|
||||
? t("This is a unique key that will allow you to send translations to the remote server. To get your API key go to %server-link.",
|
||||
array("server-link" => SafeString::of_safe_html(html::anchor($server_link))))
|
||||
array("server-link" => html::mark_safe(html::anchor($server_link))))
|
||||
: t("API Key"))
|
||||
->value($api_key)
|
||||
->error_messages("invalid", t("The API key you provided is invalid."));
|
||||
|
||||
Reference in New Issue
Block a user