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

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

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

revision 1.3, Mon Sep 8 23:14:39 2008 UTC revision 1.3.2.1, Mon Sep 8 23:52:14 2008 UTC
# Line 49  if (is_null(theme_get_setting('newsflash Line 49  if (is_null(theme_get_setting('newsflash
49    theme_get_setting('', TRUE);    theme_get_setting('', TRUE);
50  }  }
51    
 function newsflash_regions() {  
   return array(  
     'sidebar_left' => t('Left Sidebar'),  
     'sidebar_right' => t('Right Sidebar'),  
     'header' => t('Header'),  
     'suckerfish' => t('Suckerfish Menu'),  
     'user1' => t('User1'),  
     'user2' => t('User2'),  
     'user3' => t('User3'),  
     'content_top' => t('Content Top'),  
     'content_bottom' => t('Content Bottom'),  
     'user4' => t('User4'),  
     'user5' => t('User5'),  
     'user6' => t('User6'),  
     'footer_region' => t('Footer'),  
   );  
 }  
   
52  function get_newsflash_style() {  function get_newsflash_style() {
53    $style = theme_get_setting('newsflash_style');    $style = theme_get_setting('newsflash_style');
54    if (!$style) {    if (!$style) {
# Line 86  if (theme_get_setting('newsflash_iepngfi Line 68  if (theme_get_setting('newsflash_iepngfi
68  }  }
69    
70  if (theme_get_setting('newsflash_suckerfish')) {  if (theme_get_setting('newsflash_suckerfish')) {
71     drupal_add_css(drupal_get_path('theme', 'newsflash') .'/css/suckerfish_'. $style .'.css', 'theme');     drupal_add_css(drupal_get_path('theme', 'newsflash') .'/css/suckerfish_'  . $style .'.css', 'theme');
72  }  }
73    
74  if (theme_get_setting('newsflash_uselocalcontent')) {  if (theme_get_setting('newsflash_uselocalcontent')) {

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

  ViewVC Help
Powered by ViewVC 1.1.2