View Single Post
Old 03-13-2004, 07:37 AM   #8
Konstantine
Green Mole
 
Join Date: Mar 2004
Location: Russia
Posts: 21
showing correct default number of index depth

in index.php:

code:

PHP Code:
<?php
//select list for the depth limit of spidering
for($i 0$i <= SPIDER_MAX_LIMIT$i++) {
    print 
"\t<option value=\"$i\" selected>$i</option>\n";
?>
changing on:

PHP Code:
<?php
//select list for the depth limit of spidering
for($i 0$i <= SPIDER_MAX_LIMIT$i++) {
    if(
$i!=SPIDER_DEFAULT_LIMIT)
        print 
"\t<option value=\"$i\">$i</option>\n";
    else
        print 
"\t<option value=\"$i\" selected>$i</option>\n";
?>

Last edited by Konstantine; 03-13-2004 at 08:15 AM.
Konstantine is offline   Reply With Quote