~newz/ubuntu-website/ubuntu07

« back to all changes in this revision

Viewing changes to page.tpl.php

  • Committer: Matthew Nuzum
  • Date: 2007-06-01 22:09:11 UTC
  • Revision ID: matthew.nuzum@canonical.com-20070601220911-g17o5j67y6texjbc
adding new download image

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
        <?php print $styles ?>
7
7
        <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
8
8
        <script type="text/javascript" src="/themes/ubuntu07/mootools.v1.00.js"></script>
9
 
        <script type="text/javascript" src="/themes/ubuntu07/Transcorners.js"></script>
10
9
        <script type="text/javascript" src="/themes/ubuntu07/menus.js"></script>
11
10
        </head>
12
11
 
106
105
                                        <!-- sidebars -->
107
106
                                        <div id="leftsidebar">
108
107
                                            <?php if ($sidebar_left) { print $sidebar_left; } ?></div>
109
 
                                        <div id="rightsidebar">
 
108
                                    <div id="rightsidebar">
110
109
                                            <?php if ($sidebar_right) { print $sidebar_right; } ?></div>
111
110
                        </div>
112
111
                        <div id="footer">
145
144
                if (window.ie6) {
146
145
                        $('bg-left').style.left = '-14px';
147
146
                        $('bg-right').style.right = '19px';
148
 
                        $('bottom-left').style.left = '-14px';
149
 
                        $('bottom-right').style.right = '19px';
150
147
                        $('footer').style.left = '-14px';
151
148
                        $('container').style.margin = '0 20px 0 15px';
152
149
                }
154
151
                $('q').addEvent('focus', function() {
155
152
                        $('q').select();
156
153
                });
 
154
                
 
155
                if(!$('rightsidebar').innerHTML.trim()) {
 
156
                        $('rightsidebar').setStyle('display', 'none');
 
157
                }
157
158
                //]]>
158
159
                </script>
159
160
                <?php print $closure ?>