2010-03-17, 09:18:01
We should add another hook below the content area:
<p>
<label for="post-content" style="display:none;"><?php echo $i18n['LABEL_PAGEBODY']; ?></label>
<textarea class="set-example-text" id="post-content" rel="<?php echo $i18n['LABEL_PAGEBODY']; ?>" name="post-content"><?php echo @$content; ?></textarea>
</p>
<?php exec_action('edit-content'); ?>
or even better...make the label and textarea a core hook...so we can rewrite it..that would allow plugins to rewrite "page-types" on the fly...it would be a first step towards a CCK...major rock!
<p>
<label for="post-content" style="display:none;"><?php echo $i18n['LABEL_PAGEBODY']; ?></label>
<textarea class="set-example-text" id="post-content" rel="<?php echo $i18n['LABEL_PAGEBODY']; ?>" name="post-content"><?php echo @$content; ?></textarea>
</p>
<?php exec_action('edit-content'); ?>
or even better...make the label and textarea a core hook...so we can rewrite it..that would allow plugins to rewrite "page-types" on the fly...it would be a first step towards a CCK...major rock!