title: Drupal panels, 'edit panel' tabs is missing
body: <p>I noticed something odd when I switch themes. In garland, I can see the view &amp; 'edit panel' tab buttons; but when I switch back to my custom theme, it disappears. </p>
  
  <p>I already have the tabs line:</p>
  
  <pre><code>&lt;?php if ($tabs): print '&lt;ul class="tabs primary"&gt;'. $tabs .'&lt;/ul&gt;&lt;/div&gt;'; endif; ?&gt;
  </code></pre>
  
  <p>But it's just not appearing. Why is that? </p>
  
  <p>Here is some of the code for page.tpl.php:</p>
  
  <pre><code>    &lt;div class="main-container"&gt;
  &lt;div class="mcontent"&gt;
          &lt;div id="content-header"&gt;
        &lt;?php if ($mission): print '&lt;div id="mission"&gt;'. $mission .'&lt;/div&gt;'; endif; ?&gt;
        &lt;?php if ($tabs): print '&lt;div id="tabs-wrapper" class="clear-block"&gt;'; endif; ?&gt;
        &lt;?php if ($title): print '&lt;h2'. ($tabs ? ' class="with-tabs"' : '') .'&gt;'. $title .'&lt;/h2&gt;'; endif; ?&gt;
        &lt;?php if ($tabs): print '&lt;ul class="tabs primary"&gt;'. $tabs .'&lt;/ul&gt;&lt;/div&gt;'; endif; ?&gt;
        &lt;?php if ($tabs2): print '&lt;ul class="tabs secondary"&gt;'. $tabs2 .'&lt;/ul&gt;'; endif; ?&gt;
        &lt;?php if ($show_messages &amp;&amp; $messages): print $messages; endif; ?&gt;
        &lt;?php print $help; ?&gt;
          &lt;/div&gt; &lt;!-- /#content-header --&gt;
  
  &lt;?php print $content; ?&gt; 
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>