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

List:       kde-commits
Subject:    kde-www/media/includes
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2003-01-29 17:46:03
[Download RAW message or body]

CVS commit by cullmann: 

perhaps better apps table, but maybe too much space between the lines


  M +8 -8      functions.inc   1.16


--- kde-www/media/includes/functions.inc  #1.15:1.16
@@ -151,8 +151,8 @@
         //get a file object for writing
         $fcache = fopen($cache_dir.$cache_file, "w");
-        fputs($fcache, "<table summary=\"This is a list of latest third party \
application releases for \
KDE\">\n<tr>\n<th>Date</th>\n<th>Release</th>\n<th>KDE</th>\n<th>Description</th>\n</tr>");
 +        fputs($fcache, "<table summary=\"This is a list of latest third party \
application releases for KDE\">\n<tr>\n<th>Date</th>\n<th>Application / \
Release</th>\n<th>KDE</th>\n</tr>");  }
       else
-        print "<table summary=\"This is a list of latest third party application \
releases for KDE\">\n<tr>\n<th>Date</th>\n<th>Release</th>\n<th>KDE</th>\n<th>Description</th>\n</tr>";
 +        print "<table summary=\"This is a list of latest third party application \
releases for KDE\">\n<tr>\n<th>Date</th>\n<th>Application / \
Release</th>\n<th>KDE</th>\n</tr>";  
       $now = gmdate("U", time() - 90000);
@@ -172,15 +172,15 @@
         if ($writable)
         {
-          fputs($fcache, "<tr>\n<td valign=\"top\">".(($printDate == $prevDate) ? \
"&nbsp;" : "<b>$printDate</b>")."</td>\n"); +          fputs($fcache, "<tr>\n<td \
valign=\"top\" rowspan=\"2\">".(($printDate == $prevDate) ? "&nbsp;" : \
                "<b>$printDate</b>")."</td>\n");
           fputs($fcache, "<td valign=\"top\"><a href=\"$links[1]\">".$app[1] . \
                (empty($branch[1]) ? "" : " :: $branch[1]") . " \
                $version[1]"."</a></td>\n");
-          fputs($fcache, "<td valign=\"top\">". preg_replace(array("@KDE\s+@", "@(, \
                )?or\s+@i"), array("", ", "), $KDEversion[1])."</td>\n");
-          fputs($fcache, "<td>$desc[1]</td>\n</tr>");
+          fputs($fcache, "<td valign=\"top\" rowspan=\"2\">". \
preg_replace(array("@KDE\s+@", "@(, )?or\s+@i"), array("", ", "), \
$KDEversion[1])."</td></tr>\n"); +          fputs($fcache, \
"<tr><td></td><td>$desc[1]</td><td colspan=\"2\"></td>\n</tr><tr><td \
colspan=\"3\">&nbsp;</td></tr>");  }
         else
         {
-          print "<tr>\n<td valign=\"top\">".(($printDate == $prevDate) ? "&nbsp;" : \
"<b>$printDate</b>")."</td>\n"; +          print "<tr>\n<td valign=\"top\" \
rowspan=\"2\">".(($printDate == $prevDate) ? "&nbsp;" : \
                "<b>$printDate</b>")."</td>\n";
           print "<td valign=\"top\"><a href=\"$links[1]\">".$app[1] . \
                (empty($branch[1]) ? "" : " :: $branch[1]") . " \
                $version[1]"."</a></td>\n";
-          print "<td valign=\"top\">". preg_replace(array("@KDE\s+@", "@(, \
                )?or\s+@i"), array("", ", "), $KDEversion[1])."</td>\n";
-          print "<td>$desc[1]</td>\n</tr>";
+          print "<td valign=\"top\" rowspan=\"2\">". preg_replace(array("@KDE\s+@", \
"@(, )?or\s+@i"), array("", ", "), $KDEversion[1])."</td></tr>\n"; +          print \
"<tr><td>$desc[1]</td>\n</tr><tr><td colspan=\"3\">&nbsp;</td></tr>";  }
 


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

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