Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2010 at 12:06 UTC
Updated:
17 Jan 2011 at 00:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
droplet commentedyeah, because this changes:
http://drupal.org/update/modules/6/7#actions_buttons
Comment #2
aspilicious commentedD7:
Patch:
Shouldn't this be: "$search['actions']['submit']: Form submit button." ???
Comment #3
droplet commentedcan you provide a patch ? I have no idea :(. actions return a grouped set value.
Comment #4
aspilicious commentedMe neither but the original text tries to access a specific button "Form submit button". If it still tries to access that one button it needs to be $search['actions']['submit'];
If not, the text "Form submit button" is wrong :).
I don't write a patch before I know what to do :)
Comment #5
jhodgdonI think it should say something like:
$search['actions']: Buttons for the search form, including $search['actions']['submit'] (the submit button).
Comment #6
droplet commentedIt's not exactly "including $search['actions']['submit']" ??
$search['actions'] is not an array and contains rendered array elements.
maybe:
$search['actions']: Buttons for the search form.
or
$search['actions']: Search form buttons ready for print.
if change $search['actions'] into an array requires API change.
Comment #7
jhodgdonOK, thanks for the correction. Still needs a patch.
Comment #8
jhodgdonHere's a patch, which also brings the tpl header up to standards.
Comment #9
droplet commentedpatch seems ok.
** where can I see the docs about "tpl header up to standards", thanks.
Comment #10
jhodgdonhttp://drupal.org/node/1354 has all of our doc header standards
Comment #11
webchickCommitted to HEAD. Thanks!