title: Nested IF statements in PHTML
body: <p>Evening,</p>
  
  <p>I tried to edit a simple code in Magento, yet im totaly new to PHTML and im having problems with basics...</p>
  
  <p>I wanted to check the title to set a custom div for the translator to invoke...</p>
  
  <p>This part of the edited PHTML code does not work...</p>
  
  <pre><code>&lt;?php if( $this-&gt;getConfig('title') ): ?&gt;
    &lt;?php if( $this-&gt;getConfig('title') == 'Categories' ?&gt;
      &lt;div class="block-title"&gt;&lt;strong&gt;&lt;?php echo $this-&gt;__('Categories') ?&gt;&lt;/strong&gt;&lt;/div&gt;
    &lt;?php else: ?&gt;
      &lt;div class="block-title"&gt;&lt;strong&gt;&lt;?php echo $this-&gt;getConfig('title') ?&gt;&lt;/strong&gt;&lt;/div&gt;
    &lt;?php endif ?&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>While this original code works:</p>
  
  <pre><code>&lt;?php if( $this-&gt;getConfig('title') ): ?&gt;
      &lt;div class="block-title"&gt;&lt;strong&gt;&lt;?php echo $this-&gt;getConfig('title') ?&gt;&lt;/strong&gt;&lt;/div&gt;
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>Can some expert please pinpoint an error so I wont spend whole bunch of time on this?</p>
  
  <p>Thanks in advance.</p>