Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8240
Modified Files:
serendipity_functions.inc.php NEWS
Log Message:
Added note when using wrong username or password to gain access to admin/author suite
Need translations
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -d -r1.205 -r1.206
--- serendipity_functions.inc.php 13 Feb 2004 18:25:33 -0000 1.205
+++ serendipity_functions.inc.php 13 Feb 2004 18:34:13 -0000 1.206
@@ -62,6 +62,13 @@
?>
<td class="serendipity_admin">
<div class="serendipity_auth_required">
+<?php
+ if ( isset($serendipity['POST']['action']) && !serendipity_userLoggedIn() ) {
+?>
+ <div align="center" style="color: #FF0000; font-weight: bold;"><?php echo WRONG_USERNAME_OR_PASSWORD; ?></div>
+<?php
+ }
+?>
<form action="?" method="post">
<input type="hidden" name="serendipity[action]" value="admin" />
<table cellspacing="3" cellpadding="0" border="0" align="center">
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- NEWS 13 Feb 2004 16:50:39 -0000 1.66
+++ NEWS 13 Feb 2004 18:34:13 -0000 1.67
@@ -2,6 +2,8 @@
Version 0.5.1 ()
------------------------------------
+ * Added notice when using a wrong username or password to gain access to admin/author suites (tomsommer)
+ * Added date & time translation using strftime() and setlocale() (tomsommer)
* HTML Validator event plugin. Can be used to validate your entry upon preview (garvinhicking)
* Create example events: mailer, weblogping, contentrewrite, eventwrapper (garvinhicking)
* Created event plugin API to hook on certain serendipity actions (garvinhicking)
|