Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: conditional if else in temlate files based on language  (Read 2727 times)

0 Members and 1 Guest are viewing this topic.

giorgio79

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
conditional if else in temlate files based on language
« on: October 07, 2007, 08:58:49 pm »

Hello,

I would like to hide some template.html content based on the currently selected language?

Is this possible?

Sg like

if (lang == chinese)
   show this stuff
else
   show that

Or do I have to create a new theme for that?

Cheers,
Gyuri
« Last Edit: October 08, 2007, 05:26:41 pm by Stramm »
Logged

giorgio79

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Re: conditional if else in temlate files based on language
« Reply #1 on: October 08, 2007, 03:59:56 pm »

Logged

giorgio79

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.