Source for file headerpage.php
Documentation is available at headerpage.php
==============================================================================
* @package dokeos.document
==============================================================================
// name of the language file that needs to be included
$language_file = 'document';
include('../inc/global.inc.php');
$path_array = array_map('urldecode',$path_array);
$header_file= implode('/',$path_array);
$nameTools = $header_file;
if(isset ($_SESSION['_gid']) && $_SESSION['_gid']!= '')
$req_gid = '&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"=> $langDocuments);
$interbreadcrumb[]= array ("url"=> "showinframes.php?file=". $header_file, "name"=> $header_file);
echo "<div align=\"center\">";
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>";
|