/[drupal]/contributions/modules/i18n/i18ncontent/i18ncontent.module
ViewVC logotype

Diff of /contributions/modules/i18n/i18ncontent/i18ncontent.module

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

revision 1.1.2.15, Sat Aug 29 21:08:24 2009 UTC revision 1.1.2.16, Tue Nov 3 17:53:24 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: i18ncontent.module,v 1.1.2.14 2009/04/27 16:50:49 jareyero Exp $  // $Id: i18ncontent.module,v 1.1.2.15 2009/08/29 21:08:24 hass Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 45  function i18ncontent_locale($op = 'group Line 45  function i18ncontent_locale($op = 'group
45    switch ($op) {    switch ($op) {
46      case 'groups':      case 'groups':
47        return array('nodetype' => t('Content type'));        return array('nodetype' => t('Content type'));
48        case 'info':
49      case 'refresh':        $info['nodetype']['refresh callback'] = 'i18ncontent_locale_refresh';
50        if ($group == 'nodetype') {        return $info;
         return i18ncontent_locale_refresh();  
       }  
51    }    }
52  }  }
53    
# Line 68  function i18ncontent_locale_refresh() { Line 66  function i18ncontent_locale_refresh() {
66        node_type_save($type);        node_type_save($type);
67      }      }
68    }    }
69      return TRUE; // Meaning it completed with no issues
70  }  }
71    
72  /**  /**

Legend:
Removed from v.1.1.2.15  
changed lines
  Added in v.1.1.2.16

  ViewVC Help
Powered by ViewVC 1.1.2