Browse Source

Remove unused files.

Julio Montoya 10 years ago
parent
commit
84ad88835d
2 changed files with 0 additions and 59 deletions
  1. 0 23
      main/document/footerpage.php
  2. 0 36
      main/document/headerpage.php

+ 0 - 23
main/document/footerpage.php

@@ -1,23 +0,0 @@
-<?php
-/* For licensing terms, see /license.txt */
-/**
- *	@package chamilo.document
- *	TODO: There is no indication that this file us used for something.
- */
-
-require_once '../inc/global.inc.php';
-
-$my_style = api_get_visual_theme();
-
-?><!DOCTYPE html
-     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo api_get_language_isocode(); ?>" lang="<?php echo api_get_language_isocode(); ?>">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=<?php echo api_get_system_encoding(); ?>" />
-<link rel="stylesheet" href="<?php echo api_get_path(WEB_CSS_PATH).$my_style; ?>/default.css" type="text/css">
-</head>
-<body dir="<?php echo api_get_text_direction(); ?>">
-<?php
-
-Display::display_footer();

+ 0 - 36
main/document/headerpage.php

@@ -1,36 +0,0 @@
-<?php
-/* For licensing terms, see /license.txt */
-
-/**
- *	@package chamilo.document
- */
-
-// Name of the language file that needs to be included
-exit;
-require_once '../inc/global.inc.php';
-
-$noPHP_SELF = true;
-$header_file = Security::remove_XSS($_GET['file']);
-$path_array = explode('/', str_replace('\\', '/', $header_file));
-$path_array = array_map('urldecode', $path_array);
-$header_file = implode('/', $path_array);
-$nameTools = $header_file;
-
-if (isset($_SESSION['_gid']) && $_SESSION['_gid'] != '') {
-	$req_gid = '&amp;gidReq='.$_SESSION['_gid'];
-	$interbreadcrumb[] = array('url' => '../group/group_space.php?gidReq='.$_SESSION['_gid'], 'name' => get_lang('GroupSpace'));
-}
-
-$interbreadcrumb[] = array('url' => './document.php?curdirpath='.dirname($header_file).$req_gid, 'name' => get_lang('Documents'));
-$interbreadcrumb[] = array('url' => 'showinframes.php?file='.$header_file, 'name' => $header_file);
-$file_url_sys = api_get_path(SYS_COURSE_PATH).'document'.$header_file;
-
-$this_section = SECTION_COURSES;
-
-Display::display_header(null, 'Doc');
-echo '<div align="center">';
-$file_url_web = api_get_path(WEB_COURSE_PATH).$_course['path'].'/document'.$header_file.'?'.api_get_cidreq();
-echo "<h1>";
-echo '<a href="'.$file_url_web.'" target="blank">'.get_lang('CutPasteLink').'</a></div>';
-
-echo "</h1>";