view dnd-library.tpl.php @ 8:b9cd179a30a8

Use user session for the drupal_http_request requesting the library. By default, drupal_http_request runs in a sandbox environment, thus the request doesn't have any idea about the current user. This in turn means that the request on the library is performed as an anonymous user, who may not have appropriate credentials to access the library.
author Franck Deroche <franck@defr.org>
date Wed, 01 Apr 2009 15:49:44 +0200
parents c2eb995212bf
children 7d6bf2dca269
line wrap: on
line source
<div id="<?php print $library_id; ?>" class="dnd-library-wrapper">
  <div class="header">
    <?php print $header; ?>
  </div>
  <div class="library">
    <?php print $library; ?>
  </div>
  <div class="footer">
    <?php print $footer; ?>
  </div>
</div>