Example #1
0
        $gif_support = T_('No');
    }
    init_system_check('GD GIF Support', $gif_support);
    if ($gif_support == T_('No')) {
        disp_system_check('warning', T_('You will not be able to automatically generate thumbnails for GIF images.'));
    } elseif ($gif_support == T_('Read')) {
        disp_system_check('warning', T_('Thumbnails for GIF images will be generated as PNG or JPG.'));
    } else {
        disp_system_check('ok');
    }
    // FreeType:
    init_system_check('GD FreeType Support', !empty($gd_info['FreeType Support']) ? T_('Yes') : T_('No'));
    if (empty($gd_info['FreeType Support'])) {
        disp_system_check('warning', T_('You will not be able to write text to images using TrueType fonts.'));
    } else {
        disp_system_check('ok');
    }
    // pre_dump( $gd_info );
}
$block_item_Widget->disp_template_raw('block_end');
// TODO: dh> output_buffering (recommend off)
// TODO: dh> session.auto_start (recommend off)
// TODO: dh> How to change ini settings in .htaccess (for mod_php), link to manual
// fp> all good ideas :)
// TODO: dh> submit the report into a central database
// fp>yope, with a Globally unique identifier in order to avoid duplicates.
// pre_dump( ini_get_all() );
// End payload block:
$AdminUI->disp_payload_end();
// Display body bottom, debug info and close </html>:
$AdminUI->disp_global_footer();
Example #2
0
        disp_system_check('ok');
    }
    // FreeType:
    init_system_check('GD FreeType Support', !empty($gd_info['FreeType Support']) ? T_('Yes') : T_('No'));
    if (empty($gd_info['FreeType Support'])) {
        disp_system_check('warning', T_('You will not be able to write text to images using TrueType fonts.'));
    } else {
        disp_system_check('ok');
    }
    // pre_dump( $gd_info );
}
$block_item_Widget->disp_template_raw('block_end');
/*
 * Info pages
 */
$block_item_Widget->title = T_('Info pages');
$block_item_Widget->disp_template_replaced('block_start');
init_system_check('Default page:', '<a href="' . $baseurl . 'default.php">' . $baseurl . 'default.php</a>');
disp_system_check('note');
$block_item_Widget->disp_template_raw('block_end');
// TODO: dh> output_buffering (recommend off)
// TODO: dh> session.auto_start (recommend off)
// TODO: dh> How to change ini settings in .htaccess (for mod_php), link to manual
// fp> all good ideas :)
// TODO: dh> submit the report into a central database
// fp>yope, with a Globally unique identifier in order to avoid duplicates.
// pre_dump( ini_get_all() );
// End payload block:
$AdminUI->disp_payload_end();
// Display body bottom, debug info and close </html>:
$AdminUI->disp_global_footer();