depth == 0 ? "menuList" : "submenu"). "\" id=\"menuactuator$tdhtml_ul\">\n";
$tdhtml_ul++;
}
if ($term->depth < $old_depth) {
@@ -177,8 +183,8 @@
$link = l(t($term->name), "taxonomy/term/$term->tid/9",
array("title" => t($term->description),
"class" => "actuator",
- "id" => "actuator$tdhtml_ul"));
- $output .= "\n";
+ "id" => "actuatorlink$tdhtml_ul"));
+ $output .= "\n";
}
else if ($term->link){
$link = $term->link;
@@ -216,11 +222,10 @@
'#maxlength' => 3,
'#description' => t('The number of items to display per vocabulary in the overview page.'),
);
- return $form;
+ return system_settings_form($form);
}
function taxonomy_dhtml_page() {
-
switch (arg(1)) {
case "overview":
default:
@@ -230,6 +235,7 @@
else {
$boxes = taxonomy_dhtml_overview();
}
+
foreach ($boxes as $box) {
$output .= "\n";
$output .= "
". $box['subject']. "
\n";
@@ -249,7 +255,7 @@
break;
case 'admin/help#taxonomy_dhtml':
case 'admin/settings/taxonomy_dhtml':
- $output = "This module provides a DHTML representation of this site's taxonomy. Currently, a ". l("block", "admin/system/block"). " is provided for each vocabulary as well as an ";
+ $output = "This module provides a DHTML representation of this site's taxonomy. Currently, a ". l("block", "admin/build/block"). " is provided for each vocabulary as well as an ";
$output .= l("overview", "taxonomy_dhtml");
$output .= " page showing all vocabularies, terms, and recent nodes within each term. Finally, a box showing taxonomy feeds is outputted on the ". l("syndication page", "syndication"). " if syndication.module is installed.";
break;
@@ -258,4 +264,4 @@
return $output;
}
-?>
\ No newline at end of file
+?>