Commit 679d592c authored by Nicholas Thompson's avatar Nicholas Thompson
Browse files

Adding the Drupal 6 admin form template

parent fb45a43a
<?php
$rows = array();
foreach (element_children($form['title']) as $key) {
$row = array();
$row[] = drupal_render($form['title'][$key]);
$row[] = drupal_render($form['pattern'][$key]);
$rows[] = $row;
}
print theme('table', array('Page Type', 'Pattern'), $rows);
print drupal_render($form);
......@@ -88,7 +88,7 @@ function page_title_menu() {
function page_title_theme() {
return array(
'page_title_admin_settings' => array(
'template' => 'pt-admin-settings-form',
'template' => 'page_title-admin-settings-form',
'arguments' => array('form' => NULL),
),
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment