title: How To Select Template Based On Language Switch?
body: <p>I have a Joomla 2.5 multilanguage website and I want to have a different banner on the English version and on the French version. I know that I can duplicate the template and assign them to the specific language but I am doing a lot of modification in the CSS and I don't want to double the changes! 
  I did add this condition in my index.php but only the first banner will display on the EN and the FR website. </p>
  
  <pre><code>&lt;?php if ($this-&gt;language = 'en-gb') : ?&gt;
  &lt;div style="background-image: url(/templates/mega_calibra/images/bannierEN.png);"&gt;&lt;/div&gt;
  &lt;?php elseif ($this-&gt;language = 'fr-fr') : ?&gt;
  &lt;div style="background-image: url(/templates/mega_calibra/images/bannierFR.png);"&gt;&lt;/div&gt;
  &lt;?php endif; ?&gt;`
  </code></pre>
  
  <p>What am I doing wrong?</p>