[med-svn] r680 - trunk/community/website

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Sat Oct 13 07:03:00 UTC 2007


Author: hanska-guest
Date: 2007-10-13 07:03:00 +0000 (Sat, 13 Oct 2007)
New Revision: 680

Removed:
   trunk/community/website/bugs.html
Modified:
   trunk/community/website/bugs.tmpl
Log:
Fixing template


Deleted: trunk/community/website/bugs.html
===================================================================
--- trunk/community/website/bugs.html	2007-10-13 07:00:18 UTC (rev 679)
+++ trunk/community/website/bugs.html	2007-10-13 07:03:00 UTC (rev 680)
@@ -1,85 +0,0 @@
-<?php
-require_once("inc/header.inc.php");
-
-$login = "debian-med-packaging at lists.alioth.debian.org";
-
-$soapUrl = "http://bugs.debian.org/cgi-bin/soap.cgi";
-$nameSpace = "Debbugs/SOAP";
-
-$soap = new SoapClient(null, array('location' => $soapUrl,
-									'uri' => $nameSpace));
-
-$package = ($_GET["pkg"]) ? $_GET["pkg"] : _("all");
-
-$bugs = array();
-
-if ($package == _("all")) {
-	$bug_numbers = $soap->get_bugs("maint", $login);
-} else {
-	$bug_numbers = $soap->get_bugs("package", $package);
-}
-
-$count = count($bug_numbers);
-
-foreach($bug_numbers as $index => $number) {
-	$info = $soap->get_status($number);
-	$info = $info[$number];
-	$bugs[$info->package][$number]["severity"] = $info->severity;
-	$bugs[$info->package][$number]["tags"] = ($info->tags) ? $info->tags : "";
-	$bugs[$info->package][$number]["date"] = date("r", $info->date);
-	$bugs[$info->package][$number]["submitter"] = $info->originator;
-}
-
-ksort($bugs);
-
-//print_r($info);
-//print_r($bugs);
-?>
-<table class="columns">
-<tr>
-	<td class="left">
-		<span class="section"><?=_("summary")?></span>
-		<div class="section">
-			<div class="sectionTop"></div>
-			<div class="row">
-				<?=_("Bugs for package")?>:
-				<strong><?=$package?></strong>
-			</div>
-			<div class="row">
-				<?=_("Total bugs")?>:
-				<strong><?=$count?></strong>
-			</div>
-		</div>
-	</td>
-	<td class="main">
-		<div class="pageBody">
-			<h1><?=_("Bugs for package")?> "<?=$package?>"</h1>
-			<table class="messageHeaders">
-			<?php
-				foreach($bugs as $package => $bug) {
-			?>
-			<tr>
-				<td class="name"><?=$package?>:</td>
-				<td class="value">&nbsp;</td>
-			</tr>
-			<?php
-					foreach($bug as $key => $value) {
-			?>
-			<tr>
-				<td class="value" colspan="2"><?=$key?></td>
-			</tr>
-			<?php
-					}
-				}
-			?>
-			</table>
-			<div class="messageBody">
-				<?php//$info["log"]?>
-			</div>
-		</div>
-	</td>
-</tr>
-</table>
-<?php
-require_once("inc/footer.inc.php");
-?>

Modified: trunk/community/website/bugs.tmpl
===================================================================
--- trunk/community/website/bugs.tmpl	2007-10-13 07:00:18 UTC (rev 679)
+++ trunk/community/website/bugs.tmpl	2007-10-13 07:03:00 UTC (rev 680)
@@ -34,4 +34,4 @@
 	</td>
 </tr>
 </table>
-<address><TMPL_VAR date></address>
+<address node="con:date"></address>




More information about the debian-med-commit mailing list