Posted: Thu 2. Dec 2004, 19:12
If you make the text transparent and via CSS you can change the background color of the Link, than it should work.
The phpwcms support forum will help to find answers to your questions. The small but strong community is here since more than 10 years.
https://forum.phpwcms.org/
fair enoughI dont know a fast and easy solution.
Code: Select all
if($temp_tree[$key]) {
if($act_cat_id == $key) {
$temp_menu .= "<tr".table_attributes($nav_table_struct, "row_active", 0).$js_act.">\n".$left_cell;
$temp_menu .= "<td valign=\"top\">".str_replace('#', $link_name_id, $nav_table_struct["linkimage_active"])."</td>\n";
$temp_menu .= "<td".table_attributes($nav_table_struct, "cell_active", 1).$colspan.">".$cell_top;
$temp_menu .= '<a href="'.$link.'"'.$redirect['target'].'>{GT:menu}'.html_specialchars($struct[$key]["acat_name"]).'{/GT}</a>';
} else {
$temp_menu .= "<tr".table_attributes($nav_table_struct, "row_norm", 0).$js.">\n".$left_cell;
$temp_menu .= "<td valign=\"top\">".str_replace('#', $link_name_id, $nav_table_struct["linkimage_norm"])."</td>\n";
$temp_menu .= "<td".table_attributes($nav_table_struct, "cell", 1).$colspan.">".$cell_top;
$temp_menu .= '<a href="'.$link.'"'.$redirect['target'].'>{GT:menu2}'.html_specialchars($struct[$key]["acat_name"])."{/GT}</a>";
}
$temp_menu .= $cell_bottom."</td>\n".$right_cell."</tr>\n";
$temp_menu .= build_levels ($struct, $key, $temp_tree, $act_cat_id, $nav_table_struct, $count, $div, $link_to);
} else {
$temp_menu .= "<tr".table_attributes($nav_table_struct, "row_norm", 0).$js.">\n".$left_cell;
$temp_menu .= "<td valign=\"top\">".str_replace('#', $link_name_id, $nav_table_struct["linkimage_norm"])."</td>\n";
$temp_menu .= "<td".table_attributes($nav_table_struct, "cell", 1).$colspan.">".$cell_top;
$temp_menu .= '<a href="'.$link.'"'.$redirect['target'].'>{GT:menu2}'.html_specialchars($struct[$key]["acat_name"])."{/GT}</a>";
$temp_menu .= $cell_bottom."</td>\n".$right_cell."</tr>\n";
}
Code: Select all
{GT:menu}'.html_specialchars($struct[$key]["acat_name"]).'{/GT}