diff -r de56132c008d -r bdac73ed481e install/includes/stages/license.php --- a/install/includes/stages/license.php Sun Mar 28 21:49:26 2010 -0400 +++ b/install/includes/stages/license.php Sun Mar 28 23:10:46 2010 -0400 @@ -14,90 +14,90 @@ */ if ( !defined('IN_ENANO_INSTALL') ) - die(); + die(); function show_license($fb = false) { - global $lang; - global $installer_version; - ?> -
- -

get('license_info_unstable_title'); ?>

-

get('license_info_unstable_body'); ?>

- -

get('license_section_gpl_heading'); ?>

- lang_code != 'eng' ): ?> -

get('license_gpl_blurb_inenglish'); ?>

- - - Because I could never find the Create a Page button in PHP-Nuke.

'; - echo '

' . str_replace('http://enanocms.org/', 'http://www.2robots.com/2003/10/15/web-portals-suck/', $template->fading_button) . '

'; - echo '

It\'s not a portal, my friends.

'; - } - ?> + global $lang; + global $installer_version; + ?> +
+ +

get('license_info_unstable_title'); ?>

+

get('license_info_unstable_body'); ?>

+ +

get('license_section_gpl_heading'); ?>

+ lang_code != 'eng' ): ?> +

get('license_gpl_blurb_inenglish'); ?>

+ + + Because I could never find the Create a Page button in PHP-Nuke.

'; + echo '

' . str_replace('http://enanocms.org/', 'http://www.2robots.com/2003/10/15/web-portals-suck/', $template->fading_button) . '

'; + echo '

It\'s not a portal, my friends.

'; + } + ?>
disable_rule('templates'); - $carpenter->disable_rule('internallink'); - $carpenter->disable_rule('image'); - - $text = $carpenter->render($text); - - return $text; + require_once( ENANO_ROOT . '/includes/render.php' ); + require_once( ENANO_ROOT . '/includes/wikiformat.php' ); + require_once( ENANO_ROOT . '/includes/wikiengine/TagSanitizer.php' ); + require_once( ENANO_ROOT . '/includes/wikiengine/Tables.php' ); + + $carpenter = new Carpenter(); + // disable rules that require the DB + $carpenter->disable_rule('templates'); + $carpenter->disable_rule('internallink'); + $carpenter->disable_rule('image'); + + $text = $carpenter->render($text); + + return $text; } ?> -

get('license_heading'); ?>

-

get('license_blurb_thankyou'); ?>

-

get('license_blurb_pleaseread'); ?>

- - - get('license_heading'); ?> +

get('license_blurb_thankyou'); ?>

+

get('license_blurb_pleaseread'); ?>

+ + +