/[drupal]/contributions/modules/page_title/page_title.admin.inc
ViewVC logotype

Diff of /contributions/modules/page_title/page_title.admin.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.7, Thu Jun 11 10:26:49 2009 UTC revision 1.1.2.8, Sat Oct 31 22:18:54 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: page_title.admin.inc,v 1.1.2.6 2009/06/11 09:20:03 njt1982 Exp $  // $Id: page_title.admin.inc,v 1.1.2.7 2009/06/11 10:26:49 njt1982 Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 35  function page_title_admin_settings() { Line 35  function page_title_admin_settings() {
35    
36    // Define the basic scope column values    // Define the basic scope column values
37    $form['patterns']['scope'] = array(    $form['patterns']['scope'] = array(
38      'page_title_default' => array('#type' => 'markup', '#value' => t('Global Only'),),      'page_title_default' => array('#type' => 'markup', '#value' => t('Global Only'), ),
39      'page_title_front'   => array('#type' => 'markup', '#value' => t('Global Only'),),      'page_title_front'   => array('#type' => 'markup', '#value' => t('Global Only'), ),
40      'page_title_user'    => array('#type' => 'markup', '#value' => t('User'),),      'page_title_user'    => array('#type' => 'markup', '#value' => t('User'), ),
41    );    );
42    
43    // Define the 'default' token patterns    // Define the 'default' token patterns
# Line 80  function page_title_admin_settings() { Line 80  function page_title_admin_settings() {
80        '#default_value' => variable_get($key .'_showfield', 0),        '#default_value' => variable_get($key .'_showfield', 0),
81      ) + $showfield_form_element;      ) + $showfield_form_element;
82    
83      $form['patterns']['scope'][$key] = array('#type' => 'markup', '#value' => t('Node'),);      $form['patterns']['scope'][$key] = array('#type' => 'markup', '#value' => t('Node'), );
84    }    }
85    
86    
# Line 101  function page_title_admin_settings() { Line 101  function page_title_admin_settings() {
101          '#default_value' => variable_get($key .'_showfield', 0),          '#default_value' => variable_get($key .'_showfield', 0),
102        ) + $showfield_form_element;        ) + $showfield_form_element;
103    
104        $form['patterns']['scope'][$key] = array('#type' => 'markup', '#value' => t('Taxonomy'),);        $form['patterns']['scope'][$key] = array('#type' => 'markup', '#value' => t('Taxonomy'), );
105      }      }
106    }    }
107    
# Line 113  function page_title_admin_settings() { Line 113  function page_title_admin_settings() {
113        '#default_value' => variable_get($key, ''),        '#default_value' => variable_get($key, ''),
114      ) + $pattern_form_element;      ) + $pattern_form_element;
115    
116      $form['patterns']['scope'][$key] = array('#type' => 'markup', '#value' => t('User'),);      $form['patterns']['scope'][$key] = array('#type' => 'markup', '#value' => t('User'), );
117    }    }
118    
119    // Define the page pattern text field. This is appended to any page requests containing 'page=[0-9]+' in the query string    // Define the page pattern text field. This is appended to any page requests containing 'page=[0-9]+' in the query string

Legend:
Removed from v.1.1.2.7  
changed lines
  Added in v.1.1.2.8

  ViewVC Help
Powered by ViewVC 1.1.2