Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用PHP-FineDiff,显示学生输出和标准答案的diff状态 #7

Open
sunner opened this issue Jun 30, 2011 · 3 comments
Open

Comments

@sunner
Copy link
Member

sunner commented Jun 30, 2011

调用https://github.com/gorhill/PHP-FineDiff/ ,将clients/mod/assignment/type/onlinejudge/details.php中$task[stdout]和$task[output]进行色彩加亮的diff显示

@moonner
Copy link

moonner commented Mar 22, 2012

结果就在details.php中显示么?

@moonner
Copy link

moonner commented Mar 22, 2012

调试的时候他说:
缺少必要的参数(task)

这个页面是干什么用的?这个参数从哪里来?
正常是怎么调用这个界面的?

@sunner
Copy link
Member Author

sunner commented Mar 23, 2012

对,结果就显示在details.php中。将来再增加折叠显示功能。

task参数是从别的网页传过来的,就是一个id。源码在那里,你分析分析然后模拟测试吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants