2 /************************************************************************/
\r
4 /************************************************************************/
\r
5 /* Copyright (c) 2010 */
\r
6 /* Inclusive Design Institute */
\r
8 /* This program is free software. You can redistribute it and/or */
\r
9 /* modify it under the terms of the GNU General Public License */
\r
10 /* as published by the Free Software Foundation. */
\r
11 /************************************************************************/
\r
13 define('TR_INCLUDE_PATH', '../include/');
\r
14 require(TR_INCLUDE_PATH.'vitals.inc.php');
\r
17 if (defined('TR_FORCE_GET_FILE') && TR_FORCE_GET_FILE) {
\r
18 $get_file = TR_BASE_HREF.'get.php/';
\r
20 $get_file = TR_BASE_HREF.'content/' . $_course_id . '/';
\r
24 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
\r
25 <html lang="<?php echo $myLang->getCode(); ?>">
\r
27 <title><?php echo _AT('file_manager_frame'); ?></title>
\r
28 <meta http-equiv="Content-Type" content="text/html; <?php echo $myLang->getCharacterSet(); ?>" />
\r
34 <a href="index.php?framed=<?php echo SEP; ?>popup=<?php echo SEP; ?>pathext=<?php echo $_GET['pathext'].SEP . 'popup=' . $_GET['popup'] . SEP . 'framed=' . $_GET['framed'].SEP.'_course_id='.$_course_id; ?>" target="_top"><?php echo _AT('return_file_manager'); ?></a>
\r
35 <?php if (defined('TR_FORCE_GET_FILE') && TR_FORCE_GET_FILE): ?>
\r
37 <a href="<?php echo $get_file; ?>@/<?php echo $_GET['file']; ?>" target="_top"><?php echo _AT('download_file'); ?></a>
\r
39 <a href="<?php echo $get_file; ?><?php echo $_GET['file']; ?>" target="_top"><?php echo _AT('remove_frame'); ?></a>
\r