[mrtg] Patch for 'indexmaker' under version 2.8.12

Kuriyama, Kent K Mr (CPF N651KK) KuriyaKK at cpf.navy.mil
Thu Jul 27 20:27:10 MEST 2000


The patch below corrects a problem with 'indexmaker'.  Previously the
'pagetop' option flag was being ignored.
--------------------------------------------------------------------
diff indexmaker /usr/local/bin/indexmaker
215,218c215,220
<     if (/^pagetop\[([^\]]+)\]:\s*(.*\S)/i) {
<        $titles{$1} = $2;
<       $titles{$1} =~ s/<[^>]+>//g; #drop tags
<     }
---
>     if ($pagetop) {
>       if (/^pagetop\[([^\]]+)\]:\s*(.*\S)/i) {
>          $titles{$1} = $2;
>       $titles{$1} =~ s/<[^>]+>//g; #drop tags
>       }
>     };
--------------------------------------------------------------------

Kent Kuriyama
SPAWAR Sys Ctr San Diego D424, CINCPACFLT N651KK
kuriyakk at cpf.navy.mil, 808-471-4125


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list