Author: marcus
Date: Mon Sep  2 11:11:52 2013
New Revision: 1519389

URL: http://svn.apache.org/r1519389
Log:
Updates

Modified:
    openoffice/ooo-site/trunk/content/download/test/l10n/index_en.html

Modified: openoffice/ooo-site/trunk/content/download/test/l10n/index_en.html
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/l10n/index_en.html?rev=1519389&r1=1519388&r2=1519389&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/l10n/index_en.html 
(original)
+++ openoffice/ooo-site/trunk/content/download/test/l10n/index_en.html Mon Sep  
2 11:11:52 2013
@@ -15,7 +15,7 @@
   <script type="text/javascript" src="release_matrix.js"></script>
   <script type="text/javascript" src="download_l10n_en.js"></script>
   <script type="text/javascript" src="download.js"></script>
-  <script type="text/javascript" src="../../scripts/entourage.js"></script>
+  <script type="text/javascript" src="../../../scripts/entourage.js"></script>
   <style type="text/css">
   /* <![CDATA[ */
   /*-------------------- Exceptions on standard css -----------------------*/
@@ -51,87 +51,8 @@
   <!--
   // Set a specific language ISO code to force to assemble a certain localized 
build as download URL
   var NL_LANGUAGE = "";
-  // Get the download URL
-  var LINK        = getLink();
 
-  if ( hasMirrorLink() ) {
-    if ( LINK.toLowerCase().indexOf( "sourceforge" ) != -1 ) {
-      // Download directly from a mirror with displayed platform and language.
-      document.write( "<div class=\"first button green\" id=\"optionitem1\" 
onclick=\"openItem('optionitem1','"
-      + LINK + "');" + "return false;\">" );
-      document.write( "<h2><a href='" + LINK
-      + "' title='Version " + VERSION + " - Milestone " + MILESTONE + " - 
Build ID " + BUILD + " - SVN " + SVN_REV + "'>"
-      + green_box_1_headline + " " + VERSION + "</a>"
-      + "</h2>"
-      + "<p><a href='" + LINK
-      + "' title='Version " + VERSION + " - Milestone " + MILESTONE + " - 
Build ID " + BUILD + " - SVN " + SVN_REV + "'>"
-      + green_box_1_click + "<br />"
-      + "<b>" + UI_PLATFORM + "</b> " + green_box_1_and + " <b>" + LANG_ARRAY[ 
2 ] + "</b> "
-      + "(~" + FILESIZE + " " + green_box_1_megabyte + ")</a>"
-      + "</p>");
-    } else {
-      // OS and/or package manager was not recognized, therefore use 
"other.html" as download link.
-      document.write( "<div class=\"first button green\" id=\"optionitem1\" 
onclick=\"openItem('optionitem1','"
-      + LINK + "');" + "return false;\">" );
-      document.write( "<h2><a href='" + LINK
-      + "' title='" + LINK + "'>"
-      + green_box_2_headline + " " + VERSION + "</a>"
-      + "</h2>"
-      + "<p><a href='" + LINK
-      + "' title='" + LINK + "'>"
-      + green_box_2_no_build1 + " " + "<b>" + UI_PLATFORM + "</b>. " + 
green_box_2_no_build2 + "</a>"
-      + "</p>" );
-    }
-  } else {
-    // Download from an alternative webpage if hasMirrorLink() == false.
-    document.write( "<div class=\"first button green\" id=\"optionitem1\" 
onclick=\"openItem('optionitem1','"
-    + LANG_ARRAY[ 3 ] + "');" + "return false;\">" );
-    document.write( "<h2><a href='" + LANG_ARRAY[ 4 ]
-    + "' title='" + LANG_ARRAY[ 4 ] + "'>"
-    + green_box_3_headline + " " + VERSION + "</a>"
-    + "</h2>"
-    + "<p><a href='" + LANG_ARRAY[ 4 ]
-    + "' title='" + LANG_ARRAY[ 4 ] + "'>"
-    + green_box_3_no_build1 + " "
-    + "<b>" + LANG_ARRAY[ 2 ] + " (" + LANG_ARRAY[ 1 ] + ")</b>. "
-    + green_box_3_no_build2 + "</a>"
-    + "</p>" );
-  }
-  document.write( "</div>" );
-
-  // Show some helpful links for SDK, source, checksums, release notes, legacy 
version.
-  document.write( "<div class=\"sub-green\">" );
-  document.write( "<p>" );
-  if ( CHECKSUM_ASC ) {
-    document.write( sub_green_box_hash_text + " "
-    + "<a href='" + CHECKSUM_KEYS   + "' + title='KEYS "   + 
sub_green_box_signature_title + "'>KEYS</a> , "
-    + "<a href='" + CHECKSUM_ASC    + "' + title='ASC "    + 
sub_green_box_signature_title + "'>ASC</a> , "
-    + "<a href='" + CHECKSUM_MD5    + "' + title='MD5 "    + 
sub_green_box_hash_title + "'>MD5</a> , "
-    + "<a href='" + CHECKSUM_SHA256 + "' + title='SHA256 " + 
sub_green_box_hash_title + "'>SHA256</a> , "
-    + "<a href='../checksums.html' "
-    + "title='" + sub_green_box_verify_title + "'>"
-    + sub_green_box_verify_text + "</a> | ");
-  }
-  document.write( "<a href='" + sub_green_box_release_notes_link + "' "
-  + "title='" + sub_green_box_release_notes_title + " " + VERSION + "?'>"
-  + sub_green_box_release_notes_text + "</a> | <br />"
-  + "<a href='other.html' "
-  + "title='" + sub_green_box_other_title + "'>"
-  + "<b>" + sub_green_box_other_text + "</b></a> | "
-  + "<a href='other.html#source' "
-  + "title='" + sub_green_box_source_title + "'>"
-  + sub_green_box_source_text + "</a> | <br />"
-  + "<a href='../../porting/index.html' "
-  + "title='" + sub_green_box_ports_title + "'>"
-  + sub_green_box_ports_text + "</a> | "
-  + sub_green_box_old_legacy_text + " "
-  + "<a href='other-341.html' "
-  + "title='" + sub_green_box_old_title + " " + OLDVERSION + "'><b>" + 
OLDVERSION + "</b></a> + "
-  + "<a href='../legacy/index.html' "
-  + "title='" + sub_green_box_legacy_title + " "
-  + LEGACYVERSION + "'><b>" + LEGACYVERSION + "</b></a>"
-  + "</p>"
-  + "</div>" );
+  writeGreenBox();
 
   entourage.initialize();
   //-->
@@ -449,7 +370,7 @@
     <p>&nbsp;</p>
     <a href="http://validator.w3.org/check?uri=referer"; target="_blank"
     title="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) 
of Web documents">
-    <img src="../../images/valid-xhtml10-blue.png"
+    <img src="../../../images/valid-xhtml10-blue.png"
     alt="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) 
of Web documents" /></a>
   </div>
 </div>


Reply via email to