[LON-CAPA-cvs] cvs: loncom /publisher loncfile.pm lonpubdir.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Wed, 25 Jul 2007 19:56:58 -0000
albertel Wed Jul 25 15:56:58 2007 EDT
Modified files:
/loncom/publisher loncfile.pm lonpubdir.pm
Log:
- add task to creation menu
Index: loncom/publisher/loncfile.pm
diff -u loncom/publisher/loncfile.pm:1.85 loncom/publisher/loncfile.pm:1.86
--- loncom/publisher/loncfile.pm:1.85 Mon Jul 23 19:53:31 2007
+++ loncom/publisher/loncfile.pm Wed Jul 25 15:56:57 2007
@@ -9,7 +9,7 @@
# and displays a page showing the results of the action.
#
#
-# $Id: loncfile.pm,v 1.85 2007/07/23 23:53:31 albertel Exp $
+# $Id: loncfile.pm,v 1.86 2007/07/25 19:56:57 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -871,6 +871,7 @@
$env{'form.action'} eq 'newsequencefile' ||
$env{'form.action'} eq 'newrightsfile' ||
$env{'form.action'} eq 'newstyfile' ||
+ $env{'form.action'} eq 'newtaskfile' ||
$env{'form.action'} eq 'newlibraryfile' ||
$env{'form.action'} eq 'Select Action') {
my $empty=&mt('Type Name Here');
@@ -1370,6 +1371,7 @@
$env{'form.action'} eq 'newsequencefile' ||
$env{'form.action'} eq 'newrightsfile' ||
$env{'form.action'} eq 'newstyfile' ||
+ $env{'form.action'} eq 'newtaskfile' ||
$env{'form.action'} eq 'newlibraryfile' ||
$env{'form.action'} eq 'Select Action' ) {
$r->print('<h3>'.&mt('New Resource').'</h3>');
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.102 loncom/publisher/lonpubdir.pm:1.103
--- loncom/publisher/lonpubdir.pm:1.102 Thu Apr 19 21:17:24 2007
+++ loncom/publisher/lonpubdir.pm Wed Jul 25 15:56:57 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.102 2007/04/20 01:17:24 albertel Exp $
+# $Id: lonpubdir.pm,v 1.103 2007/07/25 19:56:57 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -356,6 +356,7 @@
ncrf => 'New custom rights file',
nsty => 'New style file',
nlib => 'New library file',
+ nbt => 'New bridgetask file',
nsub => 'New subdirectory',
renm => 'Rename current file to',
move => 'Move current file to',
@@ -414,6 +415,7 @@
<option value="newsequencefile">$lt{'nseq'}:</option>
<option value="newrightsfile">$lt{'ncrf'}:</option>
<option value="newstyfile">$lt{'nsty'}:</option>
+ <option value="newtaskfile">$lt{'nbt'}:</option>
<option value="newlibraryfile">$lt{'nlib'}:</option>
<option value="newdir">$lt{'nsub'}:</option>
</select> <input type="text" name="newfilename" value="Type Name Here" onfocus="if (this.value == 'Type Name Here') this.value=''" /> <input type="button" value="Go" onclick="document.fileaction.submit()" />