]> git.mjollnir.org Git - s9y.git/commitdiff
new hook by omid mottaghi
authorgarvinhicking <garvinhicking>
Mon, 14 Nov 2005 08:30:25 +0000 (08:30 +0000)
committergarvinhicking <garvinhicking>
Mon, 14 Nov 2005 08:30:25 +0000 (08:30 +0000)
serendipity_admin.php

index 39364e6007e2e2542635e8db8a8b484ba21e6b4c..228a2f1efa92d79f264a33bd8b2e88a1e575c62c 100644 (file)
@@ -114,9 +114,12 @@ if (!isset($serendipity['serendipityPath']) || IS_installed === false || IS_up2d
 
 
 } elseif ( serendipity_userLoggedIn() == false ) {
+        $out = array();
+        serendipity_plugin_api::hook_event('backend_login_page', $out);
 ?>
                 <td colspan="2" class="serendipityAdminContent">
                     <div align="center"><?php echo WELCOME_TO_ADMIN ?><br /><?php echo PLEASE_ENTER_CREDENTIALS ?></div>
+                    <?php echo $out['header']; ?>
                     <br />
                     <?php if ( isset($serendipity['POST']['action']) && !serendipity_userLoggedIn() ) { ?>
                     <div class="serendipityAdminMsgError"><?php echo WRONG_USERNAME_OR_PASSWORD; ?></div>
@@ -138,8 +141,10 @@ if (!isset($serendipity['serendipityPath']) || IS_installed === false || IS_up2d
                             <tr>
                                 <td colspan="2" align="right"><input type="submit" name="submit" value="<?php echo LOGIN ?> &gt;" class="serendipityPrettyButton" /></td>
                             </tr>
+                            <?php echo $out['table']; ?>
                         </table>
                     </form>
+                    <?php echo $out['footer']; ?>
                     <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>"><?php echo BACK_TO_BLOG;?></a>
 <?php