forked from OS2web/os2web_acadre_esdh
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from lokeoke/master
Acadre stream wrapper. OS2Web Acadre ESDH text format.
- Loading branch information
Showing
3 changed files
with
94 additions
and
4 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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
/** | ||
* @file | ||
* os2web_acadre_esdh.features.filter.inc | ||
*/ | ||
|
||
/** | ||
* Implements hook_filter_default_formats(). | ||
*/ | ||
function os2web_acadre_esdh_filter_default_formats() { | ||
$formats = array(); | ||
|
||
// Exported format: OS2Web Acadre ESDH. | ||
$formats['os2web_acadre_esdh'] = array( | ||
'format' => 'os2web_acadre_esdh', | ||
'name' => 'OS2Web Acadre ESDH', | ||
'cache' => 1, | ||
'status' => 1, | ||
'weight' => 0, | ||
'filters' => array( | ||
'filter_url' => array( | ||
'weight' => -50, | ||
'status' => 1, | ||
'settings' => array( | ||
'filter_url_length' => 72, | ||
), | ||
), | ||
'filter_html' => array( | ||
'weight' => -49, | ||
'status' => 1, | ||
'settings' => array( | ||
'allowed_html' => '<em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <thead> <tfoot> <tbody> <h1> <h2> <h3> <b> <i> <p> <br /> <br> <a>', | ||
'filter_html_help' => 1, | ||
'filter_html_nofollow' => 1, | ||
), | ||
), | ||
'filter_htmlcorrector' => array( | ||
'weight' => -46, | ||
'status' => 1, | ||
'settings' => array(), | ||
), | ||
), | ||
); | ||
|
||
return $formats; | ||
} |
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