page.list.php 411 B

12345678
  1. <?php
  2. global $conf,$myUser;
  3. User::check_access('document','read');
  4. require_once(__DIR__.SLASH.'Element.class.php');
  5. ?>
  6. <div id="document-container" data-right-edit="<?php echo $myUser->can('document', 'edit')?'true':'false' ?>" data-right-delete="<?php echo $myUser->can('document', 'delete')?'true':'false' ?>" data-right-permission="<?php echo $myUser->can('document', 'configure')?'true':'false' ?>"></div>