diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-20 17:51:01 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-20 17:51:01 +0000 |
| commit | 3c878967dd4c10fca47665680db9f8b2c5944564 (patch) | |
| tree | 2ce13075c886e7931f6e28c630cc67f19f12a7bf /bit_setup_inc.php | |
| parent | 91fb37604a9a04eef803c34c9076a4243bc10e69 (diff) | |
| download | languages-3c878967dd4c10fca47665680db9f8b2c5944564.tar.gz languages-3c878967dd4c10fca47665680db9f8b2c5944564.tar.bz2 languages-3c878967dd4c10fca47665680db9f8b2c5944564.zip | |
basic functionality starting to emerge. we can translation one page to another language now.
Diffstat (limited to 'bit_setup_inc.php')
| -rw-r--r-- | bit_setup_inc.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bit_setup_inc.php b/bit_setup_inc.php index a373aa7..ae6a282 100644 --- a/bit_setup_inc.php +++ b/bit_setup_inc.php @@ -54,15 +54,14 @@ if( !empty( $gLibertySystem ) && $gBitSystem->isFeatureActive( 'i18n_content_tra if( !empty( $_POST['i18n']['translate'] ) ) { if( @BitBase::verifyId( $_POST['i18n']['to_id'] ) ) { - $get = 'i18n[to_id]='.$_POST['i18n']['to_id']; + $get = '&content_id='.$_POST['i18n']['to_id']; } else { $get = 'i18n[lang_code]='.$_POST['i18n']['to_id']; } if( @BitBase::verifyId( $_POST['i18n']['translation_id'] ) ) { $get .= '&i18n[translation_id]='.$_POST['i18n']['translation_id']; - } else { - $get .= '&i18n[from_id]='.$_POST['i18n']['from_id']; } + $get .= '&i18n[from_id]='.$_POST['i18n']['from_id']; header( 'Location: '.$_SERVER['PHP_SELF'].'?'.$get ); die; } |
