Bild: thunder-info.de/…/15.JPG
Bild: thunder-info.de/…/15_2.JPG
aber ich muss manuel ändern von L=0 zu L=1
es muss doch eine fahne geben, indem man einfach klicken ....oder.
obwohl ich die script mylangguage.php benutzen.
#################### BEGIN SPRACHUMSCHALTUNG #######################
###############################################
#
# Konfiguration der Sprachen
#
###############################################
# Standardsprache deutsch wird festgelegt
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
date_stdWrap.strftime = %d. %B %Y
time_stdWrap.strftime= %H:%M
###############################################
#
# die Variable zur Sprachauswahl wird definiert
#
##############################################
config.linkVars = L
###############################################
#
# die verschieden Seiten-Sprachen werden definiert
#
###############################################
# Deutsch, sys_language.uid = 0
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE
date_stdWrap.strftime = %d. %B %Y
time_stdWrap.strftime= %H:%M
[global]
# English language, sys_language.uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = en
config.locale_all = english
date_stdWrap.strftime = %d of %B %Y
time_stdWrap.strftime= %I:%M %p
[global]
#################### ENDE SPRACHUMSCHALTUNG #######################
page = PAGE
page.typeNum = 0
page.includeLibs.language_selector = fileadmin/scripts/my_languageMenu.php
LANGUAGE = PHP_SCRIPT
LANGUAGE { file = fileadmin/scripts/my_languageMenu.php}
Bild: thunder-info.de/…/15_3.JPG
und meine template:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>GREEN template</title>
</head>
<body>
<!-- ###DOCUMENT_BODY### begin -->
<table border="0" cellpadding="0" cellspacing="0" width="1">
<tr>
<td>###TOP_LOGO###</td>
<td>###TOP_IMAGE###</td>
</tr>
<tr>
<td colspan="2" nowrap="nowrap">###MAIN_MENU###</td>
</tr>
<tr>
<td colspan="2">
<table border="0" cellpadding="0" cellspacing="0" width="1">
<tr>
<td><img src="clear.gif" height="1" width="10" alt="" /></td>
<td valign="top">
###PAGE_TITLE###<br /><br />
###SUB_MENU###
</td>
<td><img src="clear.gif" height="1" width="25" alt="" /></td>
<td valign="top">###CONTENT###</td>
<td>###LANGUAGE###</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- ###DOCUMENT_BODY### end -->
</body>
</html>