version 1.113, 2011/10/23 00:04:51
|
version 1.116, 2012/12/17 17:27:20
|
Line 416 END
|
Line 416 END
|
} |
} |
} |
} |
} else { |
} else { |
$r->print(&mt('You are not currently a member of any active '.$gpterm.'s in this '.lc($crstype).'.')); |
$r->print( |
|
'<p class="LC_info">' |
|
.&mt('You are not currently a member of any active '.$gpterm.'s' |
|
.' in this '.lc($crstype).'.') |
|
.'</p>' |
|
); |
} |
} |
} |
} |
return; |
return; |
Line 1276 sub reenable_folder {
|
Line 1281 sub reenable_folder {
|
$LONCAPA::map::resources[$idx] = $foldertitle.':'.$mapurl. |
$LONCAPA::map::resources[$idx] = $foldertitle.':'.$mapurl. |
':false:normal:res'; |
':false:normal:res'; |
$LONCAPA::map::order[1+$#LONCAPA::map::order]=$idx; |
$LONCAPA::map::order[1+$#LONCAPA::map::order]=$idx; |
my ($outtext,$errtext) = &LONCAPA::map::storemap($allgrpsmap,1); |
my ($outtext,$errtext) = &LONCAPA::map::storemap($allgrpsmap,1,1); |
if ($errtext) { |
if ($errtext) { |
$outcome='<div class="LC_error">' |
$outcome='<div class="LC_error">' |
.&mt('An error occurred when saving updated parent folder to group:' |
.&mt('An error occurred when saving updated parent folder to group:' |
Line 1341 sub modify_folders {
|
Line 1346 sub modify_folders {
|
$LONCAPA::map::order[$i] = $LONCAPA::map::order[$i+1]; |
$LONCAPA::map::order[$i] = $LONCAPA::map::order[$i+1]; |
} |
} |
$#LONCAPA::map::order--; |
$#LONCAPA::map::order--; |
my ($outtext,$errtext) = &LONCAPA::map::storemap($map,1); |
my ($outtext,$errtext) = &LONCAPA::map::storemap($map,1,1); |
if ($errtext) { |
if ($errtext) { |
$outcome='<div class="LC_error">' |
$outcome='<div class="LC_error">' |
.&mt('An error occurred when saving updated parent folder to group:') |
.&mt('An error occurred when saving updated parent folder to group:') |
Line 2254 sub privilege_specificity {
|
Line 2259 sub privilege_specificity {
|
"for users who receive specific sections/roles in the course ", |
"for users who receive specific sections/roles in the course ", |
'asyo' => "As you have chosen not to include any collaborative tools ". |
'asyo' => "As you have chosen not to include any collaborative tools ". |
"in the group, no default optional privileges need to be set.", |
"in the group, no default optional privileges need to be set.", |
'plin' => 'Indicate which <b>optional</b> privileges members '. |
|
'will receive by default for a specific tool.', |
'will receive by default for a specific tool.', |
'oppr' => 'Optional privileges', |
'oppr' => 'Optional privileges', |
'defp' => 'The default privileges new members will receive are:', |
'defp' => 'The default privileges new members will receive are:', |
); |
); |
|
$lt{'plin'} = &mt('Indicate which [_1]optional[_2] privileges members '. |
|
'will receive by default for a specific tool.','<b>','</b>'); |
if ($crstype eq 'Community') { |
if ($crstype eq 'Community') { |
$lt{'thes'} = &mt('These will be the privileges given to members assigned in the future via automatic group assignment for users who receive specific sections/roles in the community '); |
$lt{'thes'} = &mt('These will be the privileges given to members assigned in the future via automatic group assignment for users who receive specific sections/roles in the community '); |
} |
} |
Line 4033 sub map_updater {
|
Line 4039 sub map_updater {
|
$LONCAPA::map::resources[$newidx] = $itemtitle.':'.$newmapurl. |
$LONCAPA::map::resources[$newidx] = $itemtitle.':'.$newmapurl. |
':false:normal:res'; |
':false:normal:res'; |
$LONCAPA::map::order[1+$#LONCAPA::map::order]=$newidx; |
$LONCAPA::map::order[1+$#LONCAPA::map::order]=$newidx; |
my ($outtext,$errtext) = &LONCAPA::map::storemap($parentmap,1); |
my ($outtext,$errtext) = &LONCAPA::map::storemap($parentmap,1,1); |
if ($errtext) { |
if ($errtext) { |
$outcome = '<div class="LC_error">' |
$outcome = '<div class="LC_error">' |
.&mt('Error saving updated parent folder.')." ($parentmap): $errtext" |
.&mt('Error saving updated parent folder.')." ($parentmap): $errtext" |