Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1759/include
Modified Files:
functions_entries.inc.php
Log Message:
add form toolbar event hooks, used by emoticonchooser plugin
Index: functions_entries.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_entries.inc.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- functions_entries.inc.php 16 Dec 2004 15:03:29 -0000 1.26
+++ functions_entries.inc.php 17 Dec 2004 10:33:46 -0000 1.27
@@ -1327,6 +1327,8 @@
<input type="button" value="<?php echo MEDIA; ?>" onclick="window.open('serendipity_admin_image_selector.php?serendipity[textarea]=body', 'ImageSel', 'width=800,height=600,toolbar=no');">
<input type="button" value="Link" onclick="serendipity_insLink(document.forms['serendipityEntry']['serendipity[body]'])">
<?php }
+
+ serendipity_plugin_api::hook_event('backend_entry_toolbar_body', $entry);
} else {
?>
<td colspan="3"><b><?php echo ENTRY_BODY; ?></b>
@@ -1355,6 +1357,7 @@
</td>
</tr>
</table>
+ <br />
</td>
</tr>
@@ -1390,6 +1393,8 @@
<input type="button" value="Link" onclick="serendipity_insLink(document.forms['serendipityEntry']['serendipity[extended]'])">
<?php
}
+
+ serendipity_plugin_api::hook_event('backend_entry_toolbar_extended', $entry);
?>
</div>
<?php } ?>
|