Mercurial > defr > drupal > scald > dnd
diff modules/dnd_test/dnd_test.module @ 31:767ebf925654
Added forcecontainer tinymce plugin, lots and lots and lots of refactorizing.
author | David Eads <eads@chicagotech.org> |
---|---|
date | Thu, 19 Mar 2009 15:58:36 -0500 |
parents | 2d49adbd8992 |
children |
line wrap: on
line diff
--- a/modules/dnd_test/dnd_test.module Tue Mar 17 21:29:00 2009 -0500 +++ b/modules/dnd_test/dnd_test.module Thu Mar 19 15:58:36 2009 -0500 @@ -53,6 +53,14 @@ 'arguments' => array('i' => NULL), 'template' => 'dnd-library-preview', ), + 'dnd_library_header' => array( + 'arguments' => array('page' => NULL), + 'template' => 'dnd-library-header', + ), + 'dnd_library_footer' => array( + 'arguments' => array('page' => NULL), + 'template' => 'dnd-library-footer', + ), ); } @@ -80,6 +88,8 @@ $editor_representations += dnd_editor_items($i); $library_previews['dnd-test-'. $i] = theme('dnd_library_preview', $i); } + $library .= theme('dnd_library_footer', $page); + return array( 'library' => $library, 'editor_representations' => $editor_representations, @@ -162,3 +172,5 @@ } function template_preprocess_dnd_library_header(&$variables) {} + +function template_preprocess_dnd_library_footer(&$variables) {}