Below is some code that will fix the breadcrumb nav problem that the nonenglish mod has. It still has problems on spanned pages, but oh well...
To level out out your subcats: if you're using css, define a box height to contain them. Otherwise, seems defing a cell height would work. Css would be like this:
# Then we print out the name linked, new if it's new, and popular if its popular.
# $output .= qq|<tr><td>\n|;
$output .= qq|<div class="home6e">\n|;
$output .= qq|<span class="home6d">\n|;
$output .= qq|<a class="boldnav" href="
$url">$category_name</a>
<span class="smalltype">($numlinks)</span>\n|;
Don't forget to </div>
XXXXXXXXXXXXXXx This from nph-build.cgi
# ***************************************** nonenglish modification - begin ****************
# $title_linked = &build_linked_title ($cat);
# $title = &build_unlinked_title ($cat);
# $total = ($#{$links{$cat}} + 1) / ($#db_cols + 1);
# $category_name = $cat;
# $category_name_escaped = &urlencode ($cat);
# $category_clean = &build_clean ($cat);
$total = ($#{$links{$cat}} + 1) / ($#db_cols + 1);
##!!begin nonenglish fix**************************
@categorylist = split (m:/:, $cat);
$depth_new = $#categorylist;
if ($depth_old >= $depth_new) {
for ($i = $depth_new; $i <= $depth_old; $i++) {
pop(@kategorylist);
}
}
$depth_old = $depth_new;
if ($nonenglish eq "") {
push(@kategorylist, $categorylist[$#categorylist]);
$title_linked = &build_linked_title ($cat);
$title = &build_unlinked_title ($cat);
$category_name = $cat;
$category_name_escaped = &urlencode ($cat);
$category_clean = &build_clean ($cat);
}
else {
push(@kategorylist, $nonenglish);
$nonenglishfull = join('/', @kategorylist);
$title_linked = &build_linked_title_mb ($cat, $nonenglishfull);
$title = &build_clean_mb ($cat, $nonenglishfull);
##XXXXXXXXXXXXXXXXXXXXXXXXXXXXX^^^^^^^^
$category_name = &build_last_title_mb ($nonenglish);
$category_name_escaped = &build_last_title_mb ($nonenglish);
$category_clean = &build_clean_mb ($nonenglish);
}
##!!End fix****************************
# ***************************************** nonenglish modification - end ******************
# ***************************************** nonenglish modification - begin ****************
# $title_linked = &build_linked_title ("$cat/Page_$page_num/");
# $title = &build_unlinked_title ("$cat/Page_$page_num/");
if ($nonenglish eq "") {
$title_linked = &build_linked_title ("$cat/Page_$page_num/");
$title = &build_unlinked_title ("$cat/Page_$page_num/");
}
else {
##!!begin nonenglish fix************************
$title_linked = &build_linked_title_mb ("$cat/Page_$page_num/", "$nonenglish\\Page $page_num\\");
$title = &build_clean_mb ("$nonenglish\\Page $page_num\\");
}
##!!end fix********************
# ***************************************** nonenglish modification - end ******************
Leonard
aka PerlFlunkie