X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fbug_report%2Fshow_system_specs.php;h=c9bfc4e71509a15c0443492844a6074fa91cb8d5;hp=020dd518c1f0a32dd4d993b89ab6f7bff44a67f9;hb=HEAD;hpb=598294a727a2789b7c562ee7083da703c8bb0628 diff --git a/plugins/bug_report/show_system_specs.php b/plugins/bug_report/show_system_specs.php index 020dd518..6567639e 100644 --- a/plugins/bug_report/show_system_specs.php +++ b/plugins/bug_report/show_system_specs.php @@ -1,35 +1,48 @@ - -
--display('footer.tpl'); + exit(); +} + + +// get system specs +// +require_once(SM_PATH . 'plugins/bug_report/system_specs.php'); +list($body, $warnings, $corrections) = get_system_specs(); + +global $oTemplate; +$oTemplate->assign('body', $body); +$oTemplate->display('plugins/bug_report/system_specs.tpl'); +$oTemplate->display('footer.tpl'); -include_once(SM_PATH . 'plugins/bug_report/system_specs.php'); -global $body; -echo $body; -?> -- - \ No newline at end of file