annotate mpiwgISMI/template.php @ 33:7e2e344c3b87

make name of type attribute configurable. default '_type' for nodes.
author casties
date Tue, 02 Feb 2016 14:41:08 +0100
parents 5148098e96a4
children eccbb6239b89
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
1 <?php
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
2 /**
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
3 * Override or insert variables into the page template.
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
4 */
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
5 function mpiwgISMI_preprocess_page(&$vars) {
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
6 // Move secondary tabs into a separate variable.
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
7
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
8
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
9
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
10 $vars['MPIWGlogo'] = base_path() . path_to_theme() . '/logoMPIWG.png';
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
11 $vars['MCGilllogo'] = base_path() . path_to_theme() . '/bannerMcGill-100.gif';
5148098e96a4 add theme drupalISMI.
casties
parents:
diff changeset
12 }