[LON-CAPA-cvs] cvs: loncom(version_2_9_X) /interface portfolio.pm
raeburn
raeburn@source.lon-capa.org
Fri, 12 Feb 2010 19:19:21 -0000
raeburn Fri Feb 12 19:19:21 2010 EDT
Modified files: (Branch: version_2_9_X)
/loncom/interface portfolio.pm
Log:
- Backport 1.216; wrap legend label text in <b></b> (automatic in 2.10).
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.212.2.3 loncom/interface/portfolio.pm:1.212.2.4
--- loncom/interface/portfolio.pm:1.212.2.3 Tue Feb 2 07:09:41 2010
+++ loncom/interface/portfolio.pm Fri Feb 12 19:19:21 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network
# portfolio browser
#
-# $Id: portfolio.pm,v 1.212.2.3 2010/02/02 07:09:41 raeburn Exp $
+# $Id: portfolio.pm,v 1.212.2.4 2010/02/12 19:19:21 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -88,13 +88,13 @@
my $iconpath= $r->dir_config('lonIconsURL') . "/";
my %lt=&Apache::lonlocal::texthash(
- 'upload' => 'Upload',
- 'upload_label' => 'Upload file to current directory',
- 'createdir' => 'Create Subdirectory',
- 'createdir_label' =>
- 'Create subdirectory in current directory',
- 'parse' => 'If HTML file, upload embedded images/multimedia/css/linked files'
- );
+ 'upload' => 'Upload',
+ 'upload_label' => 'Upload file to current directory',
+ 'createdir' => 'Create Subdirectory',
+ 'createdir_label' => 'Create subdirectory in current directory',
+ 'parse' => 'Upload embedded images/multimedia/css/linked files if HTML file',
+ );
+
my $escuri = &HTML::Entities::encode($r->uri,'&<>"');
my $help_fileupload = &Apache::loncommon::help_open_topic('Portfolio AddFiles');
my $help_createdir = &Apache::loncommon::help_open_topic('Portfolio CreateDirectory');
@@ -105,8 +105,9 @@
$parse_check = <<"END";
<br />
<span class="LC_nobreak">
- <label>$lt{'parse'}
- <input type="checkbox" name="parserflag" checked="checked" />
+ <label>
+ <input type="checkbox" name="parserflag" checked="checked" />
+ $lt{'parse'}
</label>
</span>
END
@@ -117,7 +118,7 @@
$r->print('<div class="LC_left_float">'
.'<form method="post" enctype="multipart/form-data" action="'.$escuri.'">'
.'<fieldset>'
- .'<legend>'.$lt{'upload_label'}.'</legend>'
+ .'<legend><b>'.$lt{'upload_label'}.'</b></legend>'
.$groupitem
.'<input name="uploaddoc" type="file" />'
.'<input type="hidden" name="currentpath" value="'.$current_path.'" />'
@@ -135,7 +136,7 @@
$r->print('<div class="LC_left_float">'
.'<form method="post" action="'.$escuri.'">'
.'<fieldset>'
- .'<legend>'.$lt{'createdir_label'}.'</legend>'
+ .'<legend><b>'.$lt{'createdir_label'}.'</b></legend>'
.'<input name="newdir" type="text" />'.$groupitem
.'<input type="hidden" name="currentpath" value="'.$current_path.'" />'
.'<input type="hidden" name="action" value="'.$env{"form.action"}.'" />'