myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1565855 - /myfaces/site/cms-site/trunk/lib/view.pm
Date Fri, 07 Feb 2014 23:48:46 GMT
Author: lu4242
Date: Fri Feb  7 23:48:46 2014
New Revision: 1565855

URL: http://svn.apache.org/r1565855
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=1565855&r1=1565854&r2=1565855&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Fri Feb  7 23:48:46 2014
@@ -135,11 +135,11 @@ sub sitemap {
    sitemapFind($dir, $entries);
    
    # get the current directory and extract the directory
-   my($tfile, $tdir, $text) = fileparse($file);
+   my($tfile, $tdir, $text) = fileparse($template);
    $tdir =~ s{/\z}{};
 
    my $sitemap = "<ul>\n";
-   $sitemap = sitemapRender($sitemap, $entries, "");
+   $sitemap = sitemapRender($sitemap, $entries, "$tdir");
    $sitemap .= "</ul>\n";
    $args{sitemap} = $sitemap;
    



Mime
View raw message