Skip to content

Commit

Permalink
Restore functionality of Building Script
Browse files Browse the repository at this point in the history
  • Loading branch information
FAJ-Munich committed May 15, 2024
1 parent a892e16 commit 154e6f9
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions web/cgi-bin/horas/horas.pl
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,26 @@ sub horas {
$hora = 'Vespera' if $hora =~ /vesper/i;
print "<H2 ID='${hora}top'>" . adhoram($hora) ."</H2>\n";
my (@script1, @script2);
our ($lang1, $lang2);
if ($Ck) { $version = $version1; precedence(); }
our ($lang1, $lang2, $column);
$column = 1; # The 'setbuild' functions in specials.pl check for this to set the Building Script
if ($Ck) {
$version = $version1;
precedence();
}
@script1 = getordinarium($lang1, $command);
@script1 = specials(\@script1, $lang1);
$column = 2; # This prevents the duplications in the Building Script
if ($Ck) {
$version = $version1;
precedence();
}
@script1 = getordinarium($lang1, $command);
@script1 = specials(\@script1, $lang1);
if ($Ck) { $version = $version2;
load_languages_data($lang1, $lang2, $version, $missa);
precedence(); }
if ($Ck) {
$version = $version2;
load_languages_data($lang1, $lang2, $version, $missa);
precedence();
}
if (!$only) {
@script2 = getordinarium($lang2, $command);
@script2 = specials(\@script2, $lang2);
Expand Down

0 comments on commit 154e6f9

Please sign in to comment.