From 901abf2c53d955fdf65727eaf19769d4cd7771e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 21 Mar 2012 11:40:49 +0000 Subject: [PATCH] - add section links to processing files of each package too --- index.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 74bb00b..0012f21 100644 --- a/index.php +++ b/index.php @@ -372,6 +372,10 @@ function dump_log($tail) // rpm build section $s = "$s"; $toc[] = $m['section']; + } elseif (preg_match("/^Processing files: (?P(?P.+)-[^-]+-[^-]+)/", $s, $m)) { + // processing files + $s = "$s"; + $toc[] = "files ".$m['name']; } echo $s; } @@ -383,7 +387,8 @@ function dump_log($tail) echo "

"._("Toc:")."

"; echo "
    "; foreach ($toc as $section) { - echo "
  • {$section}
  • "; + $id = str_replace(" ", "-", $section); + echo "
  • {$section}
  • "; } echo "
"; } @@ -472,7 +477,7 @@ function list_archs() "alt=\""._("Powered by PLD Linux")."\" border=\"0\" />
\n" . "(c) 2002 ". "PLD Team
\n". - '$Revision: 1.16 $'. + '$Revision: 1.17 $'. "
\n"; # smile ;) @@ -845,7 +850,7 @@ function welcome() . ;)

-

Version: $Id: index.php,v 1.16 2012/02/08 21:03:01 glen Exp $

+

Version: $Id: index.php,v 1.17 2012/03/21 01:29:44 glen Exp $