version 1.315.2.15, 2011/11/30 18:34:25
|
version 1.315.2.15.2.1, 2012/03/02 14:48:19
|
Line 783 ENDREALRES
|
Line 783 ENDREALRES
|
} |
} |
} |
} |
if ($env{'request.uri'} =~ /^\/res/) { |
if ($env{'request.uri'} =~ /^\/res/) { |
my $icontext = &mt('Print'); |
if (($env{'request.course.id'} ne 'relate_3e100973b27484f2drelatel1') || |
$menuitems .= (<<ENDMENUITEMS); |
($env{'request.role'} =~ /^cc/)) { |
|
my $icontext = &mt('Print'); |
|
$menuitems .= (<<ENDMENUITEMS); |
s&8&3&prt.gif&prepare[_1]&printout[_1]&gopost('/adm/printout',currentURL)&Prepare a printable document&&&$icontext |
s&8&3&prt.gif&prepare[_1]&printout[_1]&gopost('/adm/printout',currentURL)&Prepare a printable document&&&$icontext |
ENDMENUITEMS |
ENDMENUITEMS |
|
} |
} |
} |
my $buttons=''; |
my $buttons=''; |
foreach (split(/\n/,$menuitems)) { |
foreach (split(/\n/,$menuitems)) { |