Skip to content

Commit

Permalink
code: EofficiumXhtml.pl quick fix + allow nonumbers
Browse files Browse the repository at this point in the history
  • Loading branch information
mbab committed May 2, 2022
1 parent cb5c8bb commit ddb982e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions standalone/tools/epubgen2/EofficiumXhtml.pl
Expand Up @@ -185,6 +185,7 @@ ()
if ($p) {$version = $p; $flag = 1;}
$p = strictparam('accented');
if ($p) {$accented = $p; $flag = 1;}
$nonumbers = strictparam('nonumbers');
if ($flag) {
setsetup('general', $expand, $version, $lang2, $accented);
#setcookies('horasgp', 'general');
Expand All @@ -195,12 +196,6 @@ ()

setmdir($version);

# save parameters
$setupsave = printhash(\%setup, 1);
$setupsave =~ s/\r*\n*//g;
$setupsave =~ s/\"/\~24/g;


precedence($date1); #fills our hashes et variables
our $psalmnum1 = 0;
our $psalmnum2 = 0;
Expand All @@ -220,7 +215,7 @@ ()
{$h = " $1";}
else {$h = '';}
$title = "Divinum Officium$h - $date1";
@horas=getdialogcolumn('horas','~',0);
@horas=getdialog('horas','~',0);
for ($i = 0; $i < 10; $i++) {$hcolor[$i] = 'black';}
#$completed = getcookie1('completed');
if ($date1 eq gettoday() && $command =~ /pray/i && $completed < 8 &&
Expand Down

0 comments on commit ddb982e

Please sign in to comment.