OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-meta                     Date:   16-Mar-2006 21:00:40
  Branch: HEAD                             Handle: 2006031620004000

  Added files:
    openpkg-meta            global-title.php
  Modified files:
    openpkg-meta            canvas-js.php

  Log:
    the new title page

  Summary:
    Revision    Changes     Path
    1.6         +82 -1      openpkg-meta/canvas-js.php
    1.1         +352 -0     openpkg-meta/global-title.php
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-meta/canvas-js.php
  ============================================================================
  $ cvs diff -u -r1.5 -r1.6 canvas-js.php
  --- openpkg-meta/canvas-js.php        12 Mar 2006 19:16:35 -0000      1.5
  +++ openpkg-meta/canvas-js.php        16 Mar 2006 20:00:40 -0000      1.6
  @@ -86,7 +86,7 @@
       if (defer_scheduled[id])
           clearTimeout(defer_handle[id]);
       defer_scheduled[id] = 1;
  -    defer_handle[id] = setTimeout("defer_scheduled["+id+"] = 0; " + cmd, 
delay);
  +    defer_handle[id] = setTimeout("defer_scheduled[\""+id+"\"] = 0; " + cmd, 
delay);
       return;
   }
   
  @@ -97,3 +97,84 @@
       return;
   }
   
  +/*
  + *  <div> content switching
  + */
  +
  +/*  INTERNAL: the switchdiv run-time information */
  +var switchdiv = new Array();
  +
  +/* INTERNAL: on mouse over events */
  +function switchdiv_over(event) {
  +    var id = this;
  +    switchdiv[id]["suspend"] = 1;
  +    return;
  +}
  +
  +/* INTERNAL: on mouse out events */
  +function switchdiv_out(event) {
  +    var id = this;
  +    switchdiv[id]["suspend"] = 0;
  +    return;
  +}
  +
  +/*  INTERNAL: update the switchdiv effect on a DOM node */
  +function switchdiv_update (id) {
  +    /*  check for suspend mode first */
  +    if (switchdiv[id]["suspend"] == 1) {
  +        /*  reschedule after 1s */
  +        defer_schedule("switchdiv_update_"+id, "switchdiv_update('"+id+"')", 
1000);
  +        return;
  +    }
  +
  +    /*  determine DOM node */
  +    var node = switchdiv[id]["node"];
  +
  +    /*  determine message node */
  +    var divs = node.getElementsByTagName("div");
  +    var div  = divs[switchdiv[id]["div"]];
  +
  +    /*  switching to next message */
  +    div.style.display = "none";
  +    switchdiv[id]["div"] = ((switchdiv[id]["div"] + 1) % divs.length);
  +    div = divs[switchdiv[id]["div"]];
  +    div.style.display = "block";
  +    t = switchdiv[id]["keep"];
  +
  +    /*  re-schedule switchdiv rendering */
  +    defer_schedule("switchdiv_update_"+id, "switchdiv_update('"+id+"')", t);
  +
  +    return;
  +}
  +
  +/*  EXTERNAL: apply a switchdiv effect to a DOM node */
  +function switchdiv_apply (id, keep) {
  +    /*  determine DOM node */
  +    var node = document.getElementById(id);
  +
  +    /*  initially do not display any message */
  +    var divs = node.getElementsByTagName("div");
  +    if (divs.length < 2) {
  +        alert("switchdiv <div> '"+id+"' does not contain at least 2 message 
<div> elements!");
  +        return;
  +    }
  +    for (var i = 0; i < divs.length; i++)
  +        divs[i].style.display = "none";
  +
  +    /*  remember switchdiv run-time information */
  +    switchdiv[id] = new Array();
  +    switchdiv[id]["node"]     = node;
  +    switchdiv[id]["div"]      = 0;
  +    switchdiv[id]["keep"]     = keep;
  +    switchdiv[id]["suspend"]  = 0;
  +
  +    /* grab mouse over/out events */
  +    DOM.setEvent(node, "mouseover", switchdiv_over, id, true);
  +    DOM.setEvent(node, "mouseout",  switchdiv_out,  id, true);
  +
  +    /*  schedule switchdiv rendering */
  +    defer_schedule("switchdiv_update_"+id, "switchdiv_update('"+id+"')", 
1000);
  +
  +    return;
  +}
  +
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-meta/global-title.php
  ============================================================================
  $ cvs diff -u -r0 -r1.1 global-title.php
  --- /dev/null 2006-03-16 21:00:40 +0100
  +++ global-title.php  2006-03-16 21:00:40 +0100
  @@ -0,0 +1,352 @@
  +<script language="php">
  +  $site = isset($_GET["site"]) ? $_GET["site"] : "project";
  +  include("meta.php");
  +  meta_start("path=$site&pane=1");
  +</script>
  +
  +<head>
  +<style type="text/css">
  +
  +/* the general layout */
  +table#title {
  +    width:                   100%;
  +    border-collapse:         collapse;
  +    border-spacing:          0px;
  +    margin-bottom:           10px;
  +}
  +table#title td {
  +    width:                   33%;
  +}
  +table#title td.box11 {
  +    padding:                 0px 20px 5px 0px;
  +    vertical-align:          top;
  +}
  +table#title td.box12 {
  +    padding:                 0px 0px 5px 5px;
  +    vertical-align:          top;
  +}
  +table#title td.box21 {
  +    padding:                 5px 5px 0px 0px;
  +}
  +table#title td.box22 {
  +    padding:                 5px 5px 0px 5px;
  +}
  +table#title td.box23 {
  +    padding:                 5px 0px 0px 5px;
  +}
  +
  +/* the layout boxes */
  +table#title div.box11 {
  +    /* none */
  +}
  +table#title div.box12 {
  +    border-left:             1px solid #c0b0a0;
  +    padding-left:            20px;
  +}
  +table#title div.box21 {
  +    position:                relative;
  +    height:                  220px;
  +    border-left:             1px solid #c0b0a0;
  +    border-bottom:           1px solid #c0b0a0;
  +}
  +table#title div.box22 {
  +    position:                relative;
  +    height:                  220px;
  +    border-left:             1px solid #c0b0a0;
  +    border-bottom:           1px solid #c0b0a0;
  +}
  +table#title div.box23 {
  +    position:                relative;
  +    height:                  220px;
  +    border-left:             1px solid #c0b0a0;
  +    border-bottom:           1px solid #c0b0a0;
  +}
  +table#title img.sign {
  +    position:                absolute;
  +    bottom:                  0px;
  +    left:                    0px;
  +    height:                  220px;
  +    width:                   220px;
  +}
  +table#title div.enter {
  +    position:                absolute;
  +    bottom:                  -23px;
  +    right:                   0px;
  +}
  +table#title div.enter img {
  +    width:                   100px;
  +    height:                  19px;
  +}
  +table#title div.text {
  +    position:                absolute;
  +    top:                     5px;
  +    left:                    5px;
  +}
  +table#title div.text a {
  +    text-decoration:         none;
  +    font-weight:             normal;
  +    color:                   #706050;
  +}
  +table#title div.text a:hover {
  +    text-decoration:         underline;
  +}
  +table#title div.text span.q {
  +    /* none */
  +}
  +table#title div.text span.a {
  +    /* none */
  +}
  +table#title div.goto {
  +    position:                absolute;
  +    bottom:                  5px;
  +    right:                   5px;
  +    text-align:              right;
  +}
  +table#title div.goto a {
  +    color:                   #000000;
  +    text-decoration:         none;
  +}
  +table#title div.box21 div.goto a {
  +    color:                   <script language="php">echo ($site == "project" 
? "#000000" : "#666666");</script>;
  +}
  +table#title div.box22 div.goto a {
  +    color:                   <script language="php">echo ($site == 
"corporation" ? "#000000" : "#666666");</script>;
  +}
  +table#title div.box23 div.goto a {
  +    color:                   <script language="php">echo ($site == 
"foundation" ? "#000000" : "#666666");</script>;
  +}
  +table#title div.goto a:hover {
  +    text-decoration:         underline;
  +}
  +table#title div.goto span.ext {
  +    font-size:               18pt;
  +    font-weight:             bold;
  +}
  +table#title div.goto span.name {
  +    font-size:               12pt;
  +    font-weight:             bold;
  +}
  +table#title div.goto span.title {
  +    font-size:               9pt;
  +    font-weight:             normal;
  +}
  +
  +/* the news box */
  +div#newsbox {
  +    padding:                 0px;
  +    height:                  200px;
  +    color:                   #000000;
  +    font-size:               8pt;
  +}
  +div#newsbox a {
  +    color:                   #908070;
  +    font-weight:             normal;
  +}
  +div#newsbox h1 {
  +    display:                 block;
  +    padding:                 2px 0px 2px 0px;
  +    background-attachment:   scroll;
  +    background-position:     left top;
  +    background-image:        
