コード例 #1
0
ファイル: editlang.php プロジェクト: bitweaver/phpgedview
                        echo "<tr><td colspan=\"2\" class=\"facts_value\">", $pgv_lang["no_additions"], "</td></tr>";
                    }
                    echo "</table><br /><br />";
                    // ---- Look for subtractions
                    //      These are entries that exist in the second but don't exist in the first file
                    echo "<span class=\"subheaders\">", $pgv_lang["subtractions"], ":</span>";
                    echo "<table class=\"facts_table {$TEXT_DIRECTION}\">";
                    $count = 0;
                    foreach ($list2 as $key => $value) {
                        $key2 = str_replace('"', "'", $key);
                        // Var name could be enclosed in apostrophes
                        $key3 = str_replace("'", '"', $key);
                        // Var name could be enclosed in apostrophes
                        if (!array_key_exists($key, $list1) && !array_key_exists($key2, $list1) && !array_key_exists($key3, $list1)) {
                            echo "<tr><td class=\"facts_label\">", $key, "</td>";
                            echo "<td class=\"facts_value\">", mask_all($value), "</td></tr>";
                            $count++;
                        }
                    }
                    if ($count == 0) {
                        echo "<tr><td colspan=\"2\" class=\"facts_value\">", $pgv_lang["no_subtractions"], "</td></tr>";
                    }
                    echo "</table><br /><br />";
                    echo "<img src=\"", $PGV_IMAGE_DIR, "/", $PGV_IMAGES["hline"]["other"], "\" width=\"100%\" height=\"6\" alt=\"\" /><br />";
                }
            }
        }
        break;
    default:
        ?>
	<br />
コード例 #2
0
 echo '</td>';
 echo '</tr>';
 if ($Write_Ok) {
     echo '<tr>';
     echo '<td class="facts_value" style="text-align:center; color: blue" >';
     echo '<strong style="color: red">|</strong>', mask_all(find_in_file($ls01, $lang_filename_orig)), '<strong style="color: red">|</strong>';
     echo '</td>';
     echo '</tr>';
 }
 echo '</table>';
 if ($Write_Ok) {
     echo '<br />';
     echo '<table class="facts_table">';
     echo '<tr><td class="facts_label03" style="color: blue; font-weight: bold; ">', print_text("changed_message"), '</td></tr>';
     echo '<tr><td class="facts_value" style="text-align:center; color: blue" >';
     echo '<strong style="color: red; ">|</strong>', mask_all($new_message), '<strong style="color: red">|</strong>';
     echo '</td></tr>';
     echo '</table>';
     echo '<br />';
 }
 echo '<table class="facts_table">';
 echo '<tr><td class="facts_value" style="text-align:center; " >';
 srand((double) microtime() * 1000000);
 // These 3 hidden variables has to be set or there will be a PHP ERROR message
 echo '<input type="hidden" name="language2" value="', $language2, '"/>';
 echo '<input type="hidden" name="file_type" value="', $file_type, '"/>';
 echo '<input type="hidden" name="ls01" value="', $ls01, '"/>';
 echo '<input type="submit" value="', $pgv_lang["close_window"], "\" onclick=\"window.opener.showchanges('&dv=", rand(), "#", $anchor, "'); self.close();\" />";
 echo '</td></tr>';
 if ($Write_Ok) {
     echo '<tr><td class="facts_value" style="text-align:center; " ><br /><br />';
コード例 #3
0
     print "<strong style=\"color: red\">|</strong>" . mask_all(find_in_file($ls01, $lang_filename_orig)) . "<strong style=\"color: red\">|</strong>";
     print "</td>";
     print "</tr>";
 }
 print "</table>";
 if ($Write_Ok) {
     print "<br />";
     print "<table class=\"facts_table\">";
     print "<tr>";
     print "<td class=\"facts_label03\" style=\"color: blue; font-weight: bold; \">";
     print_text("changed_message");
     print "</td>";
     print "</tr>";
     print "<tr>";
     print "<td class=\"facts_value\" style=\"text-align:center; color: blue\" >";
     print "<strong style=\"color: red; \">|</strong>" . mask_all($new_message) . "<strong style=\"color: red\">|</strong>";
     print "</td>";
     print "</tr>";
     print "</table>";
     print "<br />";
 }
 print "<table class=\"facts_table\">";
 print "<tr>";
 print "<td class=\"facts_value\" style=\"text-align:center; \" >";
 srand((double) microtime() * 1000000);
 print "<input type=\"submit\" value=\"" . $pgv_lang["close_window"] . "\"" . " onclick=\"window.opener.showchanges('&dv=" . rand() . "#" . $anchor . "'); self.close();\" />";
 print "</td>";
 print "</tr>";
 if ($Write_Ok) {
     print "<tr>";
     print "<td class=\"facts_value\" style=\"text-align:center; \" >";