From 9b8eb632d7b03e02db7664d3a29160d367cd2898 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 25 Sep 2013 15:30:53 +0200 Subject: [PATCH] Minor - format code --- main/cron/import_csv.php | 6 +- main/gradebook/index.php | 128 +++++++++++++++++++-------------------- 2 files changed, 68 insertions(+), 66 deletions(-) diff --git a/main/cron/import_csv.php b/main/cron/import_csv.php index 7ea40ada00..431b26eb3f 100644 --- a/main/cron/import_csv.php +++ b/main/cron/import_csv.php @@ -705,10 +705,12 @@ $import->run(); /* -$command = "sudo find ".api_get_path(SYS_COURSE_PATH)." -type d -exec chmod 777"; +$command = "sudo find ".api_get_path(SYS_COURSE_PATH)." -type d -exec chmod 777 {} \; "; +echo "Executing: ".$command.PHP_EOL; system($command); -$command = "sudo find ".api_get_path(SYS_CODE_PATH)."upload/users -type d -exec chmod 777"; +$command = "sudo find ".api_get_path(SYS_CODE_PATH)."upload/users -type d -exec chmod 777 {} \;"; +echo "Executing: ".$command.PHP_EOL; system($command); */ diff --git a/main/gradebook/index.php b/main/gradebook/index.php index d62927006c..ca1c4c9c57 100644 --- a/main/gradebook/index.php +++ b/main/gradebook/index.php @@ -45,7 +45,7 @@ $htmlHeadXtra[] = api_get_js('jqplot/jquery.jqplot.min.js'); $htmlHeadXtra[] = api_get_js('jqplot/plugins/jqplot.donutRenderer.min.js');*/ $htmlHeadXtra[] = '