Author: marcus
Date: Sun Jun 22 18:20:55 2014
New Revision: 1604635

URL: http://svn.apache.org/r1604635
Log:
Fixed error: Wrong quotes prevented links to open, updated CSS styles

Modified:
    openoffice/ooo-site/trunk/content/download/test/boxed_download.js

Modified: openoffice/ooo-site/trunk/content/download/test/boxed_download.js
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/boxed_download.js?rev=1604635&r1=1604634&r2=1604635&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/boxed_download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/boxed_download.js Sun Jun 
22 18:20:55 2014
@@ -148,10 +148,10 @@ function createExtensionsBox() {
   // Blue colored box.
   // Get extensions and dictionaries.
   document.write( "<div class='blue button' id='optionitem5' "
-    + "onclick='openItem('optionitem5','http://extensions.openoffice.org'); 
return false;'>"
+    + 
"onclick='openItem(\"optionitem5\",\"http://extensions.openoffice.org\";); 
return false;'>"
     + "<div class='blue-icon'></div>"
     + "<h2 title='" + l10n_ext_blue_box_headline_title + "'>" + 
l10n_ext_blue_box_headline_text + "</h2>"
-    + "<p style='margin-left: 0; padding-bottom: 3%;'>"
+    + "<p style='margin-left: 5px; padding-bottom: 3%;'>"
       + "<a href='http://extensions.openoffice.org' title='" + 
l10n_ext_blue_box_text_title + "'>"
         + l10n_ext_blue_box_text_text
       + "</a>"
@@ -164,10 +164,10 @@ function createTemplatesBox() {
   // Blue colored box.
   // Get templates.
   document.write( "<div class='button blue' id='optionitem6' "
-    + "onclick='openItem('optionitem6','http://templates.openoffice.org'); 
return false;'>"
+    + "onclick='openItem(\"optionitem6\",\"http://templates.openoffice.org\";); 
return false;'>"
     + "<div class='blue-icon'></div>"
     + "<h2 title='" + l10n_tlp_blue_box_headline_title + "'>" + 
l10n_tlp_blue_box_headline_text + "</h2>"
-    + "<p style='margin-left: 0; padding-bottom: 3%;'>"
+    + "<p style='margin-left: 5px; padding-bottom: 3%;'>"
       + "<a href='http://templates.openoffice.org' title='" + 
l10n_tlp_blue_box_text_title + "'>"
         + l10n_tlp_blue_box_text_text
       + "</a>"


Reply via email to