/[drupal]/contributions/themes/sib/siberia.theme
ViewVC logotype

Contents of /contributions/themes/sib/siberia.theme

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


Revision 1.3 - (show annotations) (download) (as text)
Sun Aug 5 10:50:48 2007 UTC (2 years, 3 months ago) by vadbarsdrupalorg
Branch: MAIN
CVS Tags: DRUPAL-5--1-1, HEAD
Changes since 1.2: +0 -0 lines
File MIME type: text/x-php
first release
1 <?php
2
3 function siberia_settings() {
4
5 $variables = theme_get_settings('siberia');
6
7 $defaults = array(
8 'siberia_width' => 0,
9 'siberia_fixedwidth' => '850',
10 'siberia_breadcrumb' => 0,
11 'siberia_iepngfix' => 0,
12 );
13
14 $variables = array_merge($defaults, $variables);
15
16 $form['siberia_width'] = array(
17 '#type' => 'checkbox',
18 '#title' => t('Use Fixed Width'),
19 '#default_value' => $variables['siberia_width'],
20 );
21
22 $form['siberia_fixedwidth'] = array(
23 '#type' => 'textfield',
24 '#title' => t('Fixed Width Size'),
25 '#default_value' => $variables['siberia_fixedwidth'],
26 '#size' => 5,
27 '#maxlength' => 5,
28 );
29
30 $form['siberia_breadcrumb'] = array(
31 '#type' => 'checkbox',
32 '#title' => t('Show Breadcrumbs'),
33 '#default_value' => $variables['siberia_breadcrumb'],
34 );
35
36 $form['siberia_iepngfix'] = array(
37 '#type' => 'checkbox',
38 '#title' => t('Use IE PNG Fix'),
39 '#default_value' => $variables['siberia_iepngfix'],
40 );
41
42 return $form;
43 }
44
45

  ViewVC Help
Powered by ViewVC 1.1.2