Diff for /rat/lonratedt.pm between versions 1.104 and 1.106

version 1.104, 2011/11/14 00:20:46 version 1.106, 2012/05/15 01:41:42
Line 491  sub smpedt { Line 491  sub smpedt {
       'nt' => 'New Title',        'nt' => 'New Title',
       'se' => 'Search',        'se' => 'Search',
       'im' => 'Import',        'im' => 'Import',
                                       'wl' => 'Import from Wishlist',                                        'wl' => 'Import from Stored Links',
       'vi' => 'View',        'vi' => 'View',
       'lm' => 'Load Map',        'lm' => 'Load Map',
       'ds' => 'Discard Selected',        'ds' => 'Discard Selected',
Line 601  value="Select Map" /><input type="submit Line 601  value="Select Map" /><input type="submit
 <input type="button" onClick=  <input type="button" onClick=
 "javascript:impfortarget.value=1;groupimport();" value="$lt{'im'}" />  "javascript:impfortarget.value=1;groupimport();" value="$lt{'im'}" />
 <input type="button" onClick=  <input type="button" onClick=
 "javascript:impfortarget.value=1;open_Wishlist_Import('simple');" value="$lt{'wl'}" />  "javascript:impfortarget.value=1;open_StoredLinks_Import('simple');" value="$lt{'wl'}" />
 <input type="button" onClick=  <input type="button" onClick=
 "javascript:impfortarget.value=1;groupopen('$url',1);" value="$lt{'reco'}" />  "javascript:impfortarget.value=1;groupopen('$url',1);" value="$lt{'reco'}" />
 $lt{'as'}  $lt{'as'}
Line 727  sub viewmap { Line 727  sub viewmap {
                 $filename = $1;                  $filename = $1;
             }              }
             my $cstrurl = $resurl;              my $cstrurl = $resurl;
             $cstrurl =~ s#^/res/[^/]+/([^/]+)/#/priv/$1/#;              $cstrurl =~ s{^/res/}{/priv/};
             $r->print(&Apache::loncommon::start_data_table_row()              $r->print(&Apache::loncommon::start_data_table_row()
                      .'<td>'                       .'<td>'
                      .'<img src="'.&Apache::loncommon::icon($resfilepath).'" />'                       .'<img src="'.&Apache::loncommon::icon($resfilepath).'" />'

Removed from v.1.104  
changed lines
  Added in v.1.106


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>