Closed (fixed)
Project:
Pathauto
Version:
4.6.x-1.x-dev
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
12 Aug 2005 at 12:14 UTC
Updated:
18 Sep 2005 at 14:51 UTC
The documentation of placeholders is displayed as follows
// Display the user documentation of placeholders supported by
// this module
foreach ($settings->placeholders as $name => $description) {
$items .= '<dt>'.$name.'</dt>';
$items .= '<dd>'.$description.'</dd>'."\n";
}
This is not really easy to style if you want ot do the whole definition list as a block.
To make this part correct html you'd need to add a DL element to the code like this
// Display the user documentation of placeholders supported by
// this module
if ($settings->placeholders) {
$items .= "<dl>\n";
foreach ($settings->placeholders as $name => $description) {
$items .= '<dt>'.$name.'</dt>';
$items .= '<dd>'.$description.'</dd>'."\n";
}
$items .= "</dl>\n";
}
Comments
Comment #1
mikeryanGood point, I'll incorporate that when I have a few minutes to spare (maybe before Thanksgiving:-)
Comment #2
mikeryanDone (to be committed to cvs later today), thanks!
Comment #3
mikeryan