package SGN::View::Mason::Commands;
use strict;
use vars qw($m $c);
HTML::Mason::Component::FileBased->new(
'code' => sub {
use utf8; local $SGN::View::Mason::Commands::m = $HTML::Mason::Commands::m;
$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );

#line 18 "/home/production/cxgn/sgn/mason/homepage/publication_of_the_week.mas"
$m->print( '
' );
#line 19 "/home/production/cxgn/sgn/mason/homepage/publication_of_the_week.mas"


use strict;
use File::Spec;
use CXGN::Tools::File;

my $publications = "The publication of the week is currently unavailable.<br /><br />";

eval {

 $publications = CXGN::Tools::File::get_sections(File::Spec->catfile($c->get_conf('homepage_files_dir'), "publications.txt"));

};

#line 34 "/home/production/cxgn/sgn/mason/homepage/publication_of_the_week.mas"
$m->print( '
<!--
<div class="boxbgcolor1" style="margin:0px;">
<div class="boxheading">Featured publication</div>
<div class="boxcontent">' );
#line 38 "/home/production/cxgn/sgn/mason/homepage/publication_of_the_week.mas"
$m->print(  $publications  );
#line 38 "/home/production/cxgn/sgn/mason/homepage/publication_of_the_week.mas"
$m->print( '
<a href="oldpublications.pl">See all publications...</a></div>
-->

<h4>Featured Publication</h4>
' );
#line 43 "/home/production/cxgn/sgn/mason/homepage/publication_of_the_week.mas"
$m->print(  $publications  );
#line 43 "/home/production/cxgn/sgn/mason/homepage/publication_of_the_week.mas"
$m->print( '
<button class="btn btn-info btn-sm" onclick=\'location.href="/oldpublications.pl"\'>See all publications...</button>
' );
;return;
},
'load_time' => 1763079528,

)
;