version 1.440.2.2, 2010/09/13 03:07:56
|
version 1.440.2.3, 2010/11/15 22:46:47
|
Line 1496 END
|
Line 1496 END
|
|
|
if ($args->{'caller'} eq 'navmapsdisplay') { |
if ($args->{'caller'} eq 'navmapsdisplay') { |
$result .= '<table><tr><td>'. |
$result .= '<table><tr><td>'. |
&Apache::loncommon::help_open_menu('Navigation Screen','Navigation_Screen',undef,'RAT').'</td>'; |
&Apache::loncommon::help_open_menu('Navigation Screen','Navigation_Screen',undef,'RAT').'</td><td> </td>'; |
if ($env{'environment.remotenavmap'} ne 'on') { |
|
$result .= '<td> </td>'; |
|
} else { |
|
$result .= '</tr><tr>'; |
|
} |
|
$result.="<td class=\"LC_middle\">".mt('Tools:')."</td>"; |
$result.="<td class=\"LC_middle\">".mt('Tools:')."</td>"; |
$result.=&show_linkitems_toolbar($args->{'linkitems'}); |
$result.=&show_linkitems_toolbar($args->{'linkitems'}); |
if ($args->{'sort_html'}) { |
if ($args->{'sort_html'}) { |
Line 1509 END
|
Line 1504 END
|
$result.='<td> </td><td> </td><td> </td>'. |
$result.='<td> </td><td> </td><td> </td>'. |
'<td align="right">'.$args->{'sort_html'}.'</td></tr>'; |
'<td align="right">'.$args->{'sort_html'}.'</td></tr>'; |
} else { |
} else { |
$result.='</tr><tr><td align="left"><br />'. |
$result.='</tr><tr><td align="left" colspan="4"><br />'. |
$args->{'sort_html'}.'</td></tr>'; |
$args->{'sort_html'}.'</td></tr>'; |
} |
} |
} |
} |
Line 1892 sub show_linkitems_toolbar {
|
Line 1887 sub show_linkitems_toolbar {
|
my $result .=' |
my $result .=' |
<td align="left"> |
<td align="left"> |
<span class="LC_nobreak">'."\n<ul id=\"LC_toolbar\">"; |
<span class="LC_nobreak">'."\n<ul id=\"LC_toolbar\">"; |
foreach my $link (@linkorder) { |
foreach my $link (@linkorder) { |
my $link_id = "LC_content_toolbar_".$link; |
my $link_id = "LC_content_toolbar_".$link; |
if (defined($linkitems->{$link})) { |
if (defined($linkitems->{$link})) { |
if ($linkitems->{$link}{'text'} ne '') { |
if ($linkitems->{$link}{'text'} ne '') { |
Line 1912 sub show_linkitems_toolbar {
|
Line 1907 sub show_linkitems_toolbar {
|
} |
} |
} |
} |
} |
} |
|
if ($env{'environment.remotenavmap'} eq 'on') { |
|
if (&Apache::loncommon::needs_gci_custom()) { |
|
if ($env{'request.course.id'} && |
|
&Apache::lonnet::allowed('mdc',$env{'request.course.id'})) { |
|
$result .= '<li><a target="loncapaclient" href="/adm/menu" id="LC_content_toolbar_management" class="LC_toolbarItem" title="'.&mt('Test Management').'" /></a></li>'; |
|
} |
|
} |
|
} |
$result .= '</ul>'; |
$result .= '</ul>'; |
$result .= ' </span></td>'."\n"; |
$result .= ' </span></td>'."\n"; |
|
|