[LON-CAPA-cvs] cvs: loncom(version_2_9_X) /homework structuretags.pm

raeburn raeburn@source.lon-capa.org
Fri, 29 Jan 2010 15:33:02 -0000


raeburn		Fri Jan 29 15:33:02 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/homework	structuretags.pm 
  Log:
  - Reverse part of 1.442 changes which use calls to routines in lontemlate.pm (not a part of 2.9.X).
  
  
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.444.4.3 loncom/homework/structuretags.pm:1.444.4.4
--- loncom/homework/structuretags.pm:1.444.4.3	Thu Jan 28 18:15:51 2010
+++ loncom/homework/structuretags.pm	Fri Jan 29 15:33:02 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.444.4.3 2010/01/28 18:15:51 raeburn Exp $
+# $Id: structuretags.pm,v 1.444.4.4 2010/01/29 15:33:02 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2049,10 +2049,9 @@
 #              .&mt('Note: it can take up to 10 minutes for changes to take effect for all users.')
 #              .&Apache::loncommon::help_open_topic('Caching')
 #              .'</p>';
-        $result.=&Apache::lontemplate::start_functionslist()
-                .&Apache::lontemplate::item_functionslist(
-                     '<a href="'.$url.'/smpedit?symb='.&escape($symb).'">'.&mt('Edit').'</a>')
-                .&Apache::lontemplate::end_functionslist();
+        $result .= '<table width="100%" bgcolor="#FFFFAA" border="2"><tr><td>'.
+                   '<a href="'.$url.'/smpedit?symb='.&escape($symb).'">'.
+                   &mt('Edit').'</a>.'</td></tr></table><br />';
 
     }
     return $result;