myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1564157 - /myfaces/site/cms-site/trunk/lib/view.pm
Date Tue, 04 Feb 2014 02:20:41 GMT
Author: lu4242
Date: Tue Feb  4 02:20:40 2014
New Revision: 1564157

URL: http://svn.apache.org/r1564157
Log:
test how to fix documentation

Modified:
    myfaces/site/cms-site/trunk/lib/view.pm

Modified: myfaces/site/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/myfaces/site/cms-site/trunk/lib/view.pm?rev=1564157&r1=1564156&r2=1564157&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Tue Feb  4 02:20:40 2014
@@ -270,9 +270,8 @@ sub breadcrumbs {
         $targetpath = $relpath;
         $relpath .= "$_/";
         # Ignore top level since myfaces cms start in /wiki dir
-        my $datafile = "";
         if ($ignoreCount > 0) {
-            $datafile = "content$targetpath$_.mdtext";
+            my $datafile = "content$targetpath$_.mdtext";
             my %data;
             if (-f $datafile) {
                 read_text_file $datafile, \%data;
@@ -289,7 +288,7 @@ sub breadcrumbs {
                 $targetpath = $relpath;
            }
             # $_ ||= "Home";
-            push @rv, qq(<a href="$targetpath">$linktitle $datafile</a>);
+            push @rv, qq(<a href="$targetpath">$linktitle</a>);
         } else {
             $_ ||= "Home";
             push @rv, qq(<a href="$relpath">\u$_</a>);



Mime
View raw message