diff -r 0c3dd4c166c0 -r ecc764c10138 install/includes/stages/website.php --- a/install/includes/stages/website.php Sat Mar 21 14:33:22 2009 -0400 +++ b/install/includes/stages/website.php Sat Mar 21 14:55:34 2009 -0400 @@ -56,6 +56,20 @@ } else { + ajaxGet(scriptPath + '/install/install.php?/tiny&do=modrewrite_test', __ajaxMrwTest_chain_tiny); + } + } + } + var __ajaxMrwTest_chain_tiny = function() + { + if ( ajax.readyState == 4 ) + { + if ( ajax.responseText == 'good_tiny' ) + { + ajaxMrwSet('tiny'); + } + else + { ajaxGet(scriptPath + '/install/install.php?do=modrewrite_test&str=standard', __ajaxMrwTest_chain_standard); } } @@ -78,12 +92,13 @@ function ajaxMrwSet(level) { install_unset_ajax_loading(); - if ( !in_array(level, ['rewrite', 'shortened', 'standard']) ) + if ( !in_array(level, ['rewrite', 'shortened', 'standard', 'tiny']) ) return false; document.getElementById('url_radio_rewrite').checked = false; document.getElementById('url_radio_shortened').checked = false; document.getElementById('url_radio_standard').checked = false; + document.getElementById('url_radio_tiny').checked = false; document.getElementById('url_radio_' + level).checked = true; document.getElementById('url_radio_' + level).focus(); @@ -95,6 +110,9 @@ case 'shortened': var str = $lang.get('website_msg_bestmethod_shortened'); break; + case 'tiny': + var str = $lang.get('website_msg_bestmethod_tiny'); + break; case 'standard': var str = $lang.get('website_msg_bestmethod_standard'); break; @@ -264,6 +282,23 @@ + + + + + +
+ + + + +

get('website_field_urlscheme_opt_tiny_hint'); ?>

+

get('website_field_urlscheme_lbl_example'); ?>

+
+
+

get('website_btn_urlscheme_detect'); ?>