print POSIX::strftime( "%H:%M, %D", localtime($time) ), "<br>\n";
}
- print "$spacer contact: ";
- print "<a href=\"$main::WWWCONTACT?host=$name&message=$message\">";
- print "$human</a><p>\n";
-}
+ if ( $main::WWWCONTACT ) {
+ print "$spacer contact: ";
+ print "<a href=\"$main::WWWCONTACT?host=$name&message=$message\">";
+ print "$human</a>\n";
+ }
+ if ( $main::WWW_PROB_ACTIONBAR ) {
+ my($text) = eval '"' . $main::WWW_ACTIONBAR_CUSTOM . '"';
+ if ($@) {
+ &main::error("add_action_bar: $@");
+ &main::error($main::WWW_ACTIONBAR_CUSTOM);
+ } else {
+ print "$spacer $text<br>\n";
+ }
+ }
+
+
+ print "<p>\n";
+}
# Returns the name (or a string indicating there are multiple problems), the
if ($main::WWW_ACTIONBAR_CUSTOM) {
my($text) = eval '"' . $main::WWW_ACTIONBAR_CUSTOM . '"';
- print " || " . $text;
+ if ($@) {
+ &main::error("add_action_bar: $@");
+ &main::error($main::WWW_ACTIONBAR_CUSTOM);
+ } else {
+ print " || " . $text;
+ }
}
print "<hr>\n";