gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r5509 - GNUnet-docs/WWW


From: gnunet
Subject: [GNUnet-SVN] r5509 - GNUnet-docs/WWW
Date: Fri, 17 Aug 2007 14:03:45 -0600 (MDT)

Author: durner
Date: 2007-08-17 14:03:43 -0600 (Fri, 17 Aug 2007)
New Revision: 5509

Added:
   GNUnet-docs/WWW/search.php
Modified:
   GNUnet-docs/WWW/gnunet.css
   GNUnet-docs/WWW/html_header.php3
   GNUnet-docs/WWW/index.php
   GNUnet-docs/WWW/menu.php3
   GNUnet-docs/WWW/scripts.inc
Log:
GNU style

Modified: GNUnet-docs/WWW/gnunet.css
===================================================================
--- GNUnet-docs/WWW/gnunet.css  2007-08-17 19:27:19 UTC (rev 5508)
+++ GNUnet-docs/WWW/gnunet.css  2007-08-17 20:03:43 UTC (rev 5509)
@@ -2,7 +2,7 @@
 
 
ul,ol,li,div,td,th,address,blockquote,b,i,dl,dd,dt,p,h1,h2,h3,h4,h5,font.subtitle,font.lang-menu
 {
     font-family: "Bitstream Vera Sans", "Lucida Grande", "Trebuchet MS", 
"Lucida Sans Unicode", "Luxi Sans", "Helvetica", arial, helvetica, sans-serif;
-    font-size: 12px;
+    font-size: 1em;
 }
      
 dt{
@@ -18,52 +18,38 @@
 /* Arial,sans-serif = Arial und serifenlose Schrift, Wert aenderbar */
 
 h1{
-  font-size:3.5ex;
+  font-size:1.3em;
   text-align:center;
 }
 
 h2{
-  font-size:3ex;
-  background-color:#0B8AD0;
-  color:#FFFFFF;
-  border-color:#0a6cce;
-  border-style:solid;
-  border-width:1px;
+  font-size:1.3em;
   padding:0cm;
   text-align:center;
 }
 
 h3{
-  font-size:2.25ex;
-  background-color:#0C95DE;
-  color:#FFFFFF;
-  border-color:#0B8AD0;
-  border-style:solid;
-  border-width:1px;
+  font-size:1.2em;
   padding:0cm;
   text-align:left;
   padding-left:10pt;
+  margin-bottom: 1em;
 }
 
 h4{
-  font-size:2ex;
-  background-color:#3399FF;
-  color:#000000;
-  border-style:none;
-  border-width:1px;
+  font-size:1.1em;
   padding:0cm;
   text-align:left;
   padding-left:10pt;
+  margin-bottom: 1em;
 }
 
 h5{
-  font-size:1.5ex;
-  color:#000000;
-  border-style:none;
-  border-width:1px;
+  font-size:1em;
   padding:0cm;
   text-align:left;
   padding-left:10pt;
+  margin-bottom: 1em;
 }
 
 p{
@@ -113,7 +99,9 @@
   text-align: center;
 }
 
-font.lang-menu {
+#lang-menu {
+       position: relative;
+       top: -1em;
   background-color:#FFFFFF;
   font-size:10px;
 }
@@ -137,6 +125,23 @@
   margin-left: 10px;
 }
 
