Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27360
Modified Files:
serendipity_config.inc.php
Log Message:
* Use constant matches for path names "admin|author" to be customizable
as before
* Tweak admin style to add some inner padding so that the characters
(when updating) are not thrown at the border
* Re-use "height: 100%" for the iframe. It looks butt-ugly when showing
the "entry saved" in a 10pixel high white border with 90pixel blue
around it...
* german translation
* remove unused serendipity_entries.php deployment file
Index: serendipity_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_config.inc.php,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- serendipity_config.inc.php 27 Nov 2004 22:14:12 -0000 1.104
+++ serendipity_config.inc.php 29 Nov 2004 09:55:09 -0000 1.105
@@ -72,6 +72,8 @@
@define('PATH_FEEDS', 'feeds');
@define('PATH_CATEGORIES', 'categories');
@define('PATH_PLUGIN', 'plugin');
+@define('PATH_ADMIN', 'admin');
+@define('PATH_AUTHOR', 'author');
@define('PATH_SMARTY_COMPILE', 'templates_c'); // will be placed inside the template directory
/* URI patterns
@@ -86,7 +88,7 @@
@define('PAT_COMMENTSUB', '@/([0-9]+)[_\-][' . PAT_FILENAME . ']*\.html@i');
@define('PAT_FEEDS', '@/'.PATH_FEEDS.'/@');
@define('PAT_FEED', '@/(index|atom|rss|b2rss|b2rdf).(rss|rdf|rss2|xml)$@');
-@define('PAT_ADMIN', '@/(admin|author)(/.+)?@');
+@define('PAT_ADMIN', '@/(' . PATH_ADMIN . '|' . PATH_AUTHOR . ')(/.+)?@');
@define('PAT_ARCHIVE', '@/'.PATH_ARCHIVE.'$@');
@define('PAT_CATEGORIES', '@/'.PATH_CATEGORIES.'/([0-9]+)@');
@define('PAT_PLUGIN', '@/' . PATH_PLUGIN . '/(.*)@');
|