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

Diff of /contributions/modules/autotagging/autotagging.module

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

revision 1.8, Mon Jul 27 17:52:01 2009 UTC revision 1.9, Mon Jul 27 17:58:39 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: autotagging.module,v 1.7 2009/07/24 17:38:20 acstewart Exp $  // $Id: autotagging.module,v 1.8 2009/07/27 17:52:01 acstewart Exp $
3  /*  /*
4   * @file autotagging.module   * @file autotagging.module
5   * Module for base Autotagging API.   * Module for base Autotagging API.
# Line 51  function autotagging_nodeapi(&$node, $op Line 51  function autotagging_nodeapi(&$node, $op
51        $text[] = str_replace("\n", ' ', $node->body);        $text[] = str_replace("\n", ' ', $node->body);
52        $text = implode(' ', $text);        $text = implode(' ', $text);
53        $ignore_setting = variable_get('autotagging_error_handling', 'Defer');        $ignore_setting = variable_get('autotagging_error_handling', 'Defer');
54          $terms = array();
55        foreach (module_implements('autotagging_api_'. $op) as $module_name) {        foreach (module_implements('autotagging_api_'. $op) as $module_name) {
56          $terms = module_invoke($module_name, 'autotagging_api_'. $op, $node, $text);          $terms = module_invoke($module_name, 'autotagging_api_'. $op, $node, $text);
57          if ($terms === FALSE) {          if ($terms === FALSE) {
# Line 85  function autotagging_requirements($phase Line 86  function autotagging_requirements($phase
86    switch ($phase) {    switch ($phase) {
87      case 'install':      case 'install':
88        $t = get_t();        $t = get_t();
89          $requirements = array();
90        $requirements['php'] = array(        $requirements['php'] = array(
91          'title' => $t('PHP'),          'title' => $t('PHP'),
92          'value' => ($phase == 'runtime') ? l(phpversion(), 'admin/logs/status/php') : phpversion(),          'value' => ($phase == 'runtime') ? l(phpversion(), 'admin/logs/status/php') : phpversion(),

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.2