-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
12 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,8 @@ class Module extends FormToolsModule | |
protected $author = "Ben Keen"; | ||
protected $authorEmail = "[email protected]"; | ||
protected $authorLink = "https://formtools.org"; | ||
protected $version = "2.0.0"; | ||
protected $date = "2017-11-01"; | ||
protected $version = "2.0.1"; | ||
protected $date = "2017-11-23"; | ||
protected $originLanguage = "en_us"; | ||
|
||
protected $jsFiles = array("scripts/text_override.js"); | ||
|
@@ -44,9 +44,9 @@ public function install($module_id) | |
return array(false, "Failed Query: " . $e->getMessage()); | ||
} | ||
|
||
// register the hooks. This simply adds the POTENTIAL for the module to be called in those | ||
// functions. The text_override_replace function does the job of processing the user-defined list of | ||
// parsing rules, as entered via the UI. If there are no rules, nothing happens | ||
// This adds the POTENTIAL for the module to be called in those functions. The text_override_replace function | ||
// does the job of processing the user-defined list of parsing rules, as entered via the UI. If there are no | ||
// rules, nothing happens | ||
Hooks::registerHook("code", "text_override", "main", "FormTools\\Themes::displayPage", "replaceStrings"); | ||
|
||
return array(true, ""); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters