@@ -912,34 +912,37 @@ function edit_texts_show_text_row($txrecord, $currentlang, $statuses)
912912 } else {
913913 $ audio = '' ;
914914 }
915- echo '<tr>
915+
916+ ?>
917+ <tr>
916918 <td class="td1 center">
917- <a name="rec ' . $ txid . ' ">
918- <input name="marked[]" class="markcheck" type="checkbox" value=" ' . $ txid . ' " ' . checkTest ($ txid , 'marked ' ) . ' />
919+ <a name="rec<?php echo $ txid; ?> ">
920+ <input name="marked[]" class="markcheck" type="checkbox" value="<?php echo $ txid; ?> " <?php echo checkTest ($ txid , 'marked ' ); ?> />
919921 </a>
920922 </td>
921923 <td nowrap="nowrap" class="td1 center">
922- <a href="do_text.php?start= ' . $ txid . ' ">
924+ <a href="do_text.php?start=<?php echo $ txid; ?> ">
923925 <img src="icn/book-open-bookmark.png" title="Read" alt="Read" />
924926 </a>
925- <a href="do_test.php?text= ' . $ txid . ' ">
927+ <a href="do_test.php?text=<?php echo $ txid; ?> ">
926928 <img src="icn/question-balloon.png" title="Test" alt="Test" />
927929 </a>
928930 </td>
929931 <td nowrap="nowrap" class="td1 center">
930- <a href="print_text.php?text= ' . $ txid . ' ">
932+ <a href="print_text.php?text=<?php echo $ txid; ?> ">
931933 <img src="icn/printer.png" title="Print" alt="Print" />
932934 </a>
933- <a href=" ' . $ _SERVER ['PHP_SELF ' ] . ' ? arch=' . $ txid . ' ">
935+ <a href="<?php echo $ _SERVER ['PHP_SELF ' ]; ?> ? arch=<?php echo $ txid; ?> ">
934936 <img src="icn/inbox-download.png" title="Archive" alt="Archive" />
935937 </a>
936- <a href=" ' . $ _SERVER ['PHP_SELF ' ] . ' ? chg=' . $ txid . ' ">
938+ <a href="<?php echo $ _SERVER ['PHP_SELF ' ]; ?> ? chg=<?php echo $ txid; ?> ">
937939 <img src="icn/document--pencil.png" title="Edit" alt="Edit" />
938940 </a>
939- <span class="click" onclick="if (confirmDelete()) location.href= \'' . $ _SERVER ['PHP_SELF ' ] . ' ? del=' . $ txid . ' \';">
941+ <span class="click" onclick="if (confirmDelete()) location.href=\'<?php echo $ _SERVER ['PHP_SELF ' ]; ?> ? del=<?php echo $ txid; ?> \';">
940942 <img src="icn/minus-button.png" title="Delete" alt="Delete" />
941943 </span>
942- </td> ' ;
944+ </td>
945+ <?php
943946 if ($ currentlang == '' ) {
944947 echo '<td class="td1 center"> ' . tohtml ($ txrecord ['LgName ' ]) . '</td> ' ;
945948 }
@@ -962,29 +965,31 @@ function edit_texts_show_text_row($txrecord, $currentlang, $statuses)
962965 }
963966 echo '</td> ' ;
964967
965- echo '<!-- total + composition -->
968+ ?>
969+ <!-- total + composition -->
966970 <td class="td1 center">
967- <span title="Total" id="total_ ' . $ txid . ' "></span>
971+ <span title="Total" id="total_<?php echo $ txid; ?> "></span>
968972 </td>
969973 <td class="td1 center">
970- <span title="Saved" data_id=" ' . $ txid . ' ">
971- <a class="status4" id="saved_ ' . $ txid . ' "
972- href="edit_words.php?page=1&query=&status=&tag12=0&tag2=&tag1=&text_mode=0&text= ' . $ txid . ' ">
974+ <span title="Saved" data_id="<?php echo $ txid; ?> ">
975+ <a class="status4" id="saved_<?php echo $ txid; ?> "
976+ href="edit_words.php?page=1&query=&status=&tag12=0&tag2=&tag1=&text_mode=0&text=<?php echo $ txid; ?> ">
973977 </a>
974978 </span>
975979 </td>
976980 <!-- unknown count -->
977981 <td class="td1 center">
978- <span title="Unknown" class="status0" id="todo_ ' . $ txid . ' "></span>
982+ <span title="Unknown" class="status0" id="todo_<?php echo $ txid; ?> "></span>
979983 </td>
980984 <!-- unknown percent (added) -->
981985 <td class="td1 center">
982- <span title="Unknown (%)" id="unknownpercent_ ' . $ txid . ' "></span>
986+ <span title="Unknown (%)" id="unknownpercent_<?php echo $ txid; ?> "></span>
983987 </td>
984988 <!-- chart -->
985989 <td class="td1 center">
986990 <ul class="barchart">';
987991
992+ <?php
988993 $ i = array (0 ,1 ,2 ,3 ,4 ,5 ,99 ,98 );
989994 foreach ($ i as $ cnt ) {
990995 echo '<li class="bc ' . $ cnt .
@@ -993,9 +998,11 @@ function edit_texts_show_text_row($txrecord, $currentlang, $statuses)
993998 <span id="stat_ ' . $ cnt . '_ ' . $ txid .'">0</span>
994999 </li> ' ;
9951000 }
996- echo ' </ul>
1001+ ?>
1002+ </ul>
9971003 </td>
998- </tr> ' ;
1004+ </tr>
1005+ <?php
9991006}
10001007
10011008/**
0 commit comments