Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue committed Jan 30, 2017
1 parent 3be4adf commit d52ce82
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion trunk/web/lang/cn.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,6 @@
$MSG_SOURCE_NOT_ALLOWED_FOR_EXAM="考试期间,不能查阅以前提交的代码。";
$MSG_BBS_NOT_ALLOWED_FOR_EXAM="考试期间,讨论版禁用。";
$MSG_MAIL_NOT_ALLOWED_FOR_EXAM="考试期间,内邮禁用。";
$MSG_LOAD_TEMPLATE_CONFIRM="是否加载默认模板?\n 如果选择是,当前代码将被覆盖!";
$MSG_LOAD_TEMPLATE_CONFIRM="是否加载默认模板?\\n 如果选择是,当前代码将被覆盖!";

?>
2 changes: 1 addition & 1 deletion trunk/web/lang/en.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@
$MSG_SOURCE_NOT_ALLOWED_FOR_EXAM="You can't browse early code during examing 。";
$MSG_BBS_NOT_ALLOWED_FOR_EXAM="You can't use bbs during examing 。";
$MSG_MAIL_NOT_ALLOWED_FOR_EXAM="You can't use mail during examing 。";
$MSG_LOAD_TEMPLATE_CONFIRM="Do you want to reload template?\n You may lost all code that you've typed here!";
$MSG_LOAD_TEMPLATE_CONFIRM="Do you want to reload template?\\n You may lost all code that you've typed here!";

?>
3 changes: 2 additions & 1 deletion trunk/web/template/bs3/js.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
-->
<script>
$(document).ready(function(){
var msg="<marquee id=broadcast scrollamount=1 scrolldelay=50 onMouseOver='this.stop()' onMouseOut='this.start()' class=toprow><?php echo str_replace("\r\n", '', $view_marquee_msg); ?></marquee>";
var msg="<marquee id=broadcast scrollamount=1 scrolldelay=50 onMouseOver='this.stop()'"+
" onMouseOut='this.start()' class=toprow>"+<?php echo json_encode($view_marquee_msg); ?>+"</marquee>";
$(".jumbotron").prepend(msg);
$("form").append("<div id='csrf' />");
$("#csrf").load("csrf.php");
Expand Down
2 changes: 1 addition & 1 deletion trunk/web/template/bs3/submitpage.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<?php echo $view_sample_output?>
</textarea>
<br>
<input id=Submit class="btn btn-info" type=button value="<?php echo $MSG_SUBMIT?>" onclick=do_submit();>
<input id=Submit class="btn btn-info" type=button value="<?php echo $MSG_SUBMIT?>" onclick="do_submit();" >
<input id=TestRun class="btn btn-info" type=button value="<?php echo $MSG_TR?>" onclick=do_test_run();><span class="btn" id=result>状态</span>
<input type=reset class="btn btn-danger" >
</form>
Expand Down

0 comments on commit d52ce82

Please sign in to comment.