myfaces-commits mailing list archives

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

URL: http://svn.apache.org/r1565851
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=1565851&r1=1565850&r2=1565851&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Fri Feb  7 23:42:22 2014
@@ -133,9 +133,11 @@ sub sitemap {
    my ($dir) = ($file =~ /^(.*)\/.*?/);
    my $entries = {};
    sitemapFind($dir, $entries);
+   
+   my($tfile, $tdir, $text) = fileparse($file)
 
    my $sitemap = "<ul>\n";
-   $sitemap = sitemapRender($sitemap, $entries, "$template");
+   $sitemap = sitemapRender($sitemap, $entries, "$tdir");
    $sitemap .= "</ul>\n";
    $args{sitemap} = $sitemap;
    



Mime
View raw message