You are here

function blocktheme_admin_settings in Block Theme 5

Same name and namespace in other branches
  1. 6 blocktheme.module \blocktheme_admin_settings()
  2. 7 blocktheme.module \blocktheme_admin_settings()
1 string reference to 'blocktheme_admin_settings'
blocktheme_menu in ./blocktheme.module

File

./blocktheme.module, line 16

Code

function blocktheme_admin_settings() {
  $form = array();
  $form['blocktheme_themes'] = array(
    '#type' => 'textarea',
    '#default_value' => variable_get('blocktheme_themes', ''),
    '#title' => t('Custom Block Templates'),
    '#description' => t('Enter in the form: <em>customtemplate|Friendly Name</em> Where customtemplate corresponds to a tpl file called customtemplate.tpl.php'),
  );
  return system_settings_form($form);
}