[svn r21483] FS#306 - The "Documents" tool: Fixing in two places direct use of language variables.

skala
Ivan Tcholakov 16 years ago
parent a280b7932c
commit 8ae5574247
  1. 4
      main/document/headerpage.php

@ -23,7 +23,7 @@ if(isset($_SESSION['_gid']) && $_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"=>"./document.php?curdirpath=".dirname($header_file).$req_gid, "name"=> get_lang('Documents'));
$interbreadcrumb[]= array ("url"=>"showinframes.php?file=".$header_file, "name"=>$header_file);
Display::display_header(null,"Doc");
@ -31,6 +31,6 @@ Display::display_header(null,"Doc");
echo "<div align=\"center\">";
$file_url_web='document_with_glossary_terms.php?file='.urlencode(Security::remove_XSS($_GET['file']));
$file_origin_url_web=api_get_path('WEB_COURSE_PATH').$_course['path'].'/document'.$header_file."?".api_get_cidreq();
echo "<a href='".$file_url_web."' target='blank'>".$lang_cut_paste_link."</a></div>";
echo "<a href='".$file_url_web."' target='blank'>".get_lang('_cut_paste_link')."</a></div>";
?>
Loading…
Cancel
Save