-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
44 lines (38 loc) · 1.3 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* @file
* Theme settings for the theme783
*/
function theme783_form_system_theme_settings_alter(&$form, &$form_state) {
/**
* Breadcrumb settings
*/
$form['theme783_breadcrumb'] = array(
'#type' => 'fieldset',
'#title' => t('Breadcrumb'),
);
$form['theme783_breadcrumb']['theme783_breadcrumb_display'] = array(
'#type' => 'select',
'#title' => t('Display breadcrumb'),
'#default_value' => theme_get_setting('theme783_breadcrumb_display'),
'#options' => array(
'yes' => t('Yes'),
'no' => t('No'),
),
);
$form['theme783_breadcrumb']['theme783_breadcrumb_hideonlyfront'] = array(
'#type' => 'checkbox',
'#title' => t('Hide the breadcrumb if the breadcrumb only contains the link to the front page.'),
'#default_value' => theme_get_setting('theme783_breadcrumb_hideonlyfront'),
);
$form['theme783_breadcrumb']['theme783_breadcrumb_showtitle'] = array(
'#type' => 'checkbox',
'#title' => t('Show page title on breadcrumb.'),
'#default_value' => theme_get_setting('theme783_breadcrumb_showtitle'),
);
$form['theme783_breadcrumb']['theme783_breadcrumb_separator'] = array(
'#type' => 'textfield',
'#title' => t('Breadcrumb separator'),
'#default_value' => theme_get_setting('theme783_breadcrumb_separator'),
);
}