+textarea {
+    font: 110% "Courier New", Courier, monospace; 
+    border: 1px solid #666666;  
+    color: Black;
+    background-color: white;
+    width: 100%;
+}
+
+input {
+    font-family: sans-serif;
+    visibility: visible;
+    border: 1px solid #666666;  
+    color: Black;
+    background-color: white;
+    vertical-align: middle;
+}
+
 /*
 table{background-color:#CCCCFF;color:#0F0F0F;}
 table.plain{background-color:#FEFEFE;color:#000000;}
@@ -153,3 +158,97 @@
 a.menu:link{color:#FFFFFF; text-decoration:none;}
 a:visited{color:#333366; text-decoration:none;}
 a:active{color:#EEEEEE; text-decoration:none;}
+
+#fsflinks{
+       position: absolute;
+       top: 0;
+       left: 0;
+       font-size: 0.9em;
+       background-color: #333;
+       width: 100%;
+       height: 2.4em;
+}
+
+#fsflinks ul{
+       list-style: none;
+}
+
+#fsflinks li {
+       display: inline;
+       padding-left: 0.3em;
+       border-left: 1px solid #333;
+}
+
+#fsflinks li:first-child {
+       border-left: 0;
+       padding-left: 0;
+}
+
+#fsflinks li a{
+       padding-left: 0.5em;
+       color: #ccc !important;
+  text-decoration: underline;
+}
+
+#searcher{
+  line-height: 2.1em;
+  text-align: right;
+  padding-right: 0.6em;
+  background-color: transparent;
+  margin-bottom: 0.2em;
+  position: absolute;
+  top: 0;
+  right: 0;
+  z-index: 1000;
+}
+
+#searcher label{
+  text-transform: uppercase;
+  color: #666;
+  font-weight: bold;
+  font-size: 0.7em;
+}
+
+#navigation-bar{background-color: #222;}
+
+#navbar{text-align: center;}
+
+#navbar ul{list-style: none; line-height: 2em; padding-left: 0; margin-left: 
0;}
+
+#navbar li{display: inline;}
+
+#navbar li a{margin-right: 0.5em; color: #ddd; font-weight: bold; font-size: 
1.0em; padding: 0.2em 0.3em 0.2em 0.3em; text-decoration: none; 
background-color: #555;}
+
+#navbar li a:hover{background-color: transparent; color: yellow; 
text-decoration: underline;}
+
+#top2{
+  padding: 0;
+  clear: both;
+  background-color: #3F4C6B;
+  padding-top: 2.4em;
+}
+
+#sidebar {
+       position: relative;
+       top: 0em;
+       right: 2em;
+       margin-top: 1em;
+       font-size: 0.9em;
+       float: right;
+       margin-left: 3em;
+       margin-bottom: 1em;
+       padding: 1em;
+       background-color: #e5e5e5;
+       border: 3px solid #ddd;
+}
+
+#sidebar h3{text-align: center; margin-top: 0; text-transform: uppercase; 
font-size: 1em;}
+
+#sidebar ul{margin-bottom: 1.2em; padding-left: 1em;margin-left: 0;}
+
+#content{
+       padding-left: 1em;
+       padding-right: 1em;
+       margin: 1em auto 0 auto;
+       margin-right: 1em;
+}

Modified: GNUnet-docs/WWW/html_header.php3
===================================================================
--- GNUnet-docs/WWW/html_header.php3    2007-08-17 19:27:19 UTC (rev 5508)
+++ GNUnet-docs/WWW/html_header.php3    2007-08-17 20:03:43 UTC (rev 5509)
@@ -41,11 +41,11 @@
  if ($menu != "NO") {
    include("menu.php3");
 ?>
-<font class="lang-menu">
+<div id="lang-menu">
 <?php
    generateLanguageBar();
 ?>
-</font>
+</div>
 <?php
  }
 ?>

Modified: GNUnet-docs/WWW/index.php
===================================================================
--- GNUnet-docs/WWW/index.php   2007-08-17 19:27:19 UTC (rev 5508)
+++ GNUnet-docs/WWW/index.php   2007-08-17 20:03:43 UTC (rev 5509)
@@ -4,6 +4,30 @@
 $title = $description;
 include("html_header.php3");
 
+echo "<div id=\"sidebar\">";
+H3("At a glance");
+?>
+<ul>
+       <li><b><?php W("Anonymous P2P, F2F");?></b></li>
+       <li><b><?php W("Current release:");?></b> 0.7.2b</li>
+       <li><b><?php W("Network version:");?></b> 0.7.1</li>
+       <li><b><?php W("Operating systems:");?></b> Unix, Windows</li>
+       <li><b><?php W("Localization:");?></b> de, sv, vi</li>
+       <li><b><?php W("License:");?></b> GPL</li>
+<?php
+echo "</ul>";
+H3("Stay up to date");
+echo "<ul>";
+echo "<li>";
+W("%s", extlink_("http://lists.gnu.org/mailman/listinfo/info-gnunet";, "E-Mail 
announcements"));
+echo "</li>";
+echo "<li>";
+W("%s", extlink_("irc://irc.freenode.net/#gnunet", "IRC channel"));
+echo "</li>";
+echo "</ul>";
+echo "</div>";
+
+echo "<div id=\"content\">";
 H2("About GNUnet");
 
 BP();
@@ -125,5 +149,7 @@
   extlink_("mailto:address@hidden","address@hidden";));
 EP();
 
+echo "</div><!-- id=content -->";
+
 include("html_footer.php3");
 ?>

Modified: GNUnet-docs/WWW/menu.php3
===================================================================
--- GNUnet-docs/WWW/menu.php3   2007-08-17 19:27:19 UTC (rev 5508)
+++ GNUnet-docs/WWW/menu.php3   2007-08-17 20:03:43 UTC (rev 5509)
@@ -2,7 +2,27 @@
 if (! $menu_once) {
   $menu_once = 1;
 ?>
-<table bgcolor="#0a6cce" border="0" cellpadding="0" cellspacing="0" 
height="58" width="100%">
+<div id="fsflinks">
+    <ul>
+          <li><a href="http://www.gnu.org";>GNU</a></li>
+          <li><a href="http://www.fsf.org";>FSF</a></li>
+          <li><a href="http://www.fsfeurope.org/";>FSF Europe</a></li>
+          <li><a href="http://fsf.org.in/";>FSF India</a></li>
+          <li><a href="http://www.fsfla.org";>FSF Latin America</a></li>
+      </ul>
+</div>
+<div id="searcher">
+       <form method="post" action="search.php">
+       <div><label for="words">Search:</label>
+       <input type="hidden" name="method" id="method" value="and" />
+       <input name="words" id="words" type="text" size="20" accesskey="4" />
+       <input type="submit" value="Go" />
+       </div>
+       </form>
+       <p>&nbsp;</p>
+</div>
+<div id="top2">
+<table bgcolor="#3F4C6B" border="0" cellpadding="0" cellspacing="0" 
height="58" width="100%">
   <tr> 
     <td colspan="4" height="10" nowrap="nowrap" valign="middle">
     </td>
@@ -30,12 +50,9 @@
      &nbsp;
     </td>
   </tr>
-  <tr> 
-    <td colspan="4" height="10" nowrap="nowrap" valign="middle">
-    </td>
-  </tr>
 </table>
 <?php
        menu_bar();
  }
 ?>                         
+</div>

Modified: GNUnet-docs/WWW/scripts.inc
===================================================================
--- GNUnet-docs/WWW/scripts.inc 2007-08-17 19:27:19 UTC (rev 5508)
+++ GNUnet-docs/WWW/scripts.inc 2007-08-17 20:03:43 UTC (rev 5509)
@@ -12,18 +12,22 @@
 
 function menu_bar() {
 ?>
-       <table bgcolor="#0a6cce" border="0" cellpadding="0" cellspacing="0" 
width="100%">
-         <tr> 
-           <td class="menu"><?php intlink("index.php","Welcome") ?></td>
-           <td class="menu"><?php intlink("mailinglist.php3","Contact"); 
?></td>
-           <td class="menu"><?php extlink("https://gnunet.org/drupal/";, 
"Community"); ?></td>
-           <td class="menu"><?php intlink("faq.php3","FAQ"); ?></td>
-           <td class="menu"><?php intlink("download.php3","Download"); ?></td>
-           <td class="menu"><?php 
intlink("documentation.php3","Documentation"); ?></td>
-           <td class="menu"><?php intlink("papers.php3","Papers"); ?></td>
-           <td class="menu"><?php intlink("links.php3","Links"); ?></td>
-         </tr>
-       </table>
+      
+  <div id="navigation-bar">
+    <div id="navbar">
+    <ul>
+      <li><?php intlink("index.php","Welcome") ?></li>
+      <li><?php intlink("mailinglist.php3","Contact"); ?></li>
+      <li><?php extlink("https://gnunet.org/drupal/";, "Community"); ?></li>
+      <li><?php intlink("faq.php3","FAQ"); ?></li>
+
+      <li><?php intlink("download.php3","Download"); ?></li>
+      <li><?php intlink("documentation.php3","Documentation"); ?></li>
+      <li><?php intlink("papers.php3","Papers"); ?></li>
+      <li><?php intlink("links.php3","Links"); ?></li>
+    </ul>
+    </div>
+  </div>
 <?php
 }
 

Added: GNUnet-docs/WWW/search.php
===================================================================
--- GNUnet-docs/WWW/search.php                          (rev 0)
+++ GNUnet-docs/WWW/search.php  2007-08-17 20:03:43 UTC (rev 5509)
@@ -0,0 +1,6 @@
+<?php
+       $sstr = str_replace("+", "%2B", $_POST["words"]);
+       $sstr = str_replace("-", "%3A", $sstr);
+       $sstr = ereg_replace("[[:space:]]+", "+", $sstr);
+       header("Location: http://www.google.de/search?q=site%3Agnunet.org+"; . 
$sstr);
+?>
\ No newline at end of file





reply via email to

[Prev in Thread] Current Thread [Next in Thread]