Project

General

Profile

« Previous | Next » 

Revision 2894

Added by sgarg almost 19 years ago

variable for showing instructions

View differences:

register-dataset.cgi
318 318
    my $session = CGI::Session->load() or die CGI::Session->errstr();
319 319
    if ( $session->is_empty ) {
320 320
        # no session found ... redirect to login page template
321
    	$$templateVars{'showInstructions'} = 'true';
321 322
    	$$templateVars{'message'} = 'You must login to register your dataset.';
322 323
        $template->process( $loginFormTemplate, $templateVars);
323 324
    } else {

Also available in: Unified diff