version 1.368, 2012/02/03 00:15:14
|
version 1.370, 2012/05/15 01:41:27
|
Line 633 ENDMENUITEMS
|
Line 633 ENDMENUITEMS
|
# wishlist is only available for users with access to resource-pool |
# wishlist is only available for users with access to resource-pool |
# and links can only be set for resources within the resource-pool |
# and links can only be set for resources within the resource-pool |
$menuitems .= (<<ENDMENUITEMS); |
$menuitems .= (<<ENDMENUITEMS); |
s&9&1&wishlist-link.png&Wishlist&wishlistlink[_2]&set_wishlistlink()&Set a link for this resource to wishlist&&1 |
s&9&1&wishlist-link.png&Stored Links&wishlistlink[_2]&set_wishlistlink()&Save a link for this resource in your personal Stored Links repository&&1 |
ENDMENUITEMS |
ENDMENUITEMS |
} |
} |
|
|
Line 668 ENDMENUITEMS
|
Line 668 ENDMENUITEMS
|
if (&Apache::lonnet::allowed('bre', $env{'request.course.id'}) eq 'F') { |
if (&Apache::lonnet::allowed('bre', $env{'request.course.id'}) eq 'F') { |
# wishlist is only available for users with access to resource-pool |
# wishlist is only available for users with access to resource-pool |
$menuitems .= (<<ENDMENUITEMS); |
$menuitems .= (<<ENDMENUITEMS); |
s&9&1&wishlist-link.png&Wishlist&wishlistlink[_2]&set_wishlistlink()&Set a link for this resource to wishlist&&1 |
s&9&1&wishlist-link.png&Stored Links&wishlistlink[_2]&set_wishlistlink()&Save a link for this resource in in your personal Stored Links repository&&1 |
ENDMENUITEMS |
ENDMENUITEMS |
} |
} |
} |
} |
Line 1087 function showCourseID() {
|
Line 1087 function showCourseID() {
|
document.getElementById('dccid').style.display='block'; |
document.getElementById('dccid').style.display='block'; |
document.getElementById('dccid').style.textAlign='left'; |
document.getElementById('dccid').style.textAlign='left'; |
document.getElementById('dccid').style.textFace='normal'; |
document.getElementById('dccid').style.textFace='normal'; |
document.getElementById('dccidtext').innerHTML ='<a href="javascript:hideCourseID();">$lt{'less'}</a>'; |
document.getElementById('dccidtext').innerHTML ='<a href="javascript:hideCourseID();" class="LC_menubuttons_link">$lt{'less'}</a>'; |
return; |
return; |
} |
} |
|
|
function hideCourseID() { |
function hideCourseID() { |
document.getElementById('dccid').style.display='none'; |
document.getElementById('dccid').style.display='none'; |
document.getElementById('dccidtext').innerHTML ='<a href="javascript:showCourseID()">$lt{'more'}</a>'; |
document.getElementById('dccidtext').innerHTML ='<a href="javascript:showCourseID()" class="LC_menubuttons_link">$lt{'more'}</a>'; |
return; |
return; |
} |
} |
|
|
Line 1258 function annotate() {
|
Line 1258 function annotate() {
|
annotator.document.close(); |
annotator.document.close(); |
} |
} |
|
|
function open_Wishlist_Import(rat) { |
function open_StoredLinks_Import(rat) { |
var newWin; |
var newWin; |
if (rat) { |
if (rat) { |
newWin = window.open('/adm/wishlist?inhibitmenu=yes&mode=import&rat='+rat, |
newWin = window.open('/adm/wishlist?inhibitmenu=yes&mode=import&rat='+rat, |