[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm /publisher loncfile.pm lonpubdir.pm lonpublisher.pm lonrights.pm /xml londefdef.pm lonxml.pm

bisitz bisitz@source.lon-capa.org
Thu, 28 May 2009 17:08:43 -0000


bisitz		Thu May 28 17:08:43 2009 EDT

  Modified files:              
    /loncom/interface	lonmeta.pm 
    /loncom/publisher	loncfile.pm lonpubdir.pm lonpublisher.pm 
                     	lonrights.pm 
    /loncom/xml	londefdef.pm lonxml.pm 
  Log:
  Changes related to modification of LON-CAPA screen header.
  Added dynamic link to Construction Space to breadcrumbs
  
  
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.234 loncom/interface/lonmeta.pm:1.235
--- loncom/interface/lonmeta.pm:1.234	Wed May 27 14:36:11 2009
+++ loncom/interface/lonmeta.pm	Thu May 28 17:08:32 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Metadata display handler
 #
-# $Id: lonmeta.pm,v 1.234 2009/05/27 14:36:11 bisitz Exp $
+# $Id: lonmeta.pm,v 1.235 2009/05/28 17:08:32 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -767,7 +767,7 @@
     &Apache::lonhtmlcommon::clear_breadcrumbs();
     &Apache::lonhtmlcommon::add_breadcrumb({
         'text'  => 'Construction Space',
-        'href'  => '', # FIXME Add link to /priv/[user]
+        'href'  => &Apache::loncommon::authorspace(),
     });
 
     if ($uri=~m:/adm/bombs/(.*)$:) {
Index: loncom/publisher/loncfile.pm
diff -u loncom/publisher/loncfile.pm:1.100 loncom/publisher/loncfile.pm:1.101
--- loncom/publisher/loncfile.pm:1.100	Tue May 26 18:01:39 2009
+++ loncom/publisher/loncfile.pm	Thu May 28 17:08:38 2009
@@ -9,7 +9,7 @@
 #  and displays a page showing the results of the action.
 #
 #
-# $Id: loncfile.pm,v 1.100 2009/05/26 18:01:39 bisitz Exp $
+# $Id: loncfile.pm,v 1.101 2009/05/28 17:08:38 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1450,7 +1450,7 @@
     &Apache::lonhtmlcommon::clear_breadcrumbs();
     &Apache::lonhtmlcommon::add_breadcrumb({
         'text'  => 'Construction Space',
-        'href'  => '', # FIXME Add link to /priv/[user]
+        'href'  => &Apache::loncommon::authorspace(),
     });
     &Apache::lonhtmlcommon::add_breadcrumb({
         'text'  => 'File Operation',
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.121 loncom/publisher/lonpubdir.pm:1.122
--- loncom/publisher/lonpubdir.pm:1.121	Tue May 19 22:52:29 2009
+++ loncom/publisher/lonpubdir.pm	Thu May 28 17:08:38 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Construction Space Directory Lister
 #
-# $Id: lonpubdir.pm,v 1.121 2009/05/19 22:52:29 bisitz Exp $
+# $Id: lonpubdir.pm,v 1.122 2009/05/28 17:08:38 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -209,7 +209,14 @@
                                                  { 'only_body' => 1,}));
     }
 
-    $r->print(&Apache::lonhtmlcommon::breadcrumbs()); # FIXME add breadcrumbs
+    # Breadcrumbs
+    &Apache::lonhtmlcommon::clear_breadcrumbs();
+    &Apache::lonhtmlcommon::add_breadcrumb({
+        'text'  => 'Construction Space',
+        'href'  => &Apache::loncommon::authorspace(),
+    });
+
+    $r->print(&Apache::lonhtmlcommon::breadcrumbs());
 
     $r->print(&Apache::loncommon::head_subbox(
                 &Apache::loncommon::CSTR_pageheader(1)));
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.259 loncom/publisher/lonpublisher.pm:1.260
--- loncom/publisher/lonpublisher.pm:1.259	Tue May 26 16:08:00 2009
+++ loncom/publisher/lonpublisher.pm	Thu May 28 17:08:38 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Publication Handler
 #
-# $Id: lonpublisher.pm,v 1.259 2009/05/26 16:08:00 bisitz Exp $
+# $Id: lonpublisher.pm,v 1.260 2009/05/28 17:08:38 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2167,7 +2167,7 @@
     &Apache::lonhtmlcommon::clear_breadcrumbs();
     &Apache::lonhtmlcommon::add_breadcrumb({
         'text'  => 'Construction Space',
-        'href'  => '', # FIXME Add link to /priv/[user]
+        'href'  => &Apache::loncommon::authorspace(),
     });
     &Apache::lonhtmlcommon::add_breadcrumb({
         'text'  => 'Resource Publication',
Index: loncom/publisher/lonrights.pm
diff -u loncom/publisher/lonrights.pm:1.26 loncom/publisher/lonrights.pm:1.27
--- loncom/publisher/lonrights.pm:1.26	Tue May 26 11:21:47 2009
+++ loncom/publisher/lonrights.pm	Thu May 28 17:08:38 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to show and edit custom distribution rights
 #
-# $Id: lonrights.pm,v 1.26 2009/05/26 11:21:47 bisitz Exp $
+# $Id: lonrights.pm,v 1.27 2009/05/28 17:08:38 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -59,7 +59,7 @@
   &Apache::lonhtmlcommon::clear_breadcrumbs();
   &Apache::lonhtmlcommon::add_breadcrumb({
       'text'  => 'Construction Space',
-      'href'  => '', # FIXME Add link to /priv/[user]
+      'href'  => &Apache::loncommon::authorspace(),
       });
   &Apache::lonhtmlcommon::add_breadcrumb({
       'text'  => 'Custom Rights Editor',
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.408 loncom/xml/londefdef.pm:1.409
--- loncom/xml/londefdef.pm:1.408	Thu May 28 12:39:12 2009
+++ loncom/xml/londefdef.pm	Thu May 28 17:08:43 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Tags Default Definition Module 
 #
-# $Id: londefdef.pm,v 1.408 2009/05/28 12:39:12 bisitz Exp $
+# $Id: londefdef.pm,v 1.409 2009/05/28 17:08:43 bisitz Exp $
 # 
 #
 # Copyright Michigan State University Board of Trustees
@@ -542,7 +542,7 @@
     &Apache::lonhtmlcommon::clear_breadcrumbs();
     &Apache::lonhtmlcommon::add_breadcrumb({
         'text'  => 'Construction Space',
-        'href'  => '', # FIXME Add link to /priv/[user]
+        'href'  => &Apache::loncommon::authorspace(),
     });
     &Apache::lonhtmlcommon::add_breadcrumb({
         'text'  => 'HTML Editor',
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.495 loncom/xml/lonxml.pm:1.496
--- loncom/xml/lonxml.pm:1.495	Thu May 28 11:31:03 2009
+++ loncom/xml/lonxml.pm	Thu May 28 17:08:43 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.495 2009/05/28 11:31:03 bisitz Exp $
+# $Id: lonxml.pm,v 1.496 2009/05/28 17:08:43 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1798,7 +1798,7 @@
                 if ($env{'environment.remote'} eq 'off') {
                     my $brcrum;
                     if ($env{'request.state'} eq 'construct') {
-                        $brcrum = [{'href' => '', # FIXME Add link to /priv/[user]
+                        $brcrum = [{'href' => &Apache::loncommon::authorspace(),
                                     'text' => 'Construction Space'},
                                    {'href' => '',
                                     'text' => 'Editor'}];
@@ -1837,7 +1837,7 @@
                     'onload'       => $add_to_onload,   });
 
          $options{'bread_crumbs'} = [{
-                        'href' => '', # FIXME Add link to /priv/[user]
+                        'href' => &Apache::loncommon::authorspace(),
                         'text' => 'Construction Space'},
                        {'href' => '',
                         'text' => 'HTML Editor'}];