--- loncom/html/adm/helper/newslot.helper 2013/07/24 18:21:46 1.30 +++ 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'); + + +