dokeos-document
[ class tree: dokeos-document ] [ index: dokeos-document ] [ all elements ]

Source for file headerpage.php

Documentation is available at headerpage.php

  1. <?php
  2. /**
  3. ==============================================================================
  4. *    @package dokeos.document
  5. ==============================================================================
  6. */
  7.     // name of the language file that needs to be included
  8. $language_file 'document';
  9.  
  10.  
  11.     include('../inc/global.inc.php');
  12.     $noPHP_SELF=true;
  13.     $header_fileSecurity::remove_XSS($_GET['file']);    
  14.     $path_array=explode('/',str_replace('\\','/',$header_file));
  15.     $path_array array_map('urldecode',$path_array);
  16.     
  17.     $header_file=implode('/',$path_array);
  18.  
  19.     $nameTools $header_file;
  20.  
  21.     if(isset($_SESSION['_gid']&& $_SESSION['_gid']!='')
  22.     {
  23.         $req_gid '&amp;gidReq='.$_SESSION['_gid'];
  24.         $interbreadcrumb[]array ("url"=>"../group/group_space.php?gidReq=".$_SESSION['_gid']"name"=> get_lang('GroupSpace'));
  25.     }
  26.  
  27.     $interbreadcrumb[]array ("url"=>"./document.php?curdirpath=".dirname($header_file).$req_gid"name"=> $langDocuments);
  28.     $interbreadcrumb[]array ("url"=>"showinframes.php?file=".$header_file"name"=>$header_file);
  29.     
  30.     Display::display_header(null,"Doc");
  31.  
  32.     echo "<div align=\"center\">";
  33.     echo "<a href='".api_get_path('WEB_COURSE_PATH').$_course['path'].'/document'.$header_file."?".api_get_cidreq()."' target='blank'>".$lang_cut_paste_link."</a></div>";
  34.  
  35. ?>

Documentation generated on Thu, 12 Jun 2008 13:38:38 -0500 by phpDocumentor 1.4.1