Changeset 1228

Show
Ignore:
Timestamp:
08/30/07 16:50:29 (1 year ago)
Author:
ben
Message:

The 'add file' wizard will now use the community filestore.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/file/lib.php

    r1219 r1228  
    138138   // Delete users 
    139139        listen_for_event("user","delete","file_user_delete"); 
    140          
     140                 
    141141  // Adding the file's selector wizard 
    142142  $options = array('options'=> 'width=600,height=300,left=20,top=20,scrollbars=yes,resizable=yes', 
    143143                   'name'=> 'mediapopup', 
    144                    'url' => $CFG->wwwroot."mod/file/file_include_wizard.php?owner=".$_SESSION['userid']); 
     144                   // 'url' => $CFG->wwwroot."mod/file/file_include_wizard.php?owner=".$_SESSION['userid']); 
     145                   'url' => $CFG->wwwroot."mod/file/file_include_wizard.php?owner=".page_owner()); 
    145146  add_content_tool_button("mediapopup",__gettext("Add File"), "image.png", "f", $options); 
    146147