--- /Applications/MAMP/htdocs/moodle19/user/indexorig.php 2007-10-03 04:16:54.000000000 +0200 +++ /Applications/MAMP/htdocs/moodle19/user/index.php 2007-10-03 15:06:20.000000000 +0200 @@ -645,6 +645,10 @@ $displaylist['addnote.php'] = get_string('addnewnote', 'notes'); $displaylist['groupaddnote.php'] = get_string('groupaddnewnote', 'notes'); } + if (has_capability('moodle/site:uploadusers', $context)) { + $displaylist['downloadtxt.php'] = get_string('downloadtext'); + $displaylist['downloadxls.php'] = get_string('downloadexcel'); + } if ($context->id != $frontpagectx->id) { $displaylist['extendenrol.php'] = get_string('extendenrol');