@@ -49,14 +49,14 @@ function dummy_function_1(): array
4949 'audio ' => $ row ['FlAudio ' ],
5050 'text ' => $ row ['FlText ' ]
5151 );
52- $ NfName = $ row ['NfName ' ];
53- $ nf_id= $ row ['NfID ' ];
54- $ nf_options= $ row ['NfOptions ' ];
55- if (!$ nf_tag_name= get_nf_option ($ nf_options , 'tag ' )) {
52+ $ NfName = ( string ) $ row ['NfName ' ];
53+ $ nf_id = ( int ) $ row ['NfID ' ];
54+ $ nf_options = $ row ['NfOptions ' ];
55+ if (!$ nf_tag_name = get_nf_option ($ nf_options , 'tag ' )) {
5656 $ nf_tag_name = mb_substr ($ NfName , 0 , 20 , "utf-8 " );
5757 }
58- if (!$ nf_max_texts= (int )get_nf_option ($ nf_options , 'max_texts ' )) {
59- $ nf_max_texts= (int )getSettingWithDefault ('set-max-texts-per-feed ' );
58+ if (!$ nf_max_texts = (int )get_nf_option ($ nf_options , 'max_texts ' )) {
59+ $ nf_max_texts = (int )getSettingWithDefault ('set-max-texts-per-feed ' );
6060 }
6161 $ texts = get_text_from_rsslink (
6262 $ doc , $ row ['NfArticleSectionTags ' ], $ row ['NfFilterTags ' ],
@@ -578,24 +578,35 @@ function dummy_function_2($currentlang, $currentfeed): void
578578 while ($ row = mysqli_fetch_assoc ($ result )) {
579579 echo '<tr> ' ;
580580 if ($ row ['TxID ' ]) {
581- echo '<td class="td1 center"><a href="do_text.php?start= ' . $ row ['TxID ' ] . '" ><img src="icn/book-open-bookmark.png" title="Read" alt="-" /></a> ' ;
581+ echo '<td class="td1 center"><a href="do_text.php?start= ' .
582+ $ row ['TxID ' ] . '" >
583+ <img src="icn/book-open-bookmark.png" title="Read" alt="-" /></a> ' ;
582584 } elseif ($ row ['AtID ' ]) {
583585 echo '<td class="td1 center"><span title="archived"><img src="icn/status-busy.png" alt="-" /></span> ' ;
584586 } elseif (!empty ($ row ['FlLink ' ]) && str_starts_with ($ row ['FlLink ' ], ' ' )) {
585- echo '<td class="td1 center"><img class="not_found" name=" ' . $ row ['FlID ' ] . '" title="download error" src="icn/exclamation-button.png" alt="-" /> ' ;
587+ echo '<td class="td1 center">
588+ <img class="not_found" name=" ' .
589+ $ row ['FlID ' ] .
590+ '" title="download error" src="icn/exclamation-button.png" alt="-" /> ' ;
586591 } else {
587- echo '<td class="td1 center"><input type="checkbox" class="markcheck" name="marked_items[]" value=" ' . $ row ['FlID ' ] . '" /> ' ;
592+ echo '<td class="td1 center"><input type="checkbox" class="markcheck" name="marked_items[]" value=" ' .
593+ $ row ['FlID ' ] . '" /> ' ;
588594 }
589595 echo '</td>
590596 <td class="td1 center">
591- <span title=" ' . htmlentities ($ row ['FlDescription ' ], ENT_QUOTES , 'UTF-8 ' , false ) . '"><b> ' . $ row ['FlTitle ' ] . '</b></span> ' ;
597+ <span title=" ' . htmlentities ($ row ['FlDescription ' ], ENT_QUOTES , 'UTF-8 ' , false ) . '"><b> ' .
598+ $ row ['FlTitle ' ] . '</b></span> ' ;
592599 if ($ row ['FlAudio ' ]) {
593- echo '<a href=" ' . $ row ['FlAudio ' ] . '" onclick="window.open(this.href, \'child \', \'scrollbars,width=650,height=600 \'); return false;"> <img src=" ' ; print_file_path ('icn/speaker-volume.png ' ); echo '" alt="-" /></a> ' ;
600+ echo '<a href=" ' . $ row ['FlAudio ' ] .
601+ '" onclick="window.open(this.href, \'child \', \'scrollbars,width=650,height=600 \'); return false;">
602+ <img src=" ' ; print_file_path ('icn/speaker-volume.png ' ); echo '" alt="-" /></a> ' ;
594603 }
595604 echo '</td>
596605 <td class="td1 center" style="vertical-align: middle"> ' ;
597606 if (!empty ($ row ['FlLink ' ]) && !str_starts_with (trim ($ row ['FlLink ' ]), '# ' )) {
598- echo '<a href=" ' . trim ($ row ['FlLink ' ]) . '" title=" ' . trim ($ row ['FlLink ' ]) . '" onclick="window.open( \'' . $ row ['FlLink ' ] . '\');return false;"><img src="icn/external.png" alt="-" /></a> ' ;
607+ echo '<a href=" ' . trim ((string ) $ row ['FlLink ' ]) . '" title=" ' .
608+ trim ($ row ['FlLink ' ]) . '" onclick="window.open( \'' . $ row ['FlLink ' ] . '\');return false;">
609+ <img src="icn/external.png" alt="-" /></a> ' ;
599610 }
600611 echo '</td><td class="td1 center"> ' . $ row ['FlDate ' ] . '</td></tr> ' ;
601612 }
0 commit comments