url('/meta/canvas/canvas-crop-glass-dark-T.png');
  +    position:                relative;
  +    top:                     0px;
  +    height:                  auto;
  +    margin-bottom:           10px;
  +    color:                   #000000;
  +    text-align:              center;
  +    font-size:               100%;
  +    font-weight:             bold;
  +}
  +
  +/* post-adjust some parts of the general canvas template */
  +div#canvas_sign {
  +    display:                 none;
  +}
  +div#canvas_path {
  +    display:                 none;
  +}
  +div#canvas_body {
  +    margin-top:              230px !important;
  +}
  +
  +</style>
  +
  +</head>
  +
  +<h1>Welcome to OpenPKG!</h1>
  +
  +<table id="title">
  +  <tr>
  +    <td colspan="2" class="box11">
  +      <div class="box11">
  +        <b>...the world of cross-platform multi-instance<br/>
  +        RPM-based Unix software packaging.</b>
  +
  +        <p/>
  +         Much valued by IT decision makers and beloved by Unix system
  +         administrators of large installation setups, OpenPKG is the
  +         world leading instrument for deployment and maintenance of
  +         <a href="http://www.opensource.org/";>Open Source</a> Unix
  +         software when administration crosses Unix platform boundaries.
  +
  +        <p/>
  +        OpenPKG is a collaboration effort with the goal of creating and
  +        maintaining portable and easy to install software packages for
  +        use on all major Unix server platforms -- especially on the
  +        popular BSD, Linux and Solaris flavors.
  +
  +        <p/>
  +        The <a href="http://www.openpkg.org/index.php";>OpenPKG
  +        Project</a> is the central organization unit. It
  +        is accompanied by two sibling organizations: <a
  +        href="http://www.openpkg.com/index.php";>OpenPKG GmbH</a>,
  +        the corporation providing professional commercial <a
  +        href="http://www.openpkg.com/service/";>services</a>
  +        to OpenPKG business customers, and <a
  +        href="http://www.openpkg.net/index.html";>OpenPKG
  +        Foundation e.V.</a>, the association backing the <a
  +        href="http://www.openpkg.net/member/members.html";>social
  +        network</a> of OpenPKG.
  +
  +        <p/>
  +        <b>Please proceed by entering one of the following three 
