#56346: XHTML validation error due to comment.module links
parent
bbf695fb04
commit
b3cb4f0d9b
|
@ -1588,10 +1588,10 @@ function theme_comment_post_forbidden($nid) {
|
|||
}
|
||||
|
||||
if (variable_get('user_register', 1)) {
|
||||
return t('<a href="%login">login</a> or <a href="%register">register</a> to post comments', array('%login' => url('user/login', $destination), '%register' => url('user/register', $destination)));
|
||||
return t('<a href="%login">login</a> or <a href="%register">register</a> to post comments', array('%login' => url('user/login', $destination), '%register' => check_url(url('user/register', $destination))));
|
||||
}
|
||||
else {
|
||||
return t('<a href="%login">login</a> to post comments', array('%login' => url('user/login', $destination)));
|
||||
return t('<a href="%login">login</a> to post comments', array('%login' => check_url(url('user/login', $destination))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1588,10 +1588,10 @@ function theme_comment_post_forbidden($nid) {
|
|||
}
|
||||
|
||||
if (variable_get('user_register', 1)) {
|
||||
return t('<a href="%login">login</a> or <a href="%register">register</a> to post comments', array('%login' => url('user/login', $destination), '%register' => url('user/register', $destination)));
|
||||
return t('<a href="%login">login</a> or <a href="%register">register</a> to post comments', array('%login' => url('user/login', $destination), '%register' => check_url(url('user/register', $destination))));
|
||||
}
|
||||
else {
|
||||
return t('<a href="%login">login</a> to post comments', array('%login' => url('user/login', $destination)));
|
||||
return t('<a href="%login">login</a> to post comments', array('%login' => check_url(url('user/login', $destination))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue