my $LY_LANGUAGES = {};
$LY_LANGUAGES->{'ca'} = {
'Back to Documentation Index' => '',
- '<p>Thanks to ${webdev_link} for hosting ${lily_site}.' => '',
+ '<p>GrĂ cies a ${webdev_link} per allotjar ${lily_site}.' => '',
};
$LY_LANGUAGES->{'cs'} = {
#############################################################################
# Include our standard CSS file, not hard-coded CSS code directly in the HTML!
-# For IE, conditionally include the lilypond-ie-fixes.css style sheet
+# For IE, add a second conditionally included CSS file.
sub lilypond_css_lines ($$)
{
my $import_lines = shift;
"<link rel=\"alternate stylesheet\" type=\"text/css\" href=\"css/$ref->{FILENAME}\" title=\"$ref->{TITLE}\">\n";
}
- # The ie-fixes stylesheet is needed for the docs, but not the website.
- if (not ($web_manual)) {
+ # Add a conditionally included CSS file for IE, for either the docs or the website
+ if ($web_manual) {
+ $Texi2HTML::THISDOC{'CSS_LINES'} .=
+ "<!--[if lte IE 9]>\n<link href=\"css/lilypond-website-ie-fixes.css\" rel=\"stylesheet\" type=\"text/css\">\n<![endif]-->\n";
+ } else {
$Texi2HTML::THISDOC{'CSS_LINES'} .=
- "<!--[if lte IE 7]>\n<link href=\"css/lilypond-ie-fixes.css\" rel=\"stylesheet\" type=\"text/css\">\n<![endif]-->\n";
+ "<!--[if lte IE 7]>\n<link href=\"css/lilypond-manuals-ie-fixes.css\" rel=\"stylesheet\" type=\"text/css\">\n<![endif]-->\n";
}
if ($ENV{'AJAX_SEARCH'} == 1) {
my $is_parent_of_current = $element->{'id'} && $element_path->{$element->{'id'}};
my $ind = ' ' x $level;
my $this_css_class = " class=\"";
- # color indices for the second navigation bar on the website
- if ($web_manual) {
- my %color_maps = (
- 'introduction' => [2, 2, 2, 2, 3, 3, 4, 4],
- 'download' => [2, 2, 2, 3, 3, 4],
- 'manuals' => [1, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4],
- 'community' => [1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4],
- );
- my $addColor = "colorDefault";
- while (($top_section, $color_indices) = each %color_maps) {
- if (index ($element->{'sectionup'}->{'file'}, $top_section) >= 0) {
- $addColor = "color" . $color_indices->[$child_count];
- }
- }
- $this_css_class .= $addColor;
- }
$this_css_class .= $is_parent_of_current ? ' toc_current"' : '"';
my $entry = "$ind<li$this_css_class>" .
&$anchor ($element->{'tocid'},
# FIXME: add link to main page, really hackily.
if ($element->{'sectionup'}) {
# it's not the top element
- push (@toc_entries, "<li><a href=\"index.html\">Main</a></li>\n");
+ push (@toc_entries, "<li><a href=\"index.html\"><span>LilyPond</span></a></li>\n");
} else {
push (@toc_entries,
- "<li class=\"toc_current\"><a href=\"index.html\">Main</a></li>\n");
+ "<li class=\"toc_current\"><a href=\"index.html\"><span>LilyPond</span></a></li>\n");
}
} else {
push (@toc_entries, "<div class=\"contents\">\n");
if ($have_index_entries) {
my ($docu_dir, $docu_name) = split_texi_filename ($Texi2HTML::THISDOC{'input_file_name'});
print $fh '<script language="JavaScript">print_search_field ("' .
- $Texi2HTML::THISDOC{current_lang} . '", "' .
+ $Texi2HTML::THISDOC{current_lang} . '", "' .
$docu_name . "\", " . $bigpage . ")</script>\n";
}
}