Skip to content

Commit

Permalink
Merge pull request #12 from VladCleantalk/master
Browse files Browse the repository at this point in the history
small fixes
  • Loading branch information
CleanTalk committed Oct 30, 2015
2 parents f644666 + 003c147 commit d5935d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CleanTalk/Base/CleanTalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function ctSetCookie(c_name, value) {
ctSetCookie("%s", "%s");
</script>';
$ret_val = sprintf($js_template, $field_name, $ct_check_value);
$ret_val.="<div style='width:100%;text-align:center'><a href='https://cleantalk.org/xenforo-antispam-addon'>XenForo spam</a> blocked by CleanTalk.</div>";
}
return $ret_val;
}
Expand Down
2 changes: 1 addition & 1 deletion CleanTalk/addon-CleanTalk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ apikey</sub_options>
<style_properties/>
<templates/>
<public_template_modifications>
<modification template="register_form" modification_key="cleantalk_register_form" description="Adds some script to default register from template" execution_order="10" enabled="1" action="preg_replace">
<modification template="footer" modification_key="cleantalk_register_form" description="Adds some script to default register from template" execution_order="10" enabled="1" action="preg_replace">
<find><![CDATA[/$/]]></find>
<replace><![CDATA[<!-- CleanTalk.Org addon -->
<xen:callback class="CleanTalk_Base_CleanTalk" method="getTemplateAddon"></xen:callback>
Expand Down
2 changes: 1 addition & 1 deletion addon-CleanTalk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ apikey</sub_options>
<style_properties/>
<templates/>
<public_template_modifications>
<modification template="register_form" modification_key="cleantalk_register_form" description="Adds some script to default register from template" execution_order="10" enabled="1" action="preg_replace">
<modification template="footer" modification_key="cleantalk_register_form" description="Adds some script to default register from template" execution_order="10" enabled="1" action="preg_replace">
<find><![CDATA[/$/]]></find>
<replace><![CDATA[<!-- CleanTalk.Org addon -->
<xen:callback class="CleanTalk_Base_CleanTalk" method="getTemplateAddon"></xen:callback>
Expand Down

0 comments on commit d5935d4

Please sign in to comment.