/[drupal]/contributions/modules/opencalais/calais.module
ViewVC logotype

Diff of /contributions/modules/opencalais/calais.module

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

revision 1.2.2.8, Tue May 27 17:01:25 2008 UTC revision 1.2.2.9, Tue Jul 1 02:50:36 2008 UTC
# Line 8  Line 8 
8    This program is distributed in the hope that it will be useful,    This program is distributed in the hope that it will be useful,
9    but WITHOUT ANY WARRANTY. See the LICENSE.txt file for more details.    but WITHOUT ANY WARRANTY. See the LICENSE.txt file for more details.
10    
11    $Id: calais.module,v 1.2.2.7 2008/05/16 16:14:44 febbraro Exp $    $Id: calais.module,v 1.2.2.8 2008/05/27 17:01:25 febbraro Exp $
12  */  */
13    
14  define('CALAIS_PROCESS_NO', 'NO');  define('CALAIS_PROCESS_NO', 'NO');
15  define('CALAIS_PROCESS_AUTO', 'AUTO');  define('CALAIS_PROCESS_AUTO', 'AUTO');
16  define('CALAIS_PROCESS_MANUAL', 'MANUAL');  define('CALAIS_PROCESS_MANUAL', 'MANUAL');
17    
 function calais_init() {  
   $modulepath = drupal_get_path('module', 'calais');  
   require_once ("$modulepath/calais.ui.inc");  
 }  
   
18  /**  /**
19   * Implementation of hook_perm().   * Implementation of hook_perm().
20   */   */
# Line 43  function calais_menu($may_cache) { Line 38  function calais_menu($may_cache) {
38      );      );
39    }    }
40    else {    else {
41        $modulepath = drupal_get_path('module', 'calais');
42        require_once ("$modulepath/calais.ui.inc");
43    
44      if (arg(0) == 'node' && is_numeric(arg(1))) {      if (arg(0) == 'node' && is_numeric(arg(1))) {
45        $node = node_load(arg(1));        $node = node_load(arg(1));
46        $items[] = array(        $items[] = array(

Legend:
Removed from v.1.2.2.8  
changed lines
  Added in v.1.2.2.9

  ViewVC Help
Powered by ViewVC 1.1.2