Author: buildbot
Date: Fri Sep 12 18:48:46 2014
New Revision: 921985

Log:
Staging update by buildbot for ooo-site

Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)
    websites/staging/ooo-site/trunk/content/index_asfcon.html

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Sep 12 18:48:46 2014
@@ -1 +1 @@
-1624608
+1624609

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Sep 12 18:48:46 2014
@@ -1 +1 @@
-1624608
+1624609

Modified: websites/staging/ooo-site/trunk/content/index_asfcon.html
==============================================================================
--- websites/staging/ooo-site/trunk/content/index_asfcon.html (original)
+++ websites/staging/ooo-site/trunk/content/index_asfcon.html Fri Sep 12 
18:48:46 2014
@@ -37,12 +37,44 @@
         }
       }
 
+      function showEventBox() {
+       // The text is defined in "/msg_prop_l10n.js".
+
+       // Show the event box or not?
+       if( l10n.index_event_box_show ) {
+               // Show the banner logo and text with link and cursor as poiner.
+               document.write( "<div id='event_box' onclick='window.open( \"" 
+ l10n.index_event_box_text_href
+                       + "\", \"_blank\" ); return false;'>"
+                       + "<ul>"
+                         + "<li>"
+                           // Event banner logo on the left hand side.
+                           + "<p style='float: left;'>"
+                             + "<a href='" + l10n.index_event_box_graphic_href
+                             + "' title='" + 
l10n.index_event_box_graphic_title + "' target='_blank'>"
+                               + "<img src='" + 
l10n.index_event_box_graphic_src
+                               + "' alt='" + l10n.index_event_box_graphic_alt 
+ "' />"
+                             + "</a>"
+                           + "</p>"
+
+                           // Event text on the right hand side.
+                           + "<p>"
+                             + "<a style='color: black; text-decoration: 
none;'"
+                               + "href='" + l10n.index_event_box_text_href
+                               + "' title='" + l10n.index_event_box_text_title 
+ "' target='_blank'>"
+                               + l10n.index_event_box_text_text
+                             + "</a>"
+                           + "</p>"
+                         + "</li>"
+                       + "</ul>"
+               + "</div>" );
+       }
+      }
+
       function showAlertBox() {
        // The text is defined in "/msg_prop_l10n.js".
 
-       // Show alert box or not?
-       if( ! l10n.index_alert_box_show ) {
-               // Show alert box with defined background color.
+       // 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 poiner.
@@ -72,7 +104,7 @@
                                + l10n.index_alert_box_text_text + "</p>" );
                        }
                }
-               document.write( "</li></ul></div>" ); // Alert box
+               document.write( "</li></ul></div>" ); // Alert box.
        }
       }
 
@@ -152,7 +184,7 @@
                        + "<ul><li>"
                        + "<p>" + lang_text + "</p>"
                        + "</li></ul>"
-                       + "</div>" ); // redirect box
+                       + "</div>" ); // Redirect box.
                        break;
                case "none":
                default:
@@ -186,38 +218,16 @@
 
 <div id="actionstatements">
 
-  <!-- Show event box. -->
-  <!-- Show a banner logo for events and a text. -->
-  <div id="event_box">
-    <ul>
-      <li>
-        <!-- Event banner logo on the left hand side. -->
-        <p style="float: left;">
-          <a href="http://apachecon.com/"; target="_blank">
-            <img src="http://www.apache.org/ads/ApacheCon/2014-eu-234x60.png"; 
alt="Apache Software Foundation" />
-          </a>
-        </p>
-
-        <!-- Event text on the right hand side. -->
-        <p>
-          <a style="color: black; text-decoration: none;"
-          href="http://events.linuxfoundation.org/events/apachecon-europe"; 
target="_blank">
-            ApacheCon Europe, 2014
-            <br />
-            Budapest, November 17th - 21st, 2014
-            <br />
-            Click to see conference site for details and registration.
-          </a>
-        </p>
-      </li>
-    </ul>
-  </div>
-
   <script type="text/javascript">
   <!--
+  // Show event box.
+  // Show a banner logo and message of the event.
+  // In "/msg_prop_l10n.js": Change to 'true' to show the box that is defined 
in the variables.
+  showEventBox();
+
   // Show alert box.
-  // Show important messages and announcements.
-  // In "/msg_prop_l10n.js": Change to 'true' to show the text that is defined 
in the variables.
+  // 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();
 
   // Show redirect box.


Reply via email to