]> git.mjollnir.org Git - s9y.git/commitdiff
allow plugins to output stuff on admin header
authorgarvinhicking <garvinhicking>
Mon, 30 Jan 2006 09:29:37 +0000 (09:29 +0000)
committergarvinhicking <garvinhicking>
Mon, 30 Jan 2006 09:29:37 +0000 (09:29 +0000)
docs/NEWS
serendipity_admin.php

index 7192cba4a3c6c73eaf3fbba37972070bab80d2c6..4c1d61f7c328db8e83f022dcd7219d27f414bde4 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,21 @@
 Version 1.0-beta2 ()
 ------------------------------------------------------------------------
 
+   * Modified plugin API to allow deactivating the output of plugin
+     sidebars (garvinhicking)
+
+   * Adjust the function serendipity_currentURL() to properly return
+     path components without doubling any of them (garvinhicking)
+
+   * Fix serendipity_event_mailer plugin to also work when being called
+     from posting plugins like XMLRPC, popfetcher etc. (garvinhicking)
+
+   * Make templatechooser plugin store the selected template in a cookie
+     (garvinhicking)
+
+   * Added new hook "backend_header" for plugins to emit output in the
+     header section of the admin interface. (garvinhicking)
+
    * Added experimental MySQL5 "SET NAMES" support. Needs to be enabled
      by setting $serendipity['dbNames'] = true somehwere (like
      serendipity_config_local.inc.php) (garvinhicking)
index 0935b6b7fabdebf54789c7ac3650e3c38bf40823..b05ad5f176e6cdf0c4c4c4cb4e388f7570903c62 100644 (file)
@@ -77,6 +77,11 @@ if (serendipity_is_iframe()) {
         }
 
         </script>
+<?php
+    if (defined('IS_up2date') && IS_up2date === true) {
+        serendipity_plugin_api::hook_event('backend_header', $serendipity);
+    }
+?>
     </head>
     <body id="serendipity_admin_page" onload="spawn()">
         <table cellspacing="0" cellpadding="0" border="0" id="serendipityAdminFrame">