Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
page_title
Commits
679d592c
Commit
679d592c
authored
May 02, 2008
by
Nicholas Thompson
Browse files
Adding the Drupal 6 admin form template
parent
fb45a43a
Changes
2
Show whitespace changes
Inline
Side-by-side
page_title-admin-settings-form.tpl.php
0 → 100644
View file @
679d592c
<?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
);
page_title.module
View file @
679d592c
...
...
@@ -88,7 +88,7 @@ function page_title_menu() {
function
page_title_theme
()
{
return
array
(
'page_title_admin_settings'
=>
array
(
'template'
=>
'p
t
-admin-settings-form'
,
'template'
=>
'p
age_title
-admin-settings-form'
,
'arguments'
=>
array
(
'form'
=>
NULL
),
),
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment