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

Diff of /contributions/modules/copyright/copyright.module

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

revision 1.13.4.24, Mon Jun 18 06:28:24 2007 UTC revision 1.13.4.25, Fri Oct 5 15:47:40 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: copyright.module,v 1.13.4.23 2007/06/17 16:18:27 robrechtj Exp $  // $Id: copyright.module,v 1.13.4.24 2007/06/18 06:28:24 robrechtj Exp $
3    
4  /** Copyright (c) 2004 Matthew Schwartz  <matt at mattschwartz dot net>  /** Copyright (c) 2004 Matthew Schwartz  <matt at mattschwartz dot net>
5      Contributors:      Contributors:
# Line 115  function copyright_menu($may_cache) { Line 115  function copyright_menu($may_cache) {
115        'type' => MENU_CALLBACK,        'type' => MENU_CALLBACK,
116        'access' => user_access('administer copyright'),        'access' => user_access('administer copyright'),
117      );      );
   
     $paths = copyright_get_license_local_paths();  
     foreach ($paths as $path) {  
       $items[] = array(  
         'path' => $path->source_url,  
         'title' => t($path->name),  
         'type' => MENU_CALLBACK,  
         'callback' => 'copyright_show_license',  
         'callback arguments' => array($path->cpyid),  
         'access' => user_access('access content'),  
       );  
     }  
118    }    }
119    
120    return $items;    return $items;

Legend:
Removed from v.1.13.4.24  
changed lines
  Added in v.1.13.4.25

  ViewVC Help
Powered by ViewVC 1.1.2