From 0cf05f76603f54b677901f126b95ac295989a77d Mon Sep 17 00:00:00 2001 From: vbracco Date: Fri, 31 Oct 2008 20:24:49 +0000 Subject: [PATCH] added PostConfirmation plugin --- admin/index.php | 4 +++- admin/themes/admin/index.htm | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/admin/index.php b/admin/index.php index bf5ae93..8908d61 100644 --- a/admin/index.php +++ b/admin/index.php @@ -102,7 +102,9 @@ if ($user->isAuthenticated()) { if ($isEdition) { $post = $tumble->getPost($postId); } - + $admin_includes = ""; + $trigger->call('admin_includes'); + $theme->set('admin_includes',$admin_includes); $theme->set('version',version()); $theme->set('conf', array( 'urlGelato'=>$conf->urlGelato, diff --git a/admin/themes/admin/index.htm b/admin/themes/admin/index.htm index be99ca6..d9c8526 100644 --- a/admin/themes/admin/index.htm +++ b/admin/themes/admin/index.htm @@ -38,6 +38,7 @@ @import "{conf.urlGelato}/admin/css/style.css"; @import "{conf.urlGelato}/admin/css/lightbox.css"; + {admin_includes} @@ -89,7 +90,7 @@

- +