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

Diff of /contributions/modules/import_typepad/import_typepad.module

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

revision 1.7, Sun Jan 7 04:28:02 2007 UTC revision 1.7.6.1, Fri Oct 3 00:56:04 2008 UTC
# Line 4  Line 4 
4   * Based on node_import (the cvs content importer)   * Based on node_import (the cvs content importer)
5   *   *
6   * Nigel Sim <nigel.sim@gmail.com> 2005, 2006   * Nigel Sim <nigel.sim@gmail.com> 2005, 2006
7     *
8     * D6 release
9   */   */
10    
11  ini_set('auto_detect_line_endings', TRUE);  ini_set('auto_detect_line_endings', TRUE);
# Line 23  function import_typepad_help($section) { Line 25  function import_typepad_help($section) {
25    
26  function import_typepad_menu($may_cache) {  function import_typepad_menu($may_cache) {
27    $links = array();    $links = array();
   if ($may_cache) {  
28      $links[] = array('path' => 'admin/node/import_typepad', 'title' => t('type pad'), 'callback' => 'import_typepad_page', 'weight' => 5, 'access' => user_access('import nodes'));      $links[] = array('path' => 'admin/node/import_typepad', 'title' => t('type pad'), 'callback' => 'import_typepad_page', 'weight' => 5, 'access' => user_access('import nodes'));
29      $links[] = array('path' => 'admin/node/import_typepad/preview', 'title' => t('type pad'), 'callback' => 'import_typepad_preview', 'weight' => 5, 'access' => user_access('import nodes'), 'type' => MENU_CALLBACK);      $links[] = array('path' => 'admin/node/import_typepad/preview', 'title' => t('type pad'), 'callback' => 'import_typepad_preview', 'weight' => 5, 'access' => user_access('import nodes'), 'type' => MENU_CALLBACK);
   }  
30    return $links;    return $links;
31  }  }
32    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.7.6.1

  ViewVC Help
Powered by ViewVC 1.1.2