+icons
[www.jankratochvil.net.git] / project / surprise / Index.html.pl
index 5b8b746..f233afd 100755 (executable)
@@ -27,8 +27,8 @@ use warnings;
 
 BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
 use My::Web;
-use My::Project;
-use project::surprise::ListItem;
+Wuse 'My::Project';
+Wuse 'project::surprise::ListItem';
 
 
 My::Project->init_project(
@@ -36,6 +36,8 @@ My::Project->init_project(
                "ListItem"=>\@project::surprise::ListItem::ListItem,
                );
 
-print '<table border="0"><tr><td align="center">'.My::Web::img("surprise-gnome-0","Gnome client").'</td></tr></table>'."\n";
+
+print centerimg "surprise-gnome-0","Gnome client";
+
 
 My::Web->footer();