Changeset 214 for trunk/export
- Timestamp:
- Jun 22, 2009, 9:22:20 PM (16 years ago)
- Location:
- trunk/export
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/create_addon.php
r200 r214 69 69 $string = ReplaceVarInText($string); 70 70 return($string); 71 } 72 73 function NotCancel($string) 74 { 75 //echo (strpos($string,'<html>')); 76 if (strpos($string,'<html>') > -1) { 77 return(false); 78 } else { 79 return(true); 80 } 71 81 } 72 82 … … 125 135 $en = trim(ReplaceEnText($Line['Original'])); 126 136 $cz = ReplaceCzText($Line['Translation']); 127 if(($en <> '') and ($cz <> '') )137 if(($en <> '') and ($cz <> '') and (NotCancel($en))) 128 138 { 129 139 $Buffer .= "\n".'["'.$en.'"]="'.$cz.'",'; -
trunk/export/index.php
r200 r214 151 151 case 'AoWoWImport': 152 152 require_once('../aowow/configs/config.php'); 153 echo('<div style="font-size: xx-small;">'); 153 154 echo('Gewneruji SQL kód '); 154 155 $AoWoWSQL = ExportToAoWoWSQL($ExportSetting); … … 190 191 $Database->SelectDatabase($Config['Database']['Database']); 191 192 $Database->SQLCommand('SET NAMES '.$Config['Database']['Charset']); 193 echo('</div>'); 192 194 WriteLog('Plnění AoWoW databáze překladem', 4); 193 195 break;
Note:
See TracChangeset
for help on using the changeset viewer.