incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r1195091 - in /incubator/ooo/ooo-site/trunk: lib/view.pm templates/skeleton.html tools/urlrewrite.sed
Date Sun, 30 Oct 2011 02:25:26 GMT
Author: wave
Date: Sun Oct 30 02:25:25 2011
New Revision: 1195091

URL: http://svn.apache.org/viewvc?rev=1195091&view=rev
Log:
adding the es project - key adjustments to wrapping - changed css id of header logo to ooo-logo

Modified:
    incubator/ooo/ooo-site/trunk/lib/view.pm
    incubator/ooo/ooo-site/trunk/templates/skeleton.html
    incubator/ooo/ooo-site/trunk/tools/urlrewrite.sed

Modified: incubator/ooo/ooo-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/lib/view.pm?rev=1195091&r1=1195090&r2=1195091&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/lib/view.pm (original)
+++ incubator/ooo/ooo-site/trunk/lib/view.pm Sun Oct 30 02:25:25 2011
@@ -84,7 +84,7 @@ sub html_page {
     }
 
     $args{header} = `sed -n '/<head>/,/<\\/head>/p' ${file} | sed -e '1s/.*<head>//'
-e 's/<\\/head>.*//'`;
-    $args{content} = `sed -n '/<body>/,/<\\/body>/p' ${file} | sed -e '1s/.*<body>//'
-e "s/<\\/body>.*//"`;
+    $args{content} = `sed -n '/<body.*>/,/<\\/body>/p' ${file} | sed -e '1s/.*<body.*>//'
-e "s/<\\/body>.*//"`;
 
     return Template($template)->render(\%args), html => \%args;
 }

Modified: incubator/ooo/ooo-site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/templates/skeleton.html?rev=1195091&r1=1195090&r2=1195091&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/templates/skeleton.html (original)
+++ incubator/ooo/ooo-site/trunk/templates/skeleton.html Sun Oct 30 02:25:25 2011
@@ -12,7 +12,7 @@
 <body>
   <div id="banner">
     <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="/">
-      <img id="logo" alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
+      <img id="ooo-logo alt="Apache OpenOffice.org (Incubating)" src="/images/ooo-logo.png"/></a></div>
     <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
       <img id="asf-logo" alt="Apache Incubator" src="/images/apache-incubator-logo.png"/></a></div>
    <div id="bannercenter"><br/>(incubating)&nbsp;|&nbsp;The Free and
Open Productivity Suite</div>

Modified: incubator/ooo/ooo-site/trunk/tools/urlrewrite.sed
URL: http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/tools/urlrewrite.sed?rev=1195091&r1=1195090&r2=1195091&view=diff
==============================================================================
--- incubator/ooo/ooo-site/trunk/tools/urlrewrite.sed (original)
+++ incubator/ooo/ooo-site/trunk/tools/urlrewrite.sed Sun Oct 30 02:25:25 2011
@@ -28,6 +28,7 @@ s/http:\/\/support.openoffice.org/\/supp
 s/http:\/\/contributing.openoffice.org/\/contributing/g
 s/http:\/\/projects.openoffice.org/\/projects/g
 s/http:\/\/why.openoffice.org/\/why/g
+s/http:\/\/es.openoffice.org/\/es/g
 #
 # For bugzilla:
 s/http:\/\/openoffice.org\/bugzilla/https:\/\/issues.apache.org\/ooo/g



Mime
View raw message