Update of /cvsroot/php-blog/serendipity/include/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23230
Modified Files:
plugins.inc.php
Log Message:
- Move plugin status message to the top of the page
Index: plugins.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/admin/plugins.inc.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- plugins.inc.php 1 Feb 2005 17:05:09 -0000 1.19
+++ plugins.inc.php 1 Feb 2005 17:12:48 -0000 1.20
@@ -271,9 +271,13 @@
}
$plugin->cleanup();
- $statusMsg = sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%T'));
}
?>
+
+<?php if ( isset($_POST['SAVECONF']) ) { ?>
+ <div class="serendipityAdminMsgSuccess"><?php echo DONE .': '. sprintf(SETTINGS_SAVED_AT, serendipity_strftime('%T')); ?></div>
+<?php } ?>
+
<form method="post" name="serendipityPluginConfigure">
<table cellpadding="5" style="border: 1px dashed" width="90%" align="center">
<tr>
@@ -481,11 +485,6 @@
<br />
<div style="padding-left: 20px">
<input type="submit" name="SAVECONF" value="<?php echo SAVE; ?>" />
-<?php
- if (isset($_POST['SAVECONF'])) {
- echo '<span class="serendipityAdminMsgSuccess">' . DONE . ': '. $statusMsg .'</span>';
- }
-?>
</div>
<?php
if (method_exists($plugin, 'example') ) {
|