diff --git a/Repositories/otago_eprints/otago_eprints/cfg/ArchiveRenderConfig.pm b/Repositories/otago_eprints/otago_eprints/cfg/ArchiveRenderConfig.pm index 9c84b89..8607e94 100755 --- a/Repositories/otago_eprints/otago_eprints/cfg/ArchiveRenderConfig.pm +++ b/Repositories/otago_eprints/otago_eprints/cfg/ArchiveRenderConfig.pm @@ -117,6 +117,8 @@ alt=>$_->get_value( "formatdesc" ) ) ); --$docs_to_show; } + +# $page->appendChild( $session->html_phrase( "abstract/survey_advert" ) ); $p = $session->make_element( "p" ); $page->appendChild( $p ); @@ -170,6 +172,28 @@ $p->appendChild( $session->make_text( ": " ) ); $p->appendChild( $eprint->render_value( "official_url" ) ); } + + # Request eprint +# if( $eprint->is_set( "full_text_status" ) ) +# { +# my $status = $eprint->get_value( "full_text_status" ); +# if( $status ne "public" ) +# { +# if( $session->get_archive->can_call( "email_for_doc_request" ) ) +# { +# if( defined( $session->get_archive->call( "email_for_doc_request", $session, $eprint ) ) ) +# { +# # only render if there is a contact email address +# my $form = $session->render_form( "post", $session->get_archive->get_conf( "perl_url" ) . "/request_doc" ); +# $form->appendChild( $session->render_hidden_field( "eprintid", $eprint->get_id ) ); +# $form->appendChild( $session->render_action_buttons( +# "submit" => $session->phrase( "request:button" ) +# ) ); +# $page->appendChild( $form ); +# } +# } +# } +# } # Link to download statistics. [NJS 2005-12-08]