You are here

themekey.system.inc in ThemeKey 6

File

modules/themekey.system.inc
View source
<?php

function themekey_system_themekey_properties() {

  // Attributes for properties
  $attributes = array();
  $attributes['system:host'] = array(
    'path' => 'system:host',
    'description' => t('System: Server Host'),
  );
  return array(
    'attributes' => $attributes,
  );
}
function themekey_system_themekey_global() {
  global $user;
  $parameters = array();
  $parameters['system:host'] = $_SERVER['HTTP_HOST'];
  return $parameters;
}