Ignore:
Timestamp:
2003-04-14T09:00:09+12:00 (21 years ago)
Author:
mdewsnip
Message:

Tidy up and bug fix in page generation code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/translator.pl

    r4134 r4135  
    486486    my %pagehash = ();
    487487
    488     @pages = ();
    489488    $pageno = 1;
    490489    $keysperpage = 0;
     
    512511               $pagehash->{$pageno}, \*HTMLFILE);
    513512        close HTMLFILE;
    514 
    515         #push the page number onto the array of pages
    516         push(@pages, $pageno);
    517513        $pageno++;
    518514
     
    530526    &generate_form($sourcelang, $targetlang, $targetcode, $pagehash->{$pageno}, \*HTMLFILE);
    531527    close HTMLFILE;
    532     push(@pages, $pageno);
     528    $pageno++;
    533529    }
    534530
Note: See TracChangeset for help on using the changeset viewer.