Fix link in l10n UI (for SafeString changes)

This commit is contained in:
Andy Staudacher
2009-08-29 14:24:52 -07:00
parent a5dfc81a8f
commit f327b4ad38

View File

@@ -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" => html::anchor($server_link)))
array("server-link" => SafeString::of_safe_html(html::anchor($server_link))))
: t("API Key"))
->value($api_key)
->error_messages("invalid", t("The API key you provided is invalid."));