From:
function restricted_text_filter_tips($delta, $format, $long = false) {
if ($long) {
return "Restrict text from users by wrapping in [restrict] and [/restrict] tags. This will only allow authenticated users to see the text inside. If you wish to restrict by specific roles, you may user [restrict:roles=(some comma separated list of roles)]. Some modules may allow other restriction possibilities.";
}
else {
return "Restrict text from users by wrapping in [restrict] and [/restrict] tags.";
}
}
To:
function restricted_text_filter_tips($delta, $format, $long = false) {
if ($long) {
return t("Restrict text from users by wrapping in [restrict] and [/restrict] tags. This will only allow authenticated users to see the text inside. If you wish to restrict by specific roles, you may user [restrict:roles=(some comma separated list of roles)]. Some modules may allow other restriction possibilities.");
}
else {
return t("Restrict text from users by wrapping in [restrict] and [/restrict] tags.");
}
}
Comments
Comment #1
pukku commented