[svn r12377] minor - fix little bugs when viewing documents

skala
Julian Prud'homme 18 years ago
parent 6c4c8a109e
commit 286e5f4ab0
  1. 5
      main/document/headerpage.php
  2. 4
      main/document/showinframes.php

@ -27,8 +27,9 @@ $language_file = 'document';
}
$interbreadcrumb[]= array ("url"=>"./document.php?curdirpath=".dirname($_GET['file']).$req_gid, "name"=> $langDocuments);
Display::display_header($nameTools,"Doc");
$interbreadcrumb[]= array ("url"=>"showinframes.php?file=".$_GET['file'], "name"=> $_GET['file']);
Display::display_header(null,"Doc");
echo "<div align=\"center\">";
echo "<a href='".api_get_path('WEB_COURSE_PATH').$_course['path'].'/document'.$_GET['file']."?".api_get_cidreq()."' target='blank'>".$lang_cut_paste_link."</a></div>";

@ -1,4 +1,4 @@
<?php // $Id: showinframes.php 9246 2006-09-25 13:24:53Z bmol $
<?php // $Id: showinframes.php 12377 2007-05-11 08:56:44Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -75,7 +75,7 @@ header('Pragma: no-cache');
$browser_display_title = "Dokeos Documents - " . $_GET['cidReq'] . " - " . $_GET['file'];
//only admins get to see the "no frames" link in pageheader.php, so students get a header that's not so high
$frameheight = 120;
$frameheight = 130;
if($is_courseAdmin)
{
$frameheight = 150;

Loading…
Cancel
Save