Merge pull request #4106 from solgenomics/topic/wishlist
[sgn.git] / mason / homepage / image_of_the_week.mas
blob4349d88ba6accd143652f7649abeae7308f3a233
1 <%init>
2 use File::Slurp qw/slurp/;
3 use strict;
4 </%init>
5 <%perl>
6 my $url = $c->get_conf('static_datasets_url')."/images/iotw/desc.txt";
7 my $path = $c->get_conf('static_datasets_path')."/images/iotw/desc.txt";
8 my $IOTW = "(no image currently available)";
9 eval {
10  $IOTW = slurp($path);
13 </%perl>
15 <!--
16 <div class="boxbgcolor1" style="margin:0px;">
17 <div class="boxheading">Image of the week</div><br />
18 <div class="center">
19   <span class="tinytype"><% $IOTW %></span>
20 </div>
21 </div>
22 -->
24 <h4>Featured Image</h4>
25 <% $IOTW %>