Removing quota link in document tools see #3056

skala
Julio Montoya 14 years ago
parent 4a22251944
commit ef7cc1ea63
  1. 7
      main/document/document.php
  2. 1
      main/document/quota.php

@ -969,13 +969,6 @@ if ($is_allowed_to_edit || $group_member_with_upload_rights || is_my_shared_fold
?>
<a href="<?php echo api_get_self(); ?>?<?php echo api_get_cidreq(); ?>&amp;curdirpath=<?php echo $curdirpathurl.$req_gid; ?>&amp;createdir=1">
<?php Display::display_icon('new_folder.png', get_lang('CreateDir'),'','32'); ?></a>
<?php
}
//Show disk quota
if (!$is_certificate_mode && !is_my_shared_folder(api_get_user_id(), $curdirpath, $current_session_id)) {
?>
<a href="quota.php?<?php echo api_get_cidreq(); ?>">
<?php Display::display_icon('disk_quota.png', get_lang('ShowCourseQuotaUse'),'','32'); ?></a>
<?php
}
}

@ -11,6 +11,7 @@
*/
// Name of the language file that needs to be included
exit;
$language_file = 'document';
// Including the global dokeos file

Loading…
Cancel
Save