version 1.325, 2010/08/13 13:32:36
|
version 1.326, 2010/08/25 12:38:45
|
Line 3369 SCRIPT
|
Line 3369 SCRIPT
|
# it is split into 3 parts and the inputfields for title and path are left out |
# it is split into 3 parts and the inputfields for title and path are left out |
# these fields are inserted later to set the values for title and path |
# these fields are inserted later to set the values for title and path |
# automatically via JavaScript (document.title and location.pathname) |
# automatically via JavaScript (document.title and location.pathname) |
|
my %folders = &Apache::lonnet::get('wishlist',['folders']); |
|
if ($folders{'folders'} eq '') { |
|
$folders{'folders'} = '<option value="" selected="selected">('.&mt('Top level').')</option>'; |
|
} |
my $start_page_wishlistlink = |
my $start_page_wishlistlink = |
&Apache::loncommon::start_page('Set link to wishlist',undef, |
&Apache::loncommon::start_page('Set link to wishlist',undef, |
{'only_body' => 1, |
{'only_body' => 1, |
Line 3394 SCRIPT
|
Line 3398 SCRIPT
|
'<br/><br/>'. |
'<br/><br/>'. |
'<input type="submit" value="'.&mt('Save in').'" />'. |
'<input type="submit" value="'.&mt('Save in').'" />'. |
'<select name="folders">'. |
'<select name="folders">'. |
&Apache::lonwishlist::getfoldersOption(). |
$folders{'folders'}. |
'</select>'. |
'</select>'. |
'<input type="button" value="'.&mt('cancel').'" onclick="javascript:window.close();" />'. |
'<input type="button" value="'.&mt('cancel').'" onclick="javascript:window.close();" />'. |
'</form>'; |
'</form>'; |