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 2021/05/13 08:41:36 UTC

[openoffice-org] 01/05: Updated structure

This is an automated email from the ASF dual-hosted git repository.

marcus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openoffice-org.git

commit 1c32856ffd8d35be897c6ebd33322b8bf78b71c9
Author: Marcus <ma...@apache.org>
AuthorDate: Thu May 13 10:10:15 2021 +0200

    Updated structure
---
 content/de/index.html | 174 +++++++++++++++++++++++---------------------------
 1 file changed, 80 insertions(+), 94 deletions(-)

diff --git a/content/de/index.html b/content/de/index.html
index 930cda0..4d5c2a7 100644
--- a/content/de/index.html
+++ b/content/de/index.html
@@ -1,9 +1,10 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
 <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta name="name" content="Apache OpenOffice" />
     <meta name="description" content="Die offizielle Homepage des Apache OpenOffice Open Source Projekts, Heimat von OpenOffice Writer, Calc, Impress, Draw und Base." />
     <meta name="keywords" content="OpenOffice, Open Office, Apache OpenOffice, Apache Open Office, OpenOffice.org, Calc, Impress, Draw, Base, ODF, Open Document Format, freie Büro-Editoren" />
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     <title>Apache OpenOffice - Offizielle Seite - Die freie und offene B&uuml;ro-Software</title>
     <script type="text/javascript" src="/download/globalvars.js"></script>
     <script type="text/javascript" src="/msg_prop_l10n.js"></script>
