version 1.330, 2011/07/04 09:24:58
|
version 1.331, 2011/12/09 01:04:27
|
Line 3063 SCRIPT
|
Line 3063 SCRIPT
|
</script> |
</script> |
SCRIPT |
SCRIPT |
|
|
|
|
# Add JavaScript-function to set link for a ressource to wishlist |
|
$js.=<<SCRIPT; |
|
<script type="text/javascript"> |
|
// <![CDATA[ |
|
function set_wishlistlink(title, path){ |
|
Win = window.open('/adm/wishlist?mode=newLink&setTitle='+title+'&setPath='+path, |
|
'wishlistNewLink','width=560,height=350,scrollbars=0'); |
|
} |
|
|
|
// ]]> |
|
</script> |
|
SCRIPT |
|
|
|
my $start_page = &Apache::loncommon::start_page(undef,$js, |
my $start_page = &Apache::loncommon::start_page(undef,$js, |
{'only_body' =>1}); |
{'only_body' =>1, |
|
'add_wishlist' =>1}); |
my $result=<<END; |
my $result=<<END; |
$start_page |
$start_page |
<form name="results" method="post" action="/adm/searchcat"> |
<form name="results" method="post" action="/adm/searchcat"> |