/[drupal]/contributions/themes/fancy/page.tpl.php
ViewVC logotype

Diff of /contributions/themes/fancy/page.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4, Sun Jun 18 05:24:53 2006 UTC revision 1.5, Tue Jan 16 16:47:23 2007 UTC
# Line 3  Line 3 
3  <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language; ?>" xml:lang="<?php print $language; ?>">  <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language; ?>" xml:lang="<?php print $language; ?>">
4  <head>  <head>
5  <title><?php print $head_title ?></title>  <title><?php print $head_title ?></title>
6  <?php print $head ?><?php print $styles ?>    <?php print $head ?>
7      <?php print $styles ?>
8      <?php print $scripts ?>
9          <script src="<?php print $base_path ?><?php print $directory ?>/sifr/sifr.js" type="text/javascript"></script>          <script src="<?php print $base_path ?><?php print $directory ?>/sifr/sifr.js" type="text/javascript"></script>
10          <script src="<?php print $base_path ?><?php print $directory ?>/sifr/sifr-addons.js" type="text/javascript"></script>          <script src="<?php print $base_path ?><?php print $directory ?>/sifr/sifr-addons.js" type="text/javascript"></script>
11          <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>          <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
# Line 13  Line 15 
15    <tr>    <tr>
16      <td rowspan="2" id="logo"> <?php if ($logo) { ?>      <a href="<?php print $base_path ?>" title="Home"><img src="<?php print $logo ?>" alt="Home" /></a>      <?php } ?></td>      <td rowspan="2" id="logo"> <?php if ($logo) { ?>      <a href="<?php print $base_path ?>" title="Home"><img src="<?php print $logo ?>" alt="Home" /></a>      <?php } ?></td>
17      <td colspan="2" id="prime-top"> <div id="primary-tabs">      <td colspan="2" id="prime-top"> <div id="primary-tabs">
18    <?php if (count($primary_links)) : ?>  
19        <ul><?php foreach ($primary_links as $link): ?>   <?php print theme('navlinks', $primary_links); ?>
20            <?php  
21            static $primary_link_id;    </div></td>
           $primary_link_id += 1;  
         ?>  
         <?php $class = ""; ?>  
         <?php if ( stristr($link, 'active') ) : ?>  
         <?php $class = 'class="current"'; ?>  
         <?php endif; ?>  
         <li <?php print $class?> id="primary-link-<?php print $primary_link_id; ?>" > <?php print theme_links(array('primary' => $link))?> </li>  
           <?php endforeach; ?>  
         </ul>  
   <?php endif; ?>  
     </div></td>  
22    </tr>    </tr>
23    <tr>    <tr>
24    <td id="fname">    <td id="fname">
# Line 37  Line 28 
28      <td id="menu"><?php print $search_box ?><?php if (isset($secondary_links)) { ?><div id="secondary"><?php print theme('links', $secondary_links) ?></div><?php } ?>      <td id="menu"><?php print $search_box ?><?php if (isset($secondary_links)) { ?><div id="secondary"><?php print theme('links', $secondary_links) ?></div><?php } ?>
29          </td>          </td>
30    </tr>    </tr>
31      <?php if ($header) { ?>
32       <tr>       <tr>
33      <td colspan="3"><div><?php print $header ?></div></td>      <td colspan="3"><div><?php print $header ?></div></td>
34    </tr>    </tr>
35      <?php } ?>
36  </table>  </table>
37    
38  <table border="0" cellpadding="0" cellspacing="0" id="content">  <table border="0" cellpadding="0" cellspacing="0" id="content">

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.2