@@ -19,70 +20,55 @@
       function follow( platform ) {
         // _gaq.push( ['_trackEvent', 'social', 'followUs', platform] );
 
-		  if ( platform == 'ApacheBlog' ) {
+	if ( platform == 'ApacheBlog' ) {
           window.open( "https://blogs.apache.org/OOo/", "_blank" );
-	    } else if ( platform == 'Facebook' ) {
+	} else if ( platform == 'Facebook' ) {
           window.open( "https://www.facebook.com/ApacheOO", "_blank" );
-		} else if ( platform == 'Twitter' ) {
+	} else if ( platform == 'Twitter' ) {
           window.open( "https://twitter.com/ApacheOO", "_blank" );
-	    } else if ( platform == 'YouTube' ) {
+	} else if ( platform == 'YouTube' ) {
           window.open( "https://www.youtube.com/openoffice", "_blank" );
         }
       }
 
-      function showAlertbox( show ) {
-	// More see "http://html-color-codes.info/"
-        var l10n_alert_box_background_color = "#F5A9A9";
-        // Make the whole alert box clickable with a link.
-        var l10n_alert_box_href		    = "index.html";
-	// Maximum 49 characters.
-        var l10n_alert_box_headline_text    = "Überschrifttext mit max. 49 Zeichen";
-	// Maximum 630 characters.
-        var l10n_alert_box_text_text	    = "Text mit max. 630 Zeichen."
-					      + "<br /><br />"
-					      + "Diese Textbox ist jetzt inhalb des Layouts der darunterliegenden "
-					      + "Listenelemente."
-					      + "<br /><br />"
-					      + "Der verlinkte Text kann angeklickt werden, damit der Benutzer zu "
-					      + "weiteren Informationen oder einer Lösung geführt werden kann. Aber der "
-					      + "Link kann auch weggelassen werden. Dann ist der gesamte Text nicht "
-					      + "anklickbar.";
-        // Show alert box or not?
-        if( show ) {
-          // If no background color value was set then use the default value.
-          if( ! l10n_alert_box_background_color )
-            var l10n_alert_box_background_color = "#FFD9A7";
-
-          // Show alert box with defined background color.
-          // Depending if link is available, make the whole DIV clickable or not.
-          if( l10n_alert_box_href ) {
-            // Show the text with link and cursor as poiner.
-            document.write( "<div id='alert_box' style='background: " + l10n_alert_box_background_color
-            + "; ' onclick='window.open(\"" + l10n_alert_box_href + "\", \"_blank\"); return false;'>" );
-
-            // Show headline.
-            document.write( "<h2 style='cursor: pointer;'>" + l10n_alert_box_headline_text + "</h2>" );
-
-            // Show text.
-            if( l10n_alert_box_text_text )
-              document.write( "<p style='cursor: pointer;'>" + l10n_alert_box_text_text + "</p>" );
-
-          } else {
-            // Show the text without link and normal cursor.
-            document.write( "<div id='alert_box' style='background: " + l10n_alert_box_background_color + "'>" );
-
-            // Show headline.
-            document.write( "<h2 style='cursor: default;'>" + l10n_alert_box_headline_text + "</h2>" );
-
-            // Shoe text.
-            if( l10n_alert_box_text_text )
-              document.write( "<p style='cursor: default;'>" + l10n_alert_box_text_text + "</p>" );
-          }
-
-          document.write( "</div>" ); // Alert box
-        }
+      function showAlertBox() {
+	// The text is defined in "./msg_prop_l10n_xx.js".
+
+	// Show the alert box or not?
+	if( l10n.index_alert_box_show ) {
+		// Depending if link is available, make the whole DIV clickable or not.
+		if( l10n.index_alert_box_href ) {
+			// Show the text with link and cursor as pointer.
+			document.write( "<div id='alert_box' onclick='window.open( \"" + l10n.index_alert_box_href
+			+ "\", \"_blank\" ); return false;'><ul><li>" );
+
+			// Show headline.
+			document.write( "<h2 style='cursor: pointer;'>"
+			+ l10n.index_alert_box_headline_text + "</h2>" );
+
+			// Show text.
+			if( l10n.index_alert_box_text_text ) {
+				document.write( "<p style='cursor: pointer;'>"
+				+ l10n.index_alert_box_text_text + "</p>" );
+			}
+		} else {
+			// Show the text without link and normal cursor.
+			document.write( "<div id='alert_box'><ul><li>" );
+
+			// Show headline.
+			document.write( "<h2 style='cursor: default;'>"
+			+ l10n.index_alert_box_headline_text + "</h2>" );
+
+			// Show text.
+			if( l10n.index_alert_box_text_text ) {
+				document.write( "<p style='cursor: default;'>"
+				+ l10n.index_alert_box_text_text + "</p>" );
+			}
+		}
+		document.write( "</li></ul></div>" ); // Alert box.
+	}
       }
-  </script>
+    </script>
 </head>
 
 <body>
@@ -97,7 +83,8 @@ screen reader.
   <script type="text/javascript">
   <!--
   // Show alert box.
-  // Change to 'true' if you want to show the text that is defined in the variables above.
+  // Show an important message or announcement.
+  // In "/msg_prop_l10n.js": Change to 'true' to show the box that is defined in the variables.
   showAlertbox( false );
   //-->
   </script>
@@ -121,41 +108,41 @@ screen reader.
     </li>
   </ul>
 
-    <!-- Show the download link with currently available version number, loaded via JavaScript -->
-    <script type="text/javascript">
-    <!--
-    document.write( "<ul><li>"
-      + "<div class='action-download'>"
-        + "<div class='action-text action-link'>"
-          + "<a href='./download/'>"
-            + "<h2>Ich m&ouml;chte Apache OpenOffice herunterladen</h2>"
-            + "<p style='font-size: 1.0em; font-weight: bold;'>(Neueste Version: " + DL.VERSION + ")</p>"
-            + "<p>Laden Sie Apache OpenOffice kostenlos herunter <b>(wirklich!)</b> | "
-              + "<a href='https://blogs.apache.org/OOo/entry/with_apache_openoffice_you_get'"
-                + "title='Blog post: With Apache OpenOffice you get what you do not pay for' target='_blank'>"
-                + "Hier mehr Informationen (in Englisch)"
-              + ".</a>"
-            + "</p>"
-          + "</a>"
-        + "</div>"
+  <!-- Show the download link with currently available version number, loaded via JavaScript -->
+  <script type="text/javascript">
+  <!--
+  document.write( "<ul><li>"
+    + "<div class='action-download'>"
+      + "<div class='action-text action-link'>"
+        + "<a href='./download/'>"
+          + "<h2>Ich m&ouml;chte Apache OpenOffice herunterladen</h2>"
+          + "<p style='font-size: 1.0em; font-weight: bold;'>(Neueste Version: " + DL.VERSION + ")</p>"
+          + "<p>Laden Sie Apache OpenOffice kostenlos herunter <b>(wirklich!)</b> | "
+            + "<a href='https://blogs.apache.org/OOo/entry/with_apache_openoffice_you_get'"
+              + "title='Blog post: With Apache OpenOffice you get what you do not pay for' target='_blank'>"
+              + "Hier mehr Informationen (in Englisch)"
+            + ".</a>"
+          + "</p>"
+        + "</a>"
       + "</div>"
-    + "</li></ul>" );
-    //-->
-    </script>
+    + "</div>"
+  + "</li></ul>" );
+  //-->
+  </script>
 
-    <!-- Show the download link, without version number -->
-    <noscript>
-        <div class="action-download">
-          <div class="action-text action-link">
-            <a href="./download/">
-              <h2>Ich m&ouml;chte Apache OpenOffice herunterladen</h2>
-              <p>Laden Sie Apache OpenOffice kostenlos herunter.</p>
-            </a>
-          </div>
-        </div>
-    </noscript>
+  <!-- Show the download link, without version number -->
+  <noscript>
+    <div class="action-download">
+      <div class="action-text action-link">
+        <a href="./download/">
+          <h2>Ich m&ouml;chte Apache OpenOffice herunterladen</h2>
+          <p>Laden Sie Apache OpenOffice kostenlos herunter.</p>
+        </a>
+      </div>
+    </div>
+  </noscript>
 
-    <ul>
+  <ul>
     <li>
       <hr />
     </li>
@@ -238,9 +225,9 @@ screen reader.
   </ul>
 
   <div id="SupportedAndSupporters">
-	<a href="https://validator.w3.org/check?uri=referer"
-	title="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents">
-	<img src="https://www.w3.org/Icons/valid-xhtml10-blue.png"
+    <a href="https://validator.w3.org/check?uri=referer"
+    title="W3C Markup Validation Service - Check the markup (HTML, XHTML, ...) of Web documents">
+    <img src="https://www.w3.org/Icons/valid-xhtml10-blue.png"
     alt="Valid XHTML 1.0!" height="31" width="88" /></a>
   </div>
 </div>
@@ -255,7 +242,6 @@ screen reader.
     </p>
 
     <p>
-
       <em>4. Mai 2021:</em>
       <br />
       <a href="https://blogs.apache.org/OOo/entry/announcing-apache-openoffice-4-16">