Mercurial > hg > mpiwgDrupalTheme
view theme-settings.php @ 1:d9767b5e9378
remove backup files
author | casties |
---|---|
date | Fri, 20 Jun 2014 12:07:11 +0200 |
parents | 65b7937bab7b |
children |
line wrap: on
line source
<?php /** * @file * Theme setting callbacks for the garland theme. */ /** * Implements hook_form_FORM_ID_alter(). * * @param $form * The form. * @param $form_state * The form state. */ function mpiwg_form_system_theme_settings_alter(&$form, &$form_state) { $form['mpiwg_logo_link'] = array( '#type' => 'textfield', '#title' => t('Link behind Logo'), '#default_value' => theme_get_setting('mpiwg_logo_link'), '#description' => t('Specify the link behing the logo.'), // Place this above the color scheme options. '#weight' => -2, ); $form['mpiwg_login_in_main_menu'] = array( '#type' => 'checkbox', '#title' => t('Login link in main menu?'), '#default_value' => theme_get_setting('mpiwg_login_in_main_menu'), '#description' => t('Puts a login link in the main menu.'), // Place this above the color scheme options. '#weight' => -3, ); }