summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php
index f2ceceddd..8fb516598 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1117,6 +1117,11 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
<textarea name="wikitext" id="wiki__text" <?php echo $ro?> cols="80" rows="10" class="edit" tabindex="1"><?php echo "\n".formText($text)?></textarea>
+ <?php //bad and dirty event insert hook
+ $evdata = array('writable' => $wr);
+ trigger_event('HTML_EDITFORM_INJECTION', $evdata);
+ ?>
+
<div id="wiki__editbar">
<div id="size__ctl"></div>
<?php if($wr){?>