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

Diff of /contributions/modules/export_dxml/export_dxml.module

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

revision 1.3, Tue Nov 29 19:28:10 2005 UTC revision 1.3.4.1, Tue Sep 4 00:33:20 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: $  // $Id: export_dxml.module,v 1.3 2005/11/29 19:28:10 puregin Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 23  function export_dxml_link($type, $node = Line 23  function export_dxml_link($type, $node =
23    if ($type == 'node' && isset($node->parent)) {    if ($type == 'node' && isset($node->parent)) {
24      if (!$main) {      if (!$main) {
25        if (user_access('export books as dxml')) {        if (user_access('export books as dxml')) {
26          $links[] = l(t('export Drupal XML'),          $links['book_export_dxml'] = array(
27                       'book/export/dxml/'. $node->nid,            'title' => t('Export Drupal XML'),
28                       array('title' => t('Export this book page and its sub-pages as Drupal XML (suitable for re-import)')));            'href' => 'book/export/dxml/'. $node->nid,
29              'attributes' => array('title' => t('Export this book page and its sub-pages as Drupal XML (suitable for re-import)'))
30              );
31        }        }
32      }      }
33    }    }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.3.4.1

  ViewVC Help
Powered by ViewVC 1.1.2