From 2c303fd7d489023808b8cbb63a910a15b263656f Mon Sep 17 00:00:00 2001 From: MascoSkray Date: Tue, 25 Apr 2017 14:11:29 +0800 Subject: [PATCH] fix: fix a link failure and change some usage on managing problem data The svn address link is missing, we fix it. Removed zip upload on the middle. You can now show & send SVN password. --- uoj/1/app/controllers/problem_data_manage.php | 33 ++++++------------- 1 file changed, 10 insertions(+), 23 deletions(-) diff --git a/uoj/1/app/controllers/problem_data_manage.php b/uoj/1/app/controllers/problem_data_manage.php index 860bb2f..c84b2d4 100644 --- a/uoj/1/app/controllers/problem_data_manage.php +++ b/uoj/1/app/controllers/problem_data_manage.php @@ -1,4 +1,3 @@ - ', htmlspecialchars($file_name), ' ', 'file not found', ''; + echo '

', htmlspecialchars($file_name), ' ', '文件未找到', '

'; } function echoFilePre($file_name) { global $data_dir; @@ -70,8 +69,6 @@ EOD; } - //edit by dhxh begin - //上传数据 if($_POST['problem_data_file_submit']=='submit'){ if ($_FILES["problem_data_file"]["error"] > 0){ @@ -148,9 +145,6 @@ EOD; } - //dhxh end - - $info_form = new UOJForm('info'); $http_host = HTML::escape(UOJContext::httpHost()); //$download_url = HTML::escape(HTML::url("/download.php?type=problem&id={$problem['id']}")); @@ -160,11 +154,11 @@ EOD;
-
您的SVN密码:{$myUser['svn_password']}
-

svn://{$http_host}/problem/{$problem['id']}

+ + svn://{$http_host}/problem/{$problem['id']}
- + -