Skip to content

Commit

Permalink
Plugin updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
vbezruchkin committed Jan 5, 2016
1 parent eee2cfe commit d33e9f2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docs/changelog.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<ul>
<li>4.0.0
<ul>
<li>Adapted for Subrion 4.0</li>
</ul>
</li>
<li>3.2.0
<ul>
<li>Adapted for Subrion 3.2</li>
Expand Down
25 changes: 24 additions & 1 deletion includes/hook.check-field.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
<?php
//##copyright##
/******************************************************************************
*
* Subrion - open source content management system
* Copyright (C) 2016 Intelliants, LLC <http://www.intelliants.com>
*
* This file is part of Subrion.
*
* Subrion is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Subrion is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Subrion. If not, see <http://www.gnu.org/licenses/>.
*
*
* @link http://www.subrion.org/
*
******************************************************************************/

if (in_array($value['type'], array(iaField::TEXT, iaField::TEXTAREA)))
{
Expand Down
6 changes: 3 additions & 3 deletions install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<summary>Bad Words filter for packages items and members fields like text and textarea.</summary>
<author>Intelliants LLC</author>
<contributor>Intelliants LLC</contributor>
<version>3.2.0</version>
<date>2014-11-19</date>
<compatibility>3.2</compatibility>
<version>4.0.0</version>
<date>2016-01-05</date>
<compatibility>4.0</compatibility>

<hooks>
<hook name="phpParsePostAfterCheckField" filename="plugins/badwords/includes/hook.check-field.php"><![CDATA[]]></hook>
Expand Down

0 comments on commit d33e9f2

Please sign in to comment.