websites...</b>
  +        </div>
  +    </td>
  +    <td class="box12">
  +      <div class="box12">
  +        <div id="newsbox">
  +          <div>
  +            <h1>OpenPKG-CURRENT Status</h1>
  +             As of March 2006, <a 
href="http://www.openpkg.org/current.php";>OpenPKG-CURRENT</a>
  +             consists of over <b>91,000</b> lines of polished OpenPKG RPM
  +             <a href="http://cvs.openpkg.org/openpkg-src/";>package
  +             specification</a> code, resulting in over <b>950</b>
  +             freely available <a 
href="ftp://ftp.openpkg.org/current/SRC/";>individual
  +             packages</a>.
  +            <p/>
  +            OpenPKG-CURRENT is updated twice(!) per day. So, if you need 
  +            the latest bleeding edge Unix software, drive <a 
href="http://www.openpkg.org/download.php";>OpenPKG-CURRENT</a>!
  +          </div>
  +          <div>
  +            <h1>OpenPKG-RELEASE Status</h1>
  +            <a href="http://www.openpkg.org/download.php";>Download</a> the 
current RELEASE:
  +            <p style="text-align: center;">
  +            <b>OpenPKG 2.5</b>
  +            </p>
  +            It contains 579 packages, carefully selected from the pool
  +            of over 950 OpenPKG-CURRENT packages and available
  +            for 19 different Unix platforms.
  +            <p/>
  +            Read more in the <a 
href="http://www.openpkg.org/press/PR-011-openpkg-2.5.html";>OpenPKG 2.5 Press 
Release</a>...
  +          </div>
  +          <div>
  +            <h1>Download Policy Changed</h1>
  +             Since 2005-11-28 the download policy on OpenPKG.org is
  +             changed to allow the OpenPKG
  +             project to better identify its effective user community.
  +            <p/>
  +             This is vital for the future of the OpenPKG
  +             project and every user is called to
  +             support the OpenPKG project with both a simple, free
  +             of charge and one-time <a 
href="http://registry.openpkg.org/";>registration</a> and an identification
  +             during downloads. <a 
href="http://registry.openpkg.org/help";>Read more...</a>
  +          </div>
  +        </div>
  +        <script type="text/javascript">switchdiv_apply('newsbox', 
4000);</script>
  +      </div>
  +    </td>
  +  </tr>
  +  <tr>
  +    <td class="box21">
  +      <div class="box21">
  +        <img src="/meta/canvas/canvas-sign-project-T.png" class="sign" 
