| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: page_title-admin-settings-form.tpl.php,v 1.1.2.5 2009/10/31 22:18:54 njt1982 Exp $ 3 4 /** 5 * @file 6 * Tempalte file for the admin settings form. Displays configuration in a neat table 7 */ 8 9 $rows = array(); 10 11 foreach (element_children($form['pattern']) as $key) { 12 $title = array( 13 '#type' => 'item', 14 '#title' => $form['pattern'][$key]['#title'], 15 '#required' => $form['pattern'][$key]['#required'], 16 ); 17 unset($form['pattern'][$key]['#title']); 18 19 $row = array( 20 drupal_render($title), 21 drupal_render($form['scope'][$key]), 22 drupal_render($form['pattern'][$key]), 23 isset($form['showfield'][$key .'_showfield']) ? drupal_render($form['showfield'][$key .'_showfield']) : '', 24 ); 25 26 $rows[] = $row; 27 } 28 29 print theme('table', array(t('Page Type'), t('Token Scope'), t('Pattern'), t('Show Field')), $rows); 30 31 print drupal_render($form);
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |