Revision e66d4dda
Von Holger Lindemann vor fast 15 Jahren hinzugefügt
xtcom/confedit.php | ||
---|---|---|
32 | 32 |
echo ">".$row[1]."\n"; |
33 | 33 |
} |
34 | 34 |
} |
35 |
/** |
|
36 |
* TODO: short description. |
|
37 |
* |
|
38 |
* @param string $sel |
|
39 |
* |
|
40 |
* @return TODO |
|
41 |
*/ |
|
42 |
function charset($sel) { |
|
43 |
$chars = array('','latin9','utf-8'); |
|
44 |
foreach ($chars as $c) { |
|
45 |
echo "\t<option value='$c' "; |
|
46 |
if ($sel==$c) echo " selected"; |
|
47 |
echo ">$c\n"; |
|
48 |
} |
|
49 |
} |
|
35 | 50 |
function shoplang($sel,$default) { |
36 | 51 |
global $dbM; |
37 | 52 |
if (!$dbM) return; |
... | ... | |
188 | 203 |
fputs($f,"\$SHOPdbname=\"".$_POST["SHOPdbname"]."\";\n"); |
189 | 204 |
fputs($f,"\$SHOPdns=\"mysql://\$SHOPuser:\$SHOPpass@\$SHOPhost/\$SHOPdbname\";\n"); |
190 | 205 |
fputs($f,"\$SHOPdir=\"".$_POST["SHOPdir"]."\";\n"); |
206 |
fputs($f,"\$SHOPchar=\"".$_POST["SHOPchar"]."\";\n"); |
|
191 | 207 |
fputs($f,"\$SHOPimgdir=\"".$_POST["SHOPimgdir"]."\";\n"); |
192 | 208 |
fputs($f,"\$SHOPftphost=\"".$_POST["SHOPftphost"]."\";\n"); |
193 | 209 |
fputs($f,"\$SHOPftpuser=\"".$_POST["SHOPftpuser"]."\";\n"); |
... | ... | |
244 | 260 |
fputs($f,"\$SpracheAlle=\"".$_POST["SpracheAlle"]."\";\n"); |
245 | 261 |
fputs($f,"?>"); |
246 | 262 |
fclose($f); |
247 |
echo "<br>'conf.php' geschriebeni!<br>";
|
|
263 |
echo "<br>'conf.php' geschrieben!<br>"; |
|
248 | 264 |
if (file_exists ("conf$login.php")) { |
249 | 265 |
require "conf$login.php"; |
250 | 266 |
} else { |
... | ... | |
291 | 307 |
$SHOPpass=$_POST["SHOPpass"]; |
292 | 308 |
$SHOPhost=$_POST["SHOPhost"]; |
293 | 309 |
$SHOPport=$_POST["SHOPport"]; |
310 |
$SHOPchart=$_POST["SHOPchart"]; |
|
294 | 311 |
$SHOPdbname=$_POST["SHOPdbname"]; |
295 | 312 |
$SHOPlang=$_POST["SHOPlang"]; |
296 | 313 |
$SHOPdir=$_POST["SHOPdir"]; |
... | ... | |
399 | 416 |
<tr> |
400 | 417 |
<td>User-ID</td> |
401 | 418 |
<td colspan="2"><input type="text" name="ERPusrN" size="10" value="<?= $ERPusr["Name"] ?>"> |
402 |
<input type="checkbox" name="a1" <?= (empty($ERPusr["ID"])?"":"checked") ?> onFocus="blur();"></td> |
|
403 |
<td></td> |
|
419 |
<input type="checkbox" name="a1" <?= (empty($ERPusr["ID"])?"":"checked") ?> onFocus="blur();"> Charset Shop:</td> |
|
420 |
<td><select name="SHOPchar"> |
|
421 |
<? charset($SHOPchar); ?> |
|
422 |
</select></td> |
|
404 | 423 |
</tr> |
405 | 424 |
<tr> |
406 | 425 |
<td>CSV-Dir</td> |
... | ... | |
428 | 447 |
<td><input type="text" name="SHOPftppwd" size="15" value="<?= $SHOPftppwd ?>"></td> |
429 | 448 |
</tr> |
430 | 449 |
<tr> |
431 |
<td>ID Diverse 19%</td>
|
|
450 |
<td>ID Diverse 16%</td>
|
|
432 | 451 |
<td><input type="text" name="div16NR" size="10" value="<?= $div16["NR"] ?>"> |
433 | 452 |
<input type="checkbox" name="a1" <?= (empty($div16["ID"])?"":"checked") ?>></td> |
434 | 453 |
<td>ID Diverse 7%</td> |
Auch abrufbar als: Unified diff
Umlautproblem mit Shop.
Setzt vorraus, dass LxO UTF8 ist.
Darstellungsprobleme beim Import der Bestellungen == Schönheitsfehler, später machen