+ if (! -e "$config{srcdir}/$file" && ! $form->field(name => 'newfile')){
+ $form->tmpl_param("page_gone", 1);
+ $form->field(name => "newfile",
+ value => 1, force => 1);
+ $form->tmpl_param("page_select", 0);
+ $form->field(name => "page", type => 'hidden');
+ $form->field(name => "type", type => 'hidden');
+ print $form->render(submit => \@buttons);
+ return;
+ }