alt=""/>
  +        <div class="text">
  +           <span class="q">Want to know more about OpenPKG?</span><br/>
  +           <span class="a">Watch our <a 
href="http://www.openpkg.org/doc/presentation/";>presentation</a>!</span>
  +           <p/>
  +           <span class="q">Want to see OpenPKG running?</span><br/>
  +           <span class="a">Watch our <a 
href="http://www.openpkg.org/doc/showcase/";>show-case</a>!</span>
  +           <p/>
  +           <span class="q">Want to get OpenPKG?</span><br/>
  +           <span class="a"><a 
href="http://www.openpkg.org/download/";>Download</a> and test-drive now!</span>
  +           <p/>
  +           or just go to...
  +        </div>
  +        <div class="goto">
  +          <a href="http://www.openpkg.org/index.php";>
  +            <span class="ext">.ORG</span><br/>
  +            <span class="name">OpenPKG Project</span><br/>
  +            <span class="title">Rules &amp; Results</span>
  +          </a>
  +        </div>
  +        <div class="enter">
  +          <a href="http://www.openpkg.org/index.php";>
  +            <img src="/meta/canvas/canvas-more-<script language="php">echo 
($site == "project" ? "black" : "grey");</script>-T.png" class="more" alt=""/>
  +          </a>
  +        </div>
  +      </div>
  +    </td>
  +    <td class="box22">
  +      <div class="box22">
  +        <img src="/meta/canvas/canvas-sign-corporation-T.png" class="sign" 
alt=""/>
  +        <div class="text">
  +           <span class="q">Want a custom package?</span><br/>
  +           <span class="a">Take <a 
href="http://www.openpkg.com/services/";>Development Services</a>!</span>
  +           <p/>
  +           <span class="q">Want your modifications updated?</span><br/>
  +           <span class="a">Take <a 
href="http://www.openpkg.com/services/";>Maintenance Services</a>!</span>
  +           <p/>
  +           <span class="q">Want support for OpenPKG?</span><br/>
  +           <span class="a">Take <a 
href="http://www.openpkg.com/services/";>Support Services</a>!</span>
  +           <p/>
  +           or just go to...
  +        </div>
  +        <div class="goto">
  +          <a href="http://www.openpkg.com/index.php";>
  +            <span class="ext">.COM</span><br/>
  +            <span class="name">OpenPKG Corporation</span><br/>
  +            <span class="title">Services &amp; Support</span>
  +          </a>
  +        </div>
  +        <div class="enter">
  +          <a href="http://www.openpkg.com/index.php";>
  +            <img src="/meta/canvas/canvas-more-<script language="php">echo 
($site == "corporation" ? "black" : "grey");</script>-T.png" class="more" 
alt=""/>
  +          </a>
  +        </div>
  +      </div>
  +    </td>
  +    <td class="box23">
  +      <div class="box23">
  +        <img src="/meta/canvas/canvas-sign-foundation-T.png" class="sign" 
alt=""/>
  +        <div class="text">
  +           <span class="q">Want to influence the future?</span><br/>
  +           <span class="a"><a 
href="http://www.openpkg.net/member/join.html";>Join</a> other <a 
href="http://www.openpkg.net/member/members.html";>aficionados</a>!</span>
  +           <p/>
  +           <span class="q">Want more platforms for porting?</span><br/>
  +           <span class="a"><a 
href="http://www.openpkg.net/service/bf.html";>Leverage</a> our Build 
Farm!</span>
  +           <p/>
  +           <span class="q">Want write access to our CVS?</span><br/>
  +           <span class="a"><a 
href="http://www.openpkg.net/member/join.html";>Become</a> a Foundation <a 
href="http://www.openpkg.net/member/";>member</a>!</span>
  +           <p/>
  +           or just go to...
  +        </div>
  +        <div class="goto">
  +          <a href="http://www.openpkg.net/index.html";>
  +            <span class="ext">.NET</span><br/>
  +            <span class="name">OpenPKG Foundation</span><br/>
  +            <span class="title">Equipment &amp; Evangelism</span>
  +          </a>
  +        </div>
  +        <div class="enter">
  +          <a href="http://www.openpkg.net/index.html";>
  +            <img src="/meta/canvas/canvas-more-<script language="php">echo 
($site == "foundation" ? "black" : "grey");</script>-T.png" class="more" 
alt=""/>
  +          </a>
  +        </div>
  +      </div>
  +    </td>
  +  </tr>
  +</table>
  +
  +<script language="php">
  +  meta_end();
  +</script>
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to