/[drupal]/contributions/themes/launchpad/template.php
ViewVC logotype

Diff of /contributions/themes/launchpad/template.php

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

revision 1.2, Fri Jul 11 15:45:58 2008 UTC revision 1.3, Thu Jul 17 15:19:14 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // Launchpad 1.x  // $Id$
3  // $Id: template.php,v 1.1 2008/07/11 15:07:39 humaneasy Exp $  // Launchpad for Drupal by iPublicis.com
4    // Original for Wordpress by ThemeShaper.com
5    
6    if (is_null(theme_get_setting('launchpad_feedburner_user'))) {
7      global $theme_key;
8    
9      // Save default theme settings
10      $defaults = array(
11        'launchpad_feedburner_user' => '',
12        'launchpad_feedburner_fid'  => 0,
13      );
14    
15      variable_set(
16        str_replace('/', '_', 'theme_'. $theme_key .'_settings'),
17        array_merge(theme_get_settings($theme_key), $defaults)
18      );
19      // Force refresh of Drupal internals
20      theme_get_setting('', TRUE);
21    
22    }
23    
24    // Theme Styles
25    drupal_add_css(drupal_get_path('theme', 'launchpad') . '/css/style.css', 'theme');
26    drupal_add_css(drupal_get_path('theme', 'launchpad') . '/css/fancy.css', 'theme');
27    
28    // Theme Scripts
29    drupal_add_js(drupal_get_path('theme', 'launchpad') . '/js/jquery.fancybox.js', 'theme');
30    drupal_add_js(drupal_get_path('theme', 'launchpad') . '/js/jquery.pngFix.js', 'theme');

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2