[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
droeschl
droeschl@source.lon-capa.org
Tue, 20 Oct 2009 20:43:54 -0000
droeschl Tue Oct 20 20:43:54 2009 EDT
Modified files:
/loncom/interface londocs.pm
Log:
Removed icon from Upload Document button in Edit Course - Supplemental Course Documents.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.399 loncom/interface/londocs.pm:1.400
--- loncom/interface/londocs.pm:1.399 Tue Oct 20 20:23:23 2009
+++ loncom/interface/londocs.pm Tue Oct 20 20:43:54 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.399 2009/10/20 20:23:23 droeschl Exp $
+# $Id: londocs.pm,v 1.400 2009/10/20 20:43:54 droeschl Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3314,9 +3314,7 @@
my $path = &HTML::Entities::encode($env{'form.folderpath'},'<>&"');
- my @supupdocform = (
- {'<img class="LC_noBorder LC_middle" align="left" src="/res/adm/pages/docspacer.gif" alt="pic27" />'=>"<input type='submit' value='".$lt{'upld'}."' />$help{'Uploading_From_Harddrive'}"},
- );
+ my $supupdocformbtn = "<input type='submit' value='".$lt{'upld'}."' />$help{'Uploading_From_Harddrive'}";
my $supupdocform=(<<SUPDOCFORM);
<form action="/adm/coursedocs" method="post" name="supuploaddocument" enctype="multipart/form-data">
<input type="hidden" name="active" value="ee" />
@@ -3333,7 +3331,7 @@
<input type="hidden" name="folderpath" value="$path" />
<input type="hidden" name="cmd" value="upload_supplemental" />
SUPDOCFORM
- $supupdocform .= create_form_ul(create_list_elements(@supupdocform))."</form>";
+ $supupdocform .= create_form_ul(Apache::lonhtmlcommon::htmltag('li',$supupdocformbtn,{class => 'LC_menubuttons_inline_text'}))."</form>";
my $supnewfolderform=(<<SNFFORM);
<form action="/adm/coursedocs" method="post" name="supnewfolder">