diff --git a/bibleget-io.php b/bibleget-io.php index 5c427f6..6bc0e6e 100644 --- a/bibleget-io.php +++ b/bibleget-io.php @@ -997,7 +997,7 @@ function bibleGetQueryServer($finalquery) // $output .= "

Effettuate ".$count1." e ".$count2." sostituzioni."; $matches = null; - if (preg_match_all("/
.*?<\/div>/s", $output, $matches)) { + if (preg_match_all("/
.*?<\/div>/s", $output, $matches)) { // capture table of error messages, and turn it into notices for backend $errorshtml = new DOMDocument(); $errorshtml->loadHTML("BibleGet Query Errors" . $matches[0][0] . ""); diff --git a/options.php b/options.php index 4c52589..dfb11d4 100644 --- a/options.php +++ b/options.php @@ -1802,7 +1802,7 @@ public static function header_output() //$linespacing_verses = get_theme_mod('linespacing_verses', self::$bibleget_style_settings->linespacing_verses->dfault); self::generate_options_css('.bibleQuote.results p.versesParagraph', 'line-height', $BGETOPTIONS['PARAGRAPHSTYLES_LINEHEIGHT'].'em'); $linespacing_verses = $BGETOPTIONS['PARAGRAPHSTYLES_LINEHEIGHT'].'em'; - $poi_linespacing = ($BGETOPTIONS['PARAGRAPHSTYLES_LINEHEIGHT'] + 1.0).'em'; + $poetic_linespacing = ($BGETOPTIONS['PARAGRAPHSTYLES_LINEHEIGHT'] + 1.0).'em'; $fontsize_versenumber = $BGETOPTIONS['VERSENUMBERSTYLES_FONTSIZE']; if($BGETOPTIONS['VERSENUMBERSTYLES_FONTSIZEUNIT'] == 'em'){ $fontsize_versenumber /= 10; @@ -1813,19 +1813,23 @@ public static function header_output() echo PHP_EOL; echo '/* Senseline. A line that is broken to be reading aloud/public speaking. Poetry is included in this category. */'; echo PHP_EOL; - echo ".bibleQuote.results p.versesParagraph span.pof { display: block; text-indent: 0; margin-top:1em; margin-left:5%; line-height: $linespacing_verses; }"; + echo ".bibleQuote.results p.versesParagraph span.pof { display: block; text-indent: 0; margin-top:1em; margin-left:5%; line-height: $poetic_linespacing; }"; echo PHP_EOL; - echo ".bibleQuote.results p.versesParagraph span.po { display: block; margin-left:5%; margin-top:-1%; line-height: $linespacing_verses; }"; + echo ".bibleQuote.results p.versesParagraph span.po { display: block; margin-left:5%; margin-top:-1%; line-height: $poetic_linespacing; }"; echo PHP_EOL; - echo ".bibleQuote.results p.versesParagraph span.pol { display: block; margin-left:5%; margin-top:-1%; margin-bottom:1em; line-height: $linespacing_verses; }"; + echo ".bibleQuote.results p.versesParagraph span.pol { display: block; margin-left:5%; margin-top:-1%; margin-bottom:1em; line-height: $poetic_linespacing; }"; echo PHP_EOL; - echo ".bibleQuote.results p.versesParagraph span.pos { display: block; margin-top:1em; margin-left:5%; line-height: $linespacing_verses; }"; + echo ".bibleQuote.results p.versesParagraph span.pos { display: block; margin-top:0.3em; margin-left:5%; line-height: $poetic_linespacing; }"; echo PHP_EOL; - echo ".bibleQuote.results p.versesParagraph span.poif { display: block; margin-left:7%; margin-top:1%; line-height: $linespacing_verses; }"; + echo ".bibleQuote.results p.versesParagraph span.poif { display: block; margin-left:7%; margin-top:1%; line-height: $poetic_linespacing; }"; echo PHP_EOL; - echo ".bibleQuote.results p.versesParagraph span.poi { display: block; margin-left:7%; margin-top:-1%; line-height: $poi_linespacing; }"; + echo ".bibleQuote.results p.versesParagraph span.poi { display: block; margin-left:7%; margin-top:-1%; line-height: $poetic_linespacing; }"; echo PHP_EOL; - echo ".bibleQuote.results p.versesParagraph span.poil { display: block; margin-left:7%; margin-bottom:1%; line-height: $linespacing_verses; }"; + echo ".bibleQuote.results p.versesParagraph span.poil { display: block; margin-left:7%; margin-bottom:1%; line-height: $poetic_linespacing; }"; + echo PHP_EOL; + echo ".bibleQuote.results p.versesParagraph span.po3 { display: block; margin-left:7%; margin-top:-1%; line-height: $poetic_linespacing; }"; + echo PHP_EOL; + echo ".bibleQuote.results p.versesParagraph span.po3l { display: block; margin-left:7%; margin-top:-1%; line-height: $poetic_linespacing; }"; echo PHP_EOL; echo ".bibleQuote.results p.versesParagraph span.speaker { font-weight: bold; background-color: #eeeeee; padding: 3px; border-radius: 3px; font-size: $fontsize_versenumber; }"; echo PHP_EOL;