Update of /cvsroot/fink/web/pdb
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2606

Modified Files:
        index.php package.php section.php sections.php 
Log Message:
fix section links

Index: section.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/section.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- section.php 6 Dec 2007 22:03:22 -0000       1.17
+++ section.php 7 Sep 2009 04:12:00 -0000       1.18
@@ -15,7 +15,7 @@
 $location = "http://$server/pdb/browse.php";;
 
 if (isset($section)) {
-       $location .= "?section=" . $section;
+       $location .= "?sec=" . $section;
 }
 
 // This page is obsolete. We redirect to browse.php

Index: package.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/package.php,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- package.php 26 Mar 2009 19:26:49 -0000      1.68
+++ package.php 7 Sep 2009 04:12:00 -0000       1.69
@@ -266,7 +266,7 @@
 
        show_desc('Usage Hints:', $pobj['descusage']);
 
-       it_item("Section:", '<a 
href="'.$pdbroot.'browse.php?section='.$pobj['section'].'" title="' . 
$sections[$pobj['section']] . '">'.$pobj['section'].'</a>');
+       it_item("Section:", '<a 
href="'.$pdbroot.'browse.php?sec='.$pobj['section'].'" title="' . 
$sections[$pobj['section']] . '">'.$pobj['section'].'</a>');
 
        // Get the maintainer field, and try to parse out the email address
        if ($pobj['maintainer']) {

Index: sections.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/sections.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- sections.php        7 Dec 2007 14:50:32 -0000       1.11
+++ sections.php        7 Sep 2009 04:12:00 -0000       1.12
@@ -22,7 +22,7 @@
 foreach ($sections as $_name => $_description) {
        $_desctext = ($_description ? (' - ' . $_description) : '');
 ?>
-<li><a href="<?= $pdbroot ?>browse.php?section=<?= $_name ?>"><?= $_name 
?></a><?= $_desctext ?></li>
+<li><a href="<?= $pdbroot ?>browse.php?sec=<?= $_name ?>"><?= $_name ?></a><?= 
$_desctext ?></li>
 <? } ?>
 </ul>
 

Index: index.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/index.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- index.php   10 Dec 2007 22:21:49 -0000      1.33
+++ index.php   7 Sep 2009 04:12:00 -0000       1.34
@@ -89,7 +89,7 @@
 <ul>
 <?
        foreach ($sections as $_key => $_value) {
-               print '<li><a href="' . $pdbroot . 
'browse.php?section='.$_key.'">'.$_key.'</a>';
+               print '<li><a href="' . $pdbroot . 
'browse.php?sec='.$_key.'">'.$_key.'</a>';
                if (!empty($_value)) {
                        print " - $_value";
                }


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to