Revision 1565
Added by Dietmar almost 13 years ago
index.php | ||
---|---|---|
161 | 161 |
?> |
162 | 162 |
</td> |
163 | 163 |
</tr> |
164 |
<tr>
|
|
165 |
<td width="160" style="color: #666666;">AddDefaultCharset unset</td>
|
|
164 |
<tr> |
|
165 |
<td width="160" style="color: #666666;">Server DefaultCharset</td>
|
|
166 | 166 |
<td width="60"> |
167 | 167 |
<?php |
168 |
if($e_adc) { |
|
169 |
$installFlag = false; |
|
170 |
?><font class="bad">No</font><?php |
|
168 |
$chrval = (($e_adc != '') && (strtolower($e_adc) != 'utf-8') ? true : false); |
|
169 |
if($chrval == false) { |
|
170 |
?><font class="good"> |
|
171 |
<?php echo (($e_adc=='') ? 'OK' : $e_adc) ?> |
|
172 |
</font> |
|
173 |
<?php |
|
171 | 174 |
} else { |
172 |
?><font class="good">Yes</font><?php
|
|
175 |
?><font class="bad"><?php echo $e_adc ?></font><?php
|
|
173 | 176 |
} |
177 |
|
|
174 | 178 |
?> |
175 | 179 |
</td> |
176 | 180 |
<td colspan="4"> </td> |
177 | 181 |
</tr> |
178 |
<?php if($e_adc) { |
|
179 |
$installFlag = false; |
|
182 |
<?php if($chrval == true) { |
|
180 | 183 |
?> |
181 | 184 |
<tr> |
182 |
<td colspan="6" style="font-size: 10px;" class="bad">Please note: AddDefaultCharset is set to <?php echo $e_adc;?> in apache.conf.<br />If you have to use umlauts (e.g. ä á) please change this to Off. - Or use <?php echo $e_adc;?> inside website baker, too.</td> |
|
185 |
<td colspan="6" style="font-size: 10px;" class="bad"> |
|
186 |
<p class="warning"> |
|
187 |
<b>Please note:</b> Yor webserver is configured to deliver <b><?php echo $e_adc;?></b> charset only.<br /> |
|
188 |
To display national special characters (e.g.: ä á) in clear manner, switch off this preset please(or let it do by your hosting provider).<br /> |
|
189 |
In any case you can choose <b><?php echo $e_adc;?></b> in the settings of WebsiteBaker.<br /> |
|
190 |
But this solution does not guarranty a correct displaying of the content from all modules! |
|
191 |
</p> |
|
192 |
</td> |
|
183 | 193 |
</tr> |
184 | 194 |
<?php } ?> |
185 | 195 |
</table> |
Also available in: Unified diff
fixed:: detection of serverdefined charsets more different