From a0d692e9251944edd199f9ed84a014cec449e712 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 2 Sep 2007 10:50:22 +0000 Subject: [PATCH] Now, the repository is able to set the resource->name if it haven't been manuall defined. Part of MDL-10878. --- mod/resource/type/ims/finder.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/mod/resource/type/ims/finder.php b/mod/resource/type/ims/finder.php index e480462fd71..da688179296 100644 --- a/mod/resource/type/ims/finder.php +++ b/mod/resource/type/ims/finder.php @@ -11,6 +11,7 @@ /// Directory to browse, inside repository. Starts on ''. $directory = optional_param ('directory', '', PARAM_PATH); $choose = optional_param('choose', 'id_reference_value', PARAM_FILE); + $name = optional_param('name', 'id_name', PARAM_FILE); /// Get the language strings needed $strdeployall = get_string('deployall','resource'); @@ -74,20 +75,23 @@ ?> '; + echo '