Skip to content

Commit

Permalink
Merge pull request #27 from znaeff/master
Browse files Browse the repository at this point in the history
Fixed footer message for different languages.
  • Loading branch information
CleanTalk committed Apr 22, 2016
2 parents 3a8e0cb + 2313f4a commit 55a791f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CleantalkMod.php
Original file line number Diff line number Diff line change
Expand Up @@ -496,10 +496,10 @@ function template_cleantalk_above()
*/
function template_cleantalk_below()
{
global $modSettings;
global $modSettings, $txt;
if(!empty($modSettings['cleantalk_tell_others']))
{
$message = '<a href="https://cleantalk.org/smf-anti-spam-mod">SMF spam</a> blocked by CleanTalk';
$message = $txt['cleantalk_tell_others_footer_message'];
echo '<div class="cleantalk_tell_others" style="text-align: center;padding:5px 0;">', $message, '</div>';
}
}
Expand Down

0 comments on commit 55a791f

Please sign in to comment.