[svn r18835] custom message for the teacher only

skala
Juan Carlos Raña 16 years ago
parent a30340ac73
commit c6505e4d77
  1. 9
      main/document/document.inc.php

@ -1,4 +1,4 @@
<?php // $Id: document.inc.php 18624 2009-02-20 18:31:55Z herodoto $
<?php // $Id: document.inc.php 18835 2009-03-06 20:58:59Z herodoto $
/*
==============================================================================
@ -249,8 +249,15 @@ function build_document_icon_tag($type, $path)
if($basename =='shared_folder')
{
$icon = 'shared_folder.gif';
if (api_is_allowed_to_edit())
{
$basename = get_lang('HelpSharedFolder');
}
else
{
$basename = get_lang('SharedFolder');
}
}
elseif(strstr($basename, 'sf_user_'))
{
$userinfo=Database::get_user_info_from_id(substr($basename,8));

Loading…
Cancel
Save