You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2014/02/11 00:07:40 UTC
svn commit: r1566817 - /myfaces/site/cms-site/trunk/lib/view.pm
Author: lu4242
Date: Mon Feb 10 23:07:40 2014
New Revision: 1566817
URL: http://svn.apache.org/r1566817
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=1566817&r1=1566816&r2=1566817&view=diff
==============================================================================
--- myfaces/site/cms-site/trunk/lib/view.pm (original)
+++ myfaces/site/cms-site/trunk/lib/view.pm Mon Feb 10 23:07:40 2014
@@ -60,25 +60,25 @@ sub single_narrative {
$basePath = "$ptdir";
$basePath =~ s[/$][];
}
- #$args{$headerKey} = pagetree("content$basePath/", $basePath, -1);
+ $args{$headerKey} = pagetree("content$basePath/", $basePath, -1);
}
- if ($command = "pagetree(1)") {
+ if ($command = "pagetree_1") {
my($ptfile, $ptdir, $ptext) = fileparse($args{path}, qr/\.[^.]*/);
my $basePath = "$ptdir$ptfile";
if (!(-d "content$basePath/")){
$basePath = "$ptdir";
$basePath =~ s[/$][];
}
- #$args{$headerKey} = pagetree("content$basePath/", $basePath, 1);
+ $args{$headerKey} = pagetree("content$basePath/", $basePath, 1);
}
- if ($command = "pagetree(2)") {
+ if ($command = "pagetree_2") {
my($ptfile, $ptdir, $ptext) = fileparse($args{path}, qr/\.[^.]*/);
my $basePath = "$ptdir$ptfile";
if (!(-d "content$basePath/")){
$basePath = "$ptdir";
$basePath =~ s[/$][];
}
- #$args{$headerKey} = pagetree("content$basePath/", $basePath, 2);
+ $args{$headerKey} = pagetree("content$basePath/", $basePath, 2);
}
}
}