MDL-11543 Replacing "Site" with "Top" in the list of available parent categories

This commit is contained in:
nicolasconnault
2007-10-10 04:53:32 +00:00
parent 04e60f045b
commit cd405db239
+1 -1
View File
@@ -9,7 +9,7 @@ class editcategory_form extends moodleform {
// get list of categories to use as parents, with site as the first one
$categories = get_categories();
$options = array(get_string('site'));
$options = array(get_string('top'));
foreach ($categories as $catid => $cat) {
$options[$catid] = $cat->name;
}