You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/07/04 22:03:54 UTC
svn commit: r1607928 -
/openoffice/ooo-site/trunk/content/download/test/index.html
Author: marcus
Date: Fri Jul 4 20:03:54 2014
New Revision: 1607928
URL: http://svn.apache.org/r1607928
Log:
Fixed JS errors, updated text
Modified:
openoffice/ooo-site/trunk/content/download/test/index.html
Modified: openoffice/ooo-site/trunk/content/download/test/index.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/index.html?rev=1607928&r1=1607927&r2=1607928&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/index.html (original)
+++ openoffice/ooo-site/trunk/content/download/test/index.html Fri Jul 4 20:03:54 2014
@@ -24,22 +24,23 @@
/* ]]> */
</style>
<script>
- if ( window.document.referrer.indexOf( "shell.windows.com" ) != -1 )
+ if ( window.document.referrer.indexOf( "shell.windows.com" ) != -1 ) {
location.href = "http://www.openoffice.org/why/why_odf.html";
+ }
function share( platform ) {
_gaq.push( ['_trackEvent', 'social', 'shareDownload', platform] );
- if ( platform == 'apacheblog' )
+ if ( platform == 'apacheblog' ) {
window.open( 'http://blogs.apache.org/OOo/', '_blank' );
- else if ( platform == 'facebook' )
+ } else if ( platform == 'facebook' ) {
window.open( 'http://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F', '_blank', 'toolbar=0, status=0, width=580, height=325' );
- else if ( platform == 'twitter' )
+ } else if ( platform == 'twitter' ) {
window.open( 'http://twitter.com/intent/tweet?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F&text=Join+the+OpenOffice+revolution%2C+the+free+office+productivity+suite+with+over+100+million+trusted+downloads.', '_blank', 'toolbar=0, status=0, width=580, height=325' );
- else if ( platform == 'google+' )
+ } else if ( platform == 'google+' ) {
window.open( 'http://plus.google.com/share?url=http%3A%2F%2Fwww.openoffice.org%2Fdownload%2F', '_blank', 'toolbar=0, status=0, width=580, height=325' );
+ }
}
-
</script>
</head>
@@ -82,14 +83,15 @@
<div class="first button green-sel" id="optionitem2">
<h2>
<a style="cursor: pointer;" href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/"
- title="Select from all platforms, languages, language packs to download">Download Apache OpenOffice
+ title="Select from all platforms, languages, language packs to download">
+ Apache OpenOffice Downloads - Official Site
</a>
</h2>
<p>
<a style="cursor: pointer;" href="http://www.apache.org/dyn/aoo-closer.cgi/openoffice/"
- title="Select from all platforms, languages, language packs to download">The browser seems to have JavaScript
- disabled. This technique is used for showing the actual download link. If you want to download Apache OpenOffice
- anyway, click this text to choose from the alternative download webpage.
+ title="Select from all platforms, languages and language packs to download">The browser seems to have JavaScript
+ disabled. This technique is used for showing the actual download link. If you want to download Apache
+ OpenOffice anyway, click this text to choose from the alternative download webpage.
Our apologies for the inconvenience.
</a>
</p>