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

Contents of /contributions/themes/launchpad/page.tpl.php

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


Revision 1.1 - (show annotations) (download) (as text)
Thu Jul 17 15:19:14 2008 UTC (16 months, 1 week ago) by humaneasy
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-php
First working version of Launchpad for Drupal
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language ?>" xml:lang="<?php print $language ?>">
3 <head>
4 <title><?php print $head_title ?></title>
5 <?php print $head ?>
6 <?php print $styles ?>
7 <!--[if IE]>
8 <link rel="stylesheet" type="text/css" href="<?php print base_path() . path_to_theme() ?>/css/ie.css" />
9 <![endif]-->
10 <?php print $scripts ?>
11 <script type="text/javascript">
12 $(document).ready(function() {
13 //Activate FancyBox
14 $("a#custom_3").fancybox({
15 'zoomSpeedIn': 0,
16 'zoomSpeedOut': 0
17 });
18 });
19 </script>
20 <!--[if lte IE 6]>
21 <script type="text/javascript">
22 $(document).ready(function(){
23 $(document).pngFix();
24 });
25 </script>
26 <![endif]-->
27 <script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
28 <?php
29 $msg = "";
30
31 $site_name = variable_get('site_name', 'Launchpad');
32
33 $fb_user = theme_get_setting('launchpad_feedburner_user');
34 if (!$fb_user) {
35 $msg .= t(" User not set.");
36 }
37
38 $fb_fid = theme_get_setting('launchpad_feedburner_fid');
39 if (!is_numeric($fb_fid) && $fb_fib > 0) {
40 $msg .= t(" ID not set.");
41 }
42
43 if (empty($msg)) { ?>
44 <link rel="alternate" type="application/rss+xml"
45 href="http://feeds.feedburner.com/<?php print $fb_user; ?>"
46 title="<?php print $site_name; ?> RSS feed" />
47 <?php } ?>
48 </head>
49 <body>
50 <div id="wrapper">
51 <?php if (!empty($msg)) { ?>
52 <div id="topinfo" class="error"><p><?php
53 print t("Launchpad Theme is not configured:").$msg; ?></p></div>
54 <?php } ?>
55 <div id="main">
56 <h1><span><?php print t('You&rsquo;ve found'); ?></span>
57 <?php print $site_name; ?></h1>
58 <p><?php print t('We&rsquo;re not <em>quite</em> there yet &mdash; <em>but we&rsquo;re getting there!</em> &mdash; and we <strong>really</strong> want you to know when we&rsquo;re ready. Here&rsquo;s how to stay updated:'); ?></p>
59 </div><!-- #main -->
60 <div id="options-wrap">
61 <div id="subscribe-options">
62 <p class="rss-subscribe"><a id="custom_3" href="http://feeds.feedburner.com/<?php print $fb_user; ?>"
63 title="<?php print $site_name; ?> RSS feed"
64 rel="alternate" type="application/rss+xml"><?php print t('Subscribe with '); ?>
65 <img src="<?php print base_path() . path_to_theme() ?>/images/rss-icon.gif"
66 alt="RSS" /> <?php print t('in your feed reader'); ?></a></p>
67 <form action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow"
68 onsubmit="window.open('http://www.feedburner.com/fb/a/emailverifySubmit?feedId=', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
69 <p class="form-label"><?php print t('Enter your email address'); ?>:</p><p><input type="text" style="width:140px"
70 name="email"/></p>
71 <input type="hidden" value="http://feeds.feedburner.com/~e?ffid=<?php print $fb_fid; ?>" name="url"/>
72 <input type="hidden" value="<?php print $site_name; ?>" name="title"/>
73 <input type="hidden" name="loc" value="<?php print $language; ?>"/>
74 <input id="submit" type="submit" value="<?php print t('Subscribe'); ?>" />
75 </form>
76 </div><!-- #subscribe-options -->
77 </div><!-- #options-wrap -->
78 <div id="page-info">
79 <p><?php print t('Powered by'); ?> <a href="http://www.drupal.org/" title="Drupal">Drupal</a>, <a
80 href="http://www.feedburner.com/" title="FeedBurner">FeedBurner</a> &amp; <a
81 href="http://drupal.org/project/launchpad" title="Launchpad for Drupal">LaunchPad</a>. <?php print t('Content'); ?> &copy; <a
82 href="#"><?php print $site_name; ?></a>. <?php print t('All rights reserved'); ?>.</p>
83 </div><!-- #page-info -->
84 </div><!-- #wrapper -->
85 </body>
86 </html>
87 <!--//
88 Launchpad for Drupal by iPublicis.com from
89 Launchpad for Wordpress by ThemeShaper.com
90 $Id$
91 //-->

  ViewVC Help
Powered by ViewVC 1.1.2