/[drupal]/contributions/modules/drigg/stock_themes/drigg_theme/page.tpl.php
ViewVC logotype

Diff of /contributions/modules/drigg/stock_themes/drigg_theme/page.tpl.php

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

revision 1.1.2.8.2.1, Fri Nov 7 01:00:14 2008 UTC revision 1.1.2.8.2.2, Fri Jun 5 19:36:14 2009 UTC
# Line 1  Line 1 
1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
3    
4  <head>  <head>
5    <title><?php print $head_title; ?></title>    <title><?php print $head_title; ?></title>
6    <?php print $head; ?>    <?php print $head; ?>
7    <?php print $styles; ?>    <?php print $styles; ?>
8    <?php print $scripts; ?>    <?php print $scripts; ?>
9    
10    <!-- REMOVE these if you are using jquery-update!! -->    <!-- REMOVE these if you are using jquery-update!! -->
11    <script type="text/javascript" src="<?php print $base_path ?>misc/collapse-fix.js"></script>    <script type="text/javascript" src="<?php print $base_path ?>misc/collapse-fix.js"></script>
12    <script type="text/javascript" src="<?php print $base_path ?>misc/compat-1.0.js"></script>    <script type="text/javascript" src="<?php print $base_path ?>misc/compat-1.0.js"></script>
13    
14  </head>  </head>
15    
16  <body>  <body>
17    
18    <div id="container">    <div id="container">
19    
20      <div id="header">      <div id="header">
21        <div id="header_title">        <div id="header_title">
22    
23          <?php if (isset($primary_links)) : ?>          <?php if (isset($primary_links)) : ?>
24            <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>            <?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
25          <?php endif; ?>          <?php endif; ?>
26    
27          <div id="header_search">          <div id="header_search">
28            <?php print $search_box; ?>            <?php print $search_box; ?>
29          </div>          </div>
30    
31          <?php if (!empty($site_name)): ?>          <?php if (!empty($site_name)): ?>
32            <h1><a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>            <h1><a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>
33          <?php endif; ?>          <?php endif; ?>
34    
35          <?php if (!empty($site_slogan)): ?>          <?php if (!empty($site_slogan)): ?>
36            <p><?php print $site_slogan; ?></p>            <p><?php print $site_slogan; ?></p>
37          <?php endif; ?>          <?php endif; ?>
38    
39        </div>        </div>
40    
41        <?php if (module_exists('drigg')) { ?>        <?php if (module_exists('drigg')) { ?>
42          <div id="header_categories">          <div id="header_categories">
43            <?php            <?php
44              if (module_exists('drigg')) {              if (module_exists('drigg')) {
45                print drigg_ui_submit_button();                print drigg_ui_submit_button();
46              }              }
47            ?>            ?>
48            <?php            <?php
49            print drigg_ui_sections(FALSE,0);            print drigg_ui_sections(FALSE,0);
50            ?>            ?>
51          </div>          </div>
52    
53          <?php          <?php
54            $subcates = drigg_ui_sections(FALSE,1);            $subcates = drigg_ui_sections(FALSE,1);
55          ?>          ?>
56          <?php if ($subcates) { ?>          <?php if ($subcates) { ?>
57            <div id="header_subcategories">            <div id="header_subcategories">
58              <?php print $subcates; ?>              <?php print $subcates; ?>
59            </div>            </div>
60          <?php } ?>          <?php } ?>
61    
62          <?php          <?php
63            $sub2cates = drigg_ui_sections(FALSE,2);            $sub2cates = drigg_ui_sections(FALSE,2);
64          ?>          ?>
65          <?php if ($sub2cates) { ?>          <?php if ($sub2cates) { ?>
66            <div id="header_subcategories2">            <div id="header_subcategories2">
67              <?php print $sub2cates; ?>              <?php print $sub2cates; ?>
68            </div>            </div>
69          <?php } ?>          <?php } ?>
70    
71    
72        <?php } ?>        <?php } ?>
73    
74        <?php if (!empty($breadcrumb)): ?>        <?php if (!empty($breadcrumb)): ?>
75          <div id="header_breadcrumb">          <div id="header_breadcrumb">
76            <?php print $breadcrumb; ?>            <?php print $breadcrumb; ?>
77          </div>          </div>
78        <?php endif; ?>        <?php endif; ?>
79    
80        <?php if (!empty($header)): ?>        <?php if (!empty($header)): ?>
81          <div id="header_content">          <div id="header_content">
82            <?php print $header; ?>            <?php print $header; ?>
83          </div>          </div>
84        <?php endif; ?>        <?php endif; ?>
85      </div> <!-- /header -->      </div> <!-- /header -->
86    
87      <div id="content">      <div id="content">
88        <?php if( $show_ads && ! ( arg(0) == 'node' && is_numeric(arg(1)) ) ) { ?>        <?php if( $show_ads && ! ( arg(0) == 'node' && is_numeric(arg(1)) ) ) { ?>
89          <div class="googleads_top">          <div class="googleads_top">
90            <!-- Google ad here. 468x60 works... -->            <!-- Google ad here. 468x60 works... -->
91          </div>          </div>
92        <?php } ?>        <?php } ?>
93    
94        <div id="content_center" class="column">        <div id="content_center" class="column">
95          <div class="controlbar clearfix">          <div class="controlbar clearfix">
96            <?php if (!empty($title) && !( arg(0) == 'node' && is_numeric(arg(1)))) : ?>            <?php if (!empty($title) && !( arg(0) == 'node' && is_numeric(arg(1)))) : ?>
97              <h1><?php print $title; ?></h1>              <h1><?php print $title; ?></h1>
98            <?php endif; ?>            <?php endif; ?>
99            <?php            <?php
100              if ($page == 0 && module_exists('drigg')) {              if ($page == 0 && module_exists('drigg')) {
101                print drigg_ui_type_menu();                print drigg_ui_type_menu();
102                print drigg_ui_order_menu();                print drigg_ui_order_menu();
103              }              }
104            ?>            ?>
105          </div>          </div>
106    
107          <?php if (!empty($tabs)): ?>          <?php if (!empty($tabs)): ?>
108            <div class="tabs"><?php print $tabs; ?></div>            <div class="tabs"><?php print $tabs; ?></div>
109          <?php endif; ?>          <?php endif; ?>
110    
111          <?php print $help; ?>          <?php print $help; ?>
112          <?php print $messages; ?>          <?php print $messages; ?>
113          <?php print $content; ?>          <?php print $content; ?>
114        </div> <!-- /content_center -->        </div> <!-- /content_center -->
115    
116        <?php if (!empty($left)): ?>        <?php if (!empty($left)): ?>
117          <div id="content_left" class="column">          <div id="content_left" class="column">
118            <?php print $left; ?>            <?php print $left; ?>
119          </div> <!-- /content_left -->          </div> <!-- /content_left -->
120        <?php endif; ?>        <?php endif; ?>
121    
122        <?php if (!empty($right)): ?>        <?php if (!empty($right)): ?>
123          <div id="content_right" class="column">          <div id="content_right" class="column">
124            <?php print $right; ?>            <?php print $right; ?>
125            <?php if( $show_ads) { ?>            <?php if( $show_ads) { ?>
126              <div class="googleads_left">              <div class="googleads_left">
127                <!-- Google ad here. 160x600 works... -->                <!-- Google ad here. 160x600 works... -->
128              </div>              </div>
129            <?php } ?>            <?php } ?>
130          </div> <!-- /content_right -->          </div> <!-- /content_right -->
131        <?php endif; ?>        <?php endif; ?>
132    
133      </div> <!-- /content -->      </div> <!-- /content -->
134    
135      <div id="footer">      <div id="footer">
136        <?php print $footer_message; ?>        <?php print $footer_message; ?>
137        <a href="http://www.drigg-code.org"><img src="<?php print path_to_theme()?>/img/drigg_80_15.gif" alt="Drigg" /></a>        <a href="http://www.drigg-code.org"><img src="/<?php print path_to_theme()?>/img/drigg_80_15.gif" alt="Drigg" /></a>
138      </div> <!-- /footer -->      </div> <!-- /footer -->
139    
140      <?php print $closure; ?>      <?php print $closure; ?>
141    
142    
143    </div> <!-- /container -->    </div> <!-- /container -->
144    
145  </body>  </body>
146  </html>  </html>

Legend:
Removed from v.1.1.2.8.2.1  
changed lines
  Added in v.1.1.2.8.2.2

  ViewVC Help
Powered by ViewVC 1.1.2