version 1.269, 2009/06/02 17:25:03
|
version 1.272, 2009/07/09 08:53:39
|
Line 225 sub menubuttons {
|
Line 225 sub menubuttons {
|
|
|
if ($env{'user.name'} eq 'public' && $env{'user.domain'} eq 'public') { |
if ($env{'user.name'} eq 'public' && $env{'user.domain'} eq 'public') { |
return (<<ENDINLINEMENU); |
return (<<ENDINLINEMENU); |
<table id="LC_top_nav"> |
<ol class="LC_smallMenu LC_right"> |
<tr> |
<li>$logo</li> |
<td>$logo</td> |
<li><a href="/adm/roles" target="_top">$lt{'login'}</a></li> |
<td></td> |
</ol> |
<td class="LC_top_nav_login"> |
<hr /> |
<a href="/adm/roles" target="_top">$lt{'login'}</a> |
|
</td> |
|
</tr> |
|
</table> |
|
ENDINLINEMENU |
ENDINLINEMENU |
} |
} |
$roles = '<a href="/adm/roles" target="_top">'.$lt{'roles'}.'</a>'; |
$roles = '<a href="/adm/roles" target="_top">'.$lt{'roles'}.'</a>'; |
Line 954 sub open {
|
Line 950 sub open {
|
# } |
# } |
$returnval.=(<<ENDOPEN); |
$returnval.=(<<ENDOPEN); |
window.status='Opening LON-CAPA Remote Control'; |
window.status='Opening LON-CAPA Remote Control'; |
var menu=window.open("/res/adm/pages/menu.html","$menuname", |
var menu=window.open("/res/adm/pages/menu.html?inhibitmenu=yes","$menuname", |
"height=375,width=150,scrollbars=no,menubar=no,top=5,left=5,screenX=5,screenY=5"); |
"height=375,width=150,scrollbars=no,menubar=no,top=5,left=5,screenX=5,screenY=5"); |
self.name='loncapaclient'; |
self.name='loncapaclient'; |
ENDOPEN |
ENDOPEN |
Line 1073 sub inlinemenu {
|
Line 1069 sub inlinemenu {
|
foreach my $cat (keys(%category_members)) { |
foreach my $cat (keys(%category_members)) { |
if ($category_positions{$cat} ne "$col,$row") { next; } |
if ($category_positions{$cat} ne "$col,$row") { next; } |
#$output.='<table><tr><td colspan="4" class="LC_menubuttons_category">'.&mt($category_names{$cat}).'</td></tr>'; |
#$output.='<table><tr><td colspan="4" class="LC_menubuttons_category">'.&mt($category_names{$cat}).'</td></tr>'; |
$output.='<div class="LC_ContentBoxSpecial">'; |
$output.='<div class="LC_Box">'; |
$output.='<h4 class="LC_hcell">'.&mt($category_names{$cat}).'</h4>'; |
$output.='<h4 class="LC_hcell">'.&mt($category_names{$cat}).'</h4>'; |
$output.='<table>'; |
$output.='<table>'; |
my %active=(); |
my %active=(); |