view dnd_test/dnd-library-preview.tpl.php @ 24:4f58fa0a9a6d

Cleaned up some library behavior, changed editor representation cache to track a title and a body for representations, to allow a little more dynamic composition.
author David Eads <eads@chicagotech.org>
date Wed, 11 Mar 2009 01:47:57 -0500
parents 69db20fdbac2
children
line wrap: on
line source
<div class="dnd-editor-preview" id="<?php print $id; ?>">
  <h2 class="title">
    <?php print $title; ?>
  </h2>

  <div class="media-meta">
    <div class="description">
      <?php print $description; ?>
    </div>
    <div class="attribution">
      <span class="author"><?php print $author; ?></span> | 
      <span class="date"><?php print $date; ?></span>
    </div>
  </div>

  <div class="media-preview">
    <?php print $image; ?>
  </div>

</div>