post by tommy @ 04 四月, 2007 21:51
新增 TinyMCE 的 insertcode 外掛, 並修正某些外掛無法使用 gzip 壓縮的問題.
tiny_mce_gzip.php 在壓縮時需有 editor_plugin_src.js, 不能只有 editor_plugin.js 這個檔案.
insertcode 外掛程式經修改後, 目前似乎運作正常了.
- PHP
<?php
/*
test for php
*/
// include
include "config.php";
$x = 123;
$s = "456";
// echo this <br>
echo $s;
?>
- C
#include <stdio.h>
/*
test for C
*/
int main(int argc, char *argv[])
{
int x = 123;
char buf[10] = "456";
// test for <br>
printf("%d %s\n", x, buf);
return 0;
}
測試是否正常運作.