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

Diff of /contributions/modules/node_export/node_export.module

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

revision 1.1.2.7, Sat Oct 31 06:24:55 2009 UTC revision 1.1.2.8, Tue Nov 10 09:34:05 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: node_export.module,v 1.1.2.6 2009/10/31 06:18:10 danielb Exp $  // $Id: node_export.module,v 1.1.2.7 2009/10/31 06:24:55 danielb Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 481  function node_export_theme() { Line 481  function node_export_theme() {
481   * @return   * @return
482   *   FALSE is the types check failed   *   FALSE is the types check failed
483   *   Returns the HTML of a node form if required to prepopulate   *   Returns the HTML of a node form if required to prepopulate
484   *   Otherwise returns nothing, and may redirect.   *   Otherwise returns TRUE, or may redirect.
485   */   */
486  function node_export_import($node_code, $method = NULL, $redirect = TRUE, $msg_func = 'drupal_set_message', $msg_t = 't') {  function node_export_import($node_code, $method = NULL, $redirect = TRUE, $msg_func = 'drupal_set_message', $msg_t = 't') {
487    $import = node_export_node_decode($node_code);    $import = node_export_node_decode($node_code);
# Line 508  function node_export_import($node_code, Line 508  function node_export_import($node_code,
508        if ($redirect) {        if ($redirect) {
509          drupal_goto('admin/content/node');          drupal_goto('admin/content/node');
510        }        }
511          return TRUE;
512      }      }
513      else {      else {
514        // We are importing a single node.        // We are importing a single node.

Legend:
Removed from v.1.1.2.7  
changed lines
  Added in v.1.1.2.8

  ViewVC Help
Powered by ViewVC 1.1.2