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

Diff of /contributions/modules/contaxe/contaxe.module

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

revision 1.10, Tue Feb 26 17:09:15 2008 UTC revision 1.11, Wed Feb 27 09:16:01 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: contaxe.module,v 1.9 2008/02/26 14:27:17 salgar Exp $  // $Id: contaxe.module,v 1.10 2008/02/26 17:09:15 salgar Exp $
3    
4  /*  /*
5    http://drupal.org/project/jquery_update    http://drupal.org/project/jquery_update
# Line 1485  function contaxe_process_tags($text) { Line 1485  function contaxe_process_tags($text) {
1485   */   */
1486  function contaxe_nodeapi(&$node, $op, $teaser, $page) {  function contaxe_nodeapi(&$node, $op, $teaser, $page) {
1487    if ($op != 'view') return;    if ($op != 'view') return;
1488    if (variable_get(CONTAXE_INJECTOR_NODETYPE . $node->type, FALSE)) return;    if (!variable_get(CONTAXE_INJECTOR_NODETYPE . $node->type, FALSE)) return;
1489    // TODO PAGELIST check if page matches    // TODO PAGELIST check if page matches
1490    if (isset($page)) { // normal view    if (isset($page)) { // normal view
1491      if (!variable_get('contaxe_injector_body_enable', FALSE)) return;      if (!variable_get('contaxe_injector_body_enable', FALSE)) return;

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.2