You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by wa...@apache.org on 2011/10/30 03:25:26 UTC
svn commit: r1195091 - in /incubator/ooo/ooo-site/trunk: lib/view.pm
templates/skeleton.html tools/urlrewrite.sed
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) | 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