So all the almost same versions of the same help pages aren't scanned.
print "<div class='bluesquare'><h1>$head</h1><p class='home'>The PCI ID Repository</div>\n";
print "<div class='clear'></div></div>\n";
genPath( $req, $addr, 1 );
- my $url = setAddrPrefix( $req->uri(), 'read' ).buildExcept( 'help', $args ).'?help=';
+ my $url = setAddrPrefix( $req->uri(), 'mods' ).buildExcept( 'help', $args ).'?help=';
delete $args->{'help'};
my %repls = ( 'HELP_URL' => $url, 'AC_URL' => setAddrPrefix( $req->uri(), 'mods' ).buildExcept( 'action', $args ).'?action=' );
$repls{'AC_URL'} =~ s#mods/\?#mods/PC/?#;
- $repls{'HELP_URL'} =~ s#read/\?#read/PC/?#;
+ $repls{'HELP_URL'} =~ s#(mods|read)/\?#$1/PC/?#;
while( defined( my $line = <HELP> ) ) {
$line =~ s/\$(\w+_URL)\$/$repls{$1}/g;
print $line;
PciIds::Html::Jump::jumpWindow( $req, $args );
} else {
my $prefix = '/mods';
- $prefix = '/read' if( !defined( $action ) or ( $action eq 'list' ) or ( $action eq '' ) or ( $action eq 'help' ) );
+ $prefix = '/read' if( !defined( $action ) or ( $action eq 'list' ) or ( $action eq '' ) );
my $suffix = '';
$suffix = '?help='.$param if( $action eq 'help' );
item( $prefix.$url.$action.$suffix, $label );
to display full human-readable names instead of cryptic numeric codes.
<p class='announce'>Welcome to the new web interface of the PCI ID database.
-Many a thing has changed, so please read the <a href="/read/?action=help?help=index">help</a>
+Many a thing has changed, so please read the <a href="/mods/?action=help?help=index">help</a>
even if you were familiar with the old website.
<h2>Browse</h2>
<p>Or you can go directly to your <a href="/mods/?action=profile">profile</a> or <a href="/mods/?action=notifications">notification list</a>.
-<p>You may want to read <a href="/read/?action=help?help=index">help</a> before you start using the
+<p>You may want to read <a href="/mods/?action=help?help=index">help</a> before you start using the
web interface.
<h2>Download</h2>
<p>Updates can be submitted either via the web interface, or as patches to the <code>pci.ids</code>
file sent by e-mail to our mail robot at <a href="mailto:pci-ids@ucw.cz">pci-ids@ucw.cz</a>
-(see the <a href="/read/?action=help?help=mailsubmit">mail submit help</a>).
+(see the <a href="/mods/?action=help?help=mailsubmit">mail submit help</a>).
-<p><em>In all cases, please read the <a href="/read/?action=help?help=newitem">submission guidelines</a>
+<p><em>In all cases, please read the <a href="/mods/?action=help?help=newitem">submission guidelines</a>
first.</em>
<h2>Feedback</h2>