--- loncom/html/adm/helper/newslot.helper 2011/12/20 22:47:56 1.29 +++ loncom/html/adm/helper/newslot.helper 2015/09/23 23:05:04 1.31 @@ -220,11 +220,19 @@ usable for any resource. + restricted to resources in a specific folder/composite page. restricted to a specific resource. my $default=&{$helper->{DATA}{origslot}}('symb'); - if ($default) { return 'resource'; } - return 'any'; + if ($default) { + if ($default =~ /\.(page|sequence)$/) { + return 'map'; + } else { + return 'resource'; + } + } else { + return 'any'; + } @@ -256,6 +264,18 @@ + + + PROCTOR + + + return $res->is_map() + return $res->symb() + + return &{$helper->{DATA}{origslot}}('symb'); + + + @@ -314,7 +334,7 @@ - + Created Slot