[Home]WikiPatches/ReportErrorIntoBody

UseModWiki | WikiPatches | RecentChanges | Preferences

sub ReportError {
  my ($errmsg) = @_;

  - print $q->header, $q->start_html, "<H2>", &QuoteHtml($errmsg), "</H2>", $q->end_html;
  + print &GetHeader('', T('Error'), '');
  + print &QuoteHtml($errmsg);
  + print &GetCommonFooter();
}
--JuanmaMP

UseModWiki | WikiPatches | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited April 3, 2011 6:03 pm by JuanmaMP (diff)
Search: