#1 (permalink)  
Alt 05.10.2009, 17:34
Neuer Benutzer
 
Registriert seit: 05.10.2009
Beiträge: 6
Standard Variable for language

Hi all,

I'm currently developing a template for a client based around xtcommerce. The template requires a sitemap of the clients website on the bottom of the e-commerce site. This is simple enough if placed in the index.html file of the template and altered with CSS styles but I require the PHP variable that controls which language is selected. Is there any way of using:

If ($languagevariable == english)
{
show this
}
else
{
show this
};

within the templated page? if so what would the variable be?

Thanks

Steve.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 11.11.2009, 12:12
Neuer Benutzer
 
Registriert seit: 16.06.2009
Ort: Stuttgart
Beiträge: 12
Standard

I think that was $language...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
language, variable

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Preis als Grafik auf Startseite, wie krieg ich die Variable in meine PHP-Function ?? Giova PHP & MysQL Forum 6 18.02.2009 18:17
Neue, global Variable djurkovic Template System 0 26.11.2007 19:07


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:08 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand