/[drupal]/contributions/modules/taxonomy_theme/taxonomy_theme_admin.inc
ViewVC logotype

Diff of /contributions/modules/taxonomy_theme/taxonomy_theme_admin.inc

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

revision 1.8.2.3, Mon Jul 9 16:45:21 2007 UTC revision 1.8.2.4, Sat Feb 28 19:33:49 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: taxonomy_theme_admin.inc,v 1.8.2.2 2007/05/08 17:18:20 profix898 Exp $  // $Id: taxonomy_theme_admin.inc,v 1.8.2.3 2007/07/09 16:45:21 profix898 Exp $
3    
4  require_once (drupal_get_path('module', 'taxonomy_theme').'/taxonomy_theme_paths.inc');  require_once (drupal_get_path('module', 'taxonomy_theme').'/taxonomy_theme_paths.inc');
5  require_once (drupal_get_path('module', 'taxonomy_theme').'/taxonomy_theme_taxonomy.inc');  require_once (drupal_get_path('module', 'taxonomy_theme').'/taxonomy_theme_taxonomy.inc');
# Line 233  function _taxonomy_theme_admin_alltaxo_f Line 233  function _taxonomy_theme_admin_alltaxo_f
233          $rows = array();          $rows = array();
234          $form['taxonomy_theme_select'][$vocab->vid] = array(          $form['taxonomy_theme_select'][$vocab->vid] = array(
235            '#type' => 'fieldset',            '#type' => 'fieldset',
236            '#title' => t('Vocabulary: ').$vocab->name,            '#title' => t('Vocabulary: @vocab-name', array('@vocab-name' => $vocab->name)),
237            '#collapsible' => TRUE,            '#collapsible' => TRUE,
238            '#collapsed' => TRUE,            '#collapsed' => TRUE,
239          );          );
# Line 394  function taxonomy_theme_admin_table_buil Line 394  function taxonomy_theme_admin_table_buil
394      $form['table']['type'] = array('#value' => 'taxonomy_theme_'.$data['method']['type'].'|');      $form['table']['type'] = array('#value' => 'taxonomy_theme_'.$data['method']['type'].'|');
395      foreach ($data['data'] as $item) {      foreach ($data['data'] as $item) {
396        $template_item = variable_get('taxonomy_theme_'.$data['method']['type'].'|'.$item->$data['key'], '');        $template_item = variable_get('taxonomy_theme_'.$data['method']['type'].'|'.$item->$data['key'], '');
397        $form['table'][$item->$data['key']]['title'] = array('#value' => $item->name);        $form['table'][$item->$data['key']]['title'] = array('#value' => check_plain($item->name));
398        $form['table'][$item->$data['key']]['taxonomy_theme_'.$data['method']['type'].'|'.$item->$data['key']] = array(        $form['table'][$item->$data['key']]['taxonomy_theme_'.$data['method']['type'].'|'.$item->$data['key']] = array(
399          '#type' => 'select',          '#type' => 'select',
400          '#default_value' => $template_item,          '#default_value' => $template_item,

Legend:
Removed from v.1.8.2.3  
changed lines
  Added in v.1.8.2.4

  ViewVC Help
Powered by ViewVC 1.1.2