[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface londocs.pm

raeburn raeburn at source.lon-capa.org
Sun May 13 18:59:39 EDT 2012


raeburn		Sun May 13 22:59:39 2012 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	londocs.pm 
  Log:
  - For 2.11
    - Reverse changes in 1.436. Bookmarks retained in 2.11.0.
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.484.2.3 loncom/interface/londocs.pm:1.484.2.4
--- loncom/interface/londocs.pm:1.484.2.3	Thu May 10 17:56:58 2012
+++ loncom/interface/londocs.pm	Sun May 13 22:59:39 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.484.2.3 2012/05/10 17:56:58 raeburn Exp $
+# $Id: londocs.pm,v 1.484.2.4 2012/05/13 22:59:39 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2540,6 +2540,7 @@
                 'upld' => 'Import Document',
                 'srch' => 'Search',
                 'impo' => 'Import',
+                'book' => 'Import Bookmarks',
                 'selm' => 'Select Map',
                 'load' => 'Load Map',
                 'reco' => 'Recover Deleted Documents',
@@ -2607,6 +2608,7 @@
 	my @simpleeditdefaultforma = ( 
 	{ '<img class="LC_noBorder LC_middle" src="/res/adm/pages/src.png" alt="'.$lt{srch}.'"  onclick="javascript:groupsearch()" />' => "$uploadtag<a class='LC_menubuttons_link' href='javascript:groupsearch()'>$lt{'srch'}</a>" },
 	{ '<img class="LC_noBorder LC_middle" src="/res/adm/pages/res.png" alt="'.$lt{impo}.'"  onclick="javascript:groupimport();"/>' => "<a class='LC_menubuttons_link' href='javascript:groupimport();'>$lt{'impo'}</a>$help{'Importing_LON-CAPA_Resource'}" },
+        { '<img class="LC_noBorder LC_middle" src="/res/adm/pages/vbkm.png" alt="'.$lt{book}.'" onclick="javascript:groupopen(0,1,1);" />' => "<a class='LC_menubuttons_link' href='javascript:groupopen(0,1,1);'>$lt{'book'}</a>" },
 	);
 	$simpleeditdefaultform .= &create_form_ul(&create_list_elements(@simpleeditdefaultforma));
 	$simpleeditdefaultform .=(<<SEDFFORM);
@@ -3285,7 +3287,7 @@
              '  alt="'.$backtext.'" />'.$backtext.'</a></li>'."\n";
     if ($tid == 1) {
         $form .= '<li>'.
-                 '<a href="javascript:groupopen('."'$readfile'".',1);">'.
+                 '<a href="javascript:groupopen('."'$readfile'".',1,0);">'.
                  &mt('Undo Delete').'</a></li>'."\n";
         if ($env{'form.docslog'}) {
             $form .= '<li class="active">';




More information about the LON-CAPA-cvs mailing list