1 |
5d940405
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
/**
|
4 |
|
|
* @file
|
5 |
|
|
* media_wysiwyg_settings.features.filter.inc
|
6 |
|
|
*/
|
7 |
|
|
|
8 |
|
|
/**
|
9 |
|
|
* Implements hook_filter_default_formats().
|
10 |
|
|
*/
|
11 |
|
|
function media_wysiwyg_settings_filter_default_formats() {
|
12 |
|
|
$formats = array();
|
13 |
|
|
|
14 |
|
|
// Exported format: Filtered HTML.
|
15 |
|
|
$formats['filtered_html'] = array(
|
16 |
|
|
'format' => 'filtered_html',
|
17 |
|
|
'name' => 'Filtered HTML',
|
18 |
|
|
'cache' => 1,
|
19 |
|
|
'status' => 1,
|
20 |
|
|
'weight' => 0,
|
21 |
|
|
'filters' => array(
|
22 |
|
|
'media_filter_paragraph_fix' => array(
|
23 |
|
|
'weight' => -49,
|
24 |
|
|
'status' => 1,
|
25 |
|
|
'settings' => array(
|
26 |
|
|
'replace' => 1,
|
27 |
|
|
),
|
28 |
|
|
),
|
29 |
|
|
'filter_html' => array(
|
30 |
|
|
'weight' => -48,
|
31 |
|
|
'status' => 1,
|
32 |
|
|
'settings' => array(
|
33 |
|
|
'allowed_html' => '<a> <em> <strong> <cite> <blockquote> <code> <img> <h2> <h1> <h3> <div> <span> <section> <b> <ul> <ol> <li> <dl> <dt> <dd> <p> <table> <td> <tr>',
|
34 |
|
|
'filter_html_help' => 1,
|
35 |
|
|
'filter_html_nofollow' => 0,
|
36 |
|
|
),
|
37 |
|
|
),
|
38 |
|
|
'filter_htmlcorrector' => array(
|
39 |
|
|
'weight' => -42,
|
40 |
|
|
'status' => 1,
|
41 |
|
|
'settings' => array(),
|
42 |
|
|
),
|
43 |
|
|
'media_filter' => array(
|
44 |
|
|
'weight' => -41,
|
45 |
|
|
'status' => 1,
|
46 |
|
|
'settings' => array(),
|
47 |
|
|
),
|
48 |
|
|
),
|
49 |
|
|
);
|
50 |
|
|
|
51 |
|
|
// Exported format: Full HTML.
|
52 |
|
|
$formats['full_html'] = array(
|
53 |
|
|
'format' => 'full_html',
|
54 |
|
|
'name' => 'Full HTML',
|
55 |
|
|
'cache' => 1,
|
56 |
|
|
'status' => 1,
|
57 |
|
|
'weight' => 1,
|
58 |
|
|
'filters' => array(
|
59 |
|
|
'filter_htmlcorrector' => array(
|
60 |
|
|
'weight' => -43,
|
61 |
|
|
'status' => 1,
|
62 |
|
|
'settings' => array(),
|
63 |
|
|
),
|
64 |
|
|
'media_filter_paragraph_fix' => array(
|
65 |
|
|
'weight' => -42,
|
66 |
|
|
'status' => 1,
|
67 |
|
|
'settings' => array(
|
68 |
|
|
'replace' => 1,
|
69 |
|
|
),
|
70 |
|
|
),
|
71 |
|
|
'media_filter' => array(
|
72 |
|
|
'weight' => -41,
|
73 |
|
|
'status' => 1,
|
74 |
|
|
'settings' => array(),
|
75 |
|
|
),
|
76 |
|
|
),
|
77 |
|
|
);
|
78 |
|
|
|
79 |
|
|
return $formats;
|
80 |
|
|
} |