/[drupal]/contributions/modules/htmlarea/htmlarea.module
ViewVC logotype

Diff of /contributions/modules/htmlarea/htmlarea.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.104, Tue Jun 5 01:27:51 2007 UTC revision 1.104.2.1, Sun Nov 11 02:58:24 2007 UTC
# Line 1  Line 1 
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    
# Line 734  function _htmlarea_load_editor() { Line 734  function _htmlarea_load_editor() {
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']));

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.104.2.1

  ViewVC Help
Powered by ViewVC 1.1.2