-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.php
More file actions
75 lines (63 loc) · 1.8 KB
/
template.php
File metadata and controls
75 lines (63 loc) · 1.8 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
/**
* @file
* Template.php - process theme data for your sub-theme.
*
* Rename each function and instance of "drivingevalstheme" to match
* your subthemes name, e.g. if you name your theme "drivingevalstheme" then the function
* name will be "drivingevalstheme_preprocess_hook". Tip - you can search/replace
* on "drivingevalstheme".
*/
/**
* Override or insert variables for the html template.
*/
/* -- Delete this line if you want to use this function
function drivingevalstheme_preprocess_html(&$vars) {
}
function drivingevalstheme_process_html(&$vars) {
}
// */
/**
* Override or insert variables for the page templates.
*
* The core AT theme rebuilds the primiary local tasks menu, rather than using
* the ['tabs'] which theme_preprocess_page created. The cocktail module
* modifies the 'tabs' array, so copy those modification here to where AT core
* keeps them.
*/
function drivingevalstheme_preprocess_page(&$vars) {
if (!empty($_SESSION['masquerading'])) {
$vars['classes_array'][] = 'masquerading';
}
}
/*
function drivingevalstheme_process_page(&$vars) {
}
// */
/**
* Override or insert variables into the node templates.
*/
/* -- Delete this line if you want to use these functions
function drivingevalstheme_preprocess_node(&$vars) {
}
function drivingevalstheme_process_node(&$vars) {
}
// */
/**
* Override or insert variables into the comment templates.
*/
/* -- Delete this line if you want to use these functions
function drivingevalstheme_preprocess_comment(&$vars) {
}
function drivingevalstheme_process_comment(&$vars) {
}
// */
/**
* Override or insert variables into the block templates.
*/
/* -- Delete this line if you want to use these functions
function drivingevalstheme_preprocess_block(&$vars) {
}
function drivingevalstheme_process_block(&$vars) {
}
// */