diff options
| author | Christian Fowler <spider@viovio.com> | 2006-02-11 05:05:34 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-02-11 05:05:34 +0000 |
| commit | 4497ac2bb362009c072d9f68aa7e5d9850f95d50 (patch) | |
| tree | b7eab2e03b371f0f9aae9172086849cbeab18e29 /bit_setup_inc.php | |
| parent | 354c4388d0f274b45db77516a8364af2f56e66bc (diff) | |
| download | languages-4497ac2bb362009c072d9f68aa7e5d9850f95d50.tar.gz languages-4497ac2bb362009c072d9f68aa7e5d9850f95d50.tar.bz2 languages-4497ac2bb362009c072d9f68aa7e5d9850f95d50.zip | |
fiddle around with translation UI and a splash of logic in languages/bit_setup_inc.php
Diffstat (limited to 'bit_setup_inc.php')
| -rw-r--r-- | bit_setup_inc.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php index 9f3f1af..d2eba09 100644 --- a/bit_setup_inc.php +++ b/bit_setup_inc.php @@ -43,4 +43,14 @@ 'content_edit_mini_tpl' => 'bitpackage:languages/select_translations.tpl', //'content_icon_tpl' => 'bitpackage:languages/translate_service_icon.tpl', ) ); + + if( !empty( $_POST['translate'] ) ) { + if( is_numeric( $_POST['translate_id'] ) ) { + $get = 'content_id='.$_POST['translate_content_id']; + } else { + $get = 'lang_code='.$_POST['translate_id']; + } + header( 'Location: '.$_SERVER['SCRIPT_URL'].'?'.$get ); + die; + } ?> |
