[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/international/germany
From:       Dirk Trompetter <koelschejung () gmx ! de>
Date:       2003-01-31 20:20:20
[Download RAW message or body]

CVS commit by trompett: 

added new banner "againstTCPA"
edited koffice news


  A            img/hotspots/AgainstTCPA.gif   1.1
  M +8 -1      hotspot/hotspot.inc   1.25
  M +17 -6     koffice/index.php   1.33


--- www/international/germany/hotspot/hotspot.inc  #1.24:1.25
@@ -1,5 +1,5 @@
 <?php
 
-$hotspot = rand(3,4);
+$hotspot = rand(3,5);
 
 
@@ -39,3 +39,10 @@
         }
 
+// Hotspot 5: NoTCPA
+elseif ($hotspot == 5)
+        {
+        echo "<a href='http://www.againsttcpa.com/' target='_new'><img src='";
+        echo "$dir";
+        echo "img/hotspots/AgainstTCPA.gif' vspace='3' align='middle' alt='AgainstTCPA' border='0' /></a>";
+        }
 ?>

--- www/international/germany/koffice/index.php  #1.32:1.33
@@ -74,5 +74,6 @@
 //The opening tag is defined here
 
-    global $map_array, $data, $enable_output, $header_count, $title_temp;
+    global $map_array, $data, $enable_output, $header_count, $title_temp;$zaehler;
+        $zaehler = 0;
     if ($header_count < 5) {
       if ($htmltag = $map_array[$name]) {
@@ -87,6 +88,15 @@
             $enable_output = 1;
             break;
+        
         case "ITEM":
+                if ($header_count%2 == 0)
+            {
+                print "<tr bgcolor=#F8F8F8>";
+                }
+                else
+                {
             print "<tr>";
+                
+        }
             break;
         case "TITLE":
@@ -94,4 +104,5 @@
             $title_temp[1] = "<td><b><a href=\"news/news.php#".$attrs["ID"]."\">";
             break;
+        
         default:
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic