]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/page.tmpl
Google Analytics tracking
[ikiwiki.git] / templates / page.tmpl
index 80100905ce5bf3c69ad63e93b21d20227509e2f1..e0a080b7897064f7ed72e3e0ce280905af91f5bd 100644 (file)
@@ -3,6 +3,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+               <meta http-equiv="Content-Style-Type" content="text/css" />
                <meta name="robots" content="all" />
                <meta name="author" content="SIPB" />
                <meta name="description" content="MIT Student Information Processing Board" />  
                <title><TMPL_VAR TITLE></title>
                
                <link rel="stylesheet" type="text/css" href="<TMPL_VAR BASEURL>style.css" />
-               <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
        </head>
        
        <body>
                <div id="content-block">
                         <div id="logo">
-                               <a href="http://sipb.mit.edu/"><img src="<TMPL_VAR BASEURL>images/grumpyfuzzball.png" alt="grumpy fuzzball" /></a>
-                               <a href="http://sipb.mit.edu/"><img src="<TMPL_VAR BASEURL>images/SIPBlogo.png" alt="MIT Student Information Processing Board" id="sipb-logo" /></a>
+                               <a href="<TMPL_VAR BASEURL>./"><img src="<TMPL_VAR BASEURL>images/grumpyfuzzball_half.png" alt="grumpy fuzzball" /></a>
+                               <a href="<TMPL_VAR BASEURL>./"><img src="<TMPL_VAR BASEURL>images/SIPBlogo.png" alt="MIT Student Information Processing Board" id="sipb-logo" /></a>
                                <div id="hidden-title"><h1>SIPB: MIT Student Information Processing Board</h1></div>
                         </div>
                         
                         <ul id="navigation">
-                               <li class="blue">
-                                       <a href="/projects/"><span>Projects</span></a>
+                               <li class="first-navbox">
+                                       <a href="<TMPL_VAR BASEURL>projects/"><span>Projects</span></a>
                                </li>
-                               <li class="green">
-                                       <a href="/doc/"><span>Docs</span></a>
+                               <li class="second-navbox">
+                                       <a href="<TMPL_VAR BASEURL>doc/"><span>Docs</span></a>
                                </li>
-                               <li class="orange">
-                                       <a href="/office/"><span>Office</span></a>
+                               <li class="third-navbox">
+                                       <a href="<TMPL_VAR BASEURL>office/"><span>Office</span></a>
                                </li>
-                               <li class="yellow">
-                                       <a href="/join/"><span>Join</span></a>
+                               <li class="fourth-navbox">
+                                       <a href="<TMPL_VAR BASEURL>join/"><span>Join</span></a>
                                </li>
                         </ul>
-                        <div id="events-block">
+                        <!--<div id="events-block">
                                <h4>Who are we?</h4>
                                <p>We are MIT's volunteer student computing group, improving computing at MIT since 1969. Today, SIPB projects provide innovative services and special expertise to the MIT community. We have an office just outside the Athena cluster in the student center W20, and you are welcome to come by to ask us for help or to hang around and use our computers.</p>
                                <br />
                                <div class="solid-item iap">
                                        <div class="extra-large">IAP 2009</div>
-                                       <a href="/iap/">view SIPB classes</a>
+                                       <a href="<TMPL_VAR BASEURL>iap/">view SIPB classes</a>
                                 </div>
+                        </div>-->
+                        <h1><TMPL_VAR TITLE></h1>
+                        <TMPL_IF NAME="PARENTLINKS">
+                        <div id="breadcrumbs">
+                               <ul>
+                                       <TMPL_LOOP NAME="PARENTLINKS">
+                                               <li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>&#187;</li>
+                                       </TMPL_LOOP>
+                               </ul>
+                               <br style="clear:both;" />
                         </div>
-                        <div id="featured-block" class="generic">
-                               <div class="breadcrumbs"><span class="parentlinks">
-                               <TMPL_LOOP NAME="PARENTLINKS">
-                               <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> /
-                               </TMPL_LOOP>
-                               </span>
-                               <span class="title">
-                               <TMPL_VAR TITLE>
-                               </span></div>
+                        </TMPL_IF>
+                        <div id="featured-block" class="<TMPL_UNLESS NAME="PARENTLINKS">is-top</TMPL_UNLESS>">
                                <TMPL_VAR CONTENT>
                         </div>
                        <div id="prefooter"></div>      
@@ -76,6 +79,9 @@
                                        <TMPL_IF NAME="HISTORYURL">
                                        <li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
                                        </TMPL_IF>
+                                       <TMPL_IF NAME="GETSOURCEURL">
+                                       <li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
+                                       </TMPL_IF>
                                        <TMPL_IF NAME="PREFSURL">
                                        <li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
                                        </TMPL_IF>
                                </ul>
                        </div>
                        </TMPL_IF>
-                       &copy; 2009 Student Information Processing Board
+                       <p>&copy; 2009 Student Information Processing Board</p>
+                       <p>Unless otherwise specified, all content on this wiki is released under a dual license of the Creative Commons Attribution-Share Alike license, and the GNU Free Documentation License, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover-Texts.<br />
+                        This follows the SIPB Documentation Licensing Recommendation.</p>
                </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-15235584-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
        </body>
 </html>