version 1.53.4.5, 2010/04/14 18:58:37
|
version 1.53.4.7, 2010/10/07 14:45:04
|
Line 194 sub course_details {
|
Line 194 sub course_details {
|
my $brtexttwo = 'Course details'; |
my $brtexttwo = 'Course details'; |
if ($env{'form.currcat_0'} eq 'communities::0') { |
if ($env{'form.currcat_0'} eq 'communities::0') { |
$brtextone = 'Community listing'; |
$brtextone = 'Community listing'; |
$brtextone = 'Community details'; |
$brtexttwo = 'Community details'; |
} |
} |
&Apache::lonhtmlcommon::add_breadcrumb |
&Apache::lonhtmlcommon::add_breadcrumb |
({href=>"javascript:document.$formname.submit()", |
({href=>"javascript:document.$formname.submit()", |
Line 402 sub category_breadcrumbs {
|
Line 402 sub category_breadcrumbs {
|
$catlinks .= '<option value="">'.&mt('De-select').'</option>'; |
$catlinks .= '<option value="">'.&mt('De-select').'</option>'; |
for (my $j=0; $j<@{$cats[$shallower]{$container}}; $j++) { |
for (my $j=0; $j<@{$cats[$shallower]{$container}}; $j++) { |
my $name = $cats[$shallower]{$container}[$j]; |
my $name = $cats[$shallower]{$container}[$j]; |
my $item = &escape($name).':'.$container.':'.$shallower; |
my $item = &escape($name).':'.&escape($container).':'.$shallower; |
my $selected = ''; |
my $selected = ''; |
if ($item eq $env{'form.currcat_'.$shallower}) { |
if ($item eq $env{'form.currcat_'.$shallower}) { |
$selected = ' selected="selected"'; |
$selected = ' selected="selected"'; |