You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by jo...@apache.org on 2012/07/10 19:20:29 UTC
svn commit: r1359794 - /logging/site/cms/trunk/lib/view.pm
Author: joes
Date: Tue Jul 10 17:20:29 2012
New Revision: 1359794
URL: http://svn.apache.org/viewvc?rev=1359794&view=rev
Log:
trivial change to generate site build
Modified:
logging/site/cms/trunk/lib/view.pm
Modified: logging/site/cms/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/logging/site/cms/trunk/lib/view.pm?rev=1359794&r1=1359793&r2=1359794&view=diff
==============================================================================
--- logging/site/cms/trunk/lib/view.pm (original)
+++ logging/site/cms/trunk/lib/view.pm Tue Jul 10 17:20:29 2012
@@ -1,34 +1,35 @@
-package view;
-
-use strict;
-use warnings;
-use Dotiac::DTL qw/Template *TEMPLATE_DIRS/;
-use Dotiac::DTL::Addon::markup;
-
-push @TEMPLATE_DIRS, "templates";
-
-sub page {
- my %args = @_;
- Template("content$args{path}")->render(\%args), html => \%args;
-}
-
-1;
-
-=head1 LICENSE
-
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
+package view;
+
+use strict;
+use warnings;
+use Dotiac::DTL qw/Template *TEMPLATE_DIRS/;
+use Dotiac::DTL::Addon::markup;
+
+push @TEMPLATE_DIRS, "templates";
+
+# KISS
+sub page {
+ my %args = @_;
+ Template("content$args{path}")->render(\%args), html => \%args;
+}
+
+1;
+
+=head1 LICENSE
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.