Browse Source

Minor - changing target.

Julio Montoya 10 years ago
parent
commit
77ae54a183
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugin/courselegal/CourseLegalPlugin.php

+ 2 - 1
plugin/courselegal/CourseLegalPlugin.php

@@ -448,7 +448,8 @@ class CourseLegalPlugin extends Plugin
             if (file_exists($file)) {
                 return Display::url(
                     $data['filename'],
-                    api_get_path(WEB_COURSE_PATH).$course['directory'].'/courselegal/'.$data['filename']
+                    api_get_path(WEB_COURSE_PATH).$course['directory'].'/courselegal/'.$data['filename'],
+                    array('_target' => '_blank')
                 );
             }
         }