| 1 |
<?php |
<?php |
| 2 |
// $Id: htmlarea.module,v 1.103 2007/02/19 05:54:11 gordon Exp $ $Name: $ |
// $Id: htmlarea.module,v 1.104 2007/06/05 01:27:51 gordon Exp $ $Name: DRUPAL-5--2 $ |
| 3 |
|
|
| 4 |
function htmlarea_help($section) { |
function htmlarea_help($section) { |
| 5 |
|
|
| 734 |
drupal_add_js(_htmlarea_get_jsdir() .'/htmlarea.js', 'module', 'footer'); |
drupal_add_js(_htmlarea_get_jsdir() .'/htmlarea.js', 'module', 'footer'); |
| 735 |
} |
} |
| 736 |
|
|
| 737 |
if ($plugins = variable_get('htmlarea_plugins', NULL)) { |
if ($plugin_list = variable_get('htmlarea_plugins', NULL)) { |
| 738 |
foreach ($plugins as $d => $a) { |
$plugins = array(); |
| 739 |
|
foreach ($plugin_list as $d => $a) { |
| 740 |
if ($a['enable']) { |
if ($a['enable']) { |
| 741 |
$plugins[] = $a['name']; |
$plugins[] = $a['name']; |
| 742 |
$plugin = strtolower(preg_replace_callback('/([a-z])([A-Z])([a-z])/', '_htmlarea_plugin_preg', $a['name'])); |
$plugin = strtolower(preg_replace_callback('/([a-z])([A-Z])([a-z])/', '_htmlarea_plugin_preg', $a['name'])); |