Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27360/include
Modified Files:
functions_entries.inc.php plugin_internal.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: plugin_internal.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/plugin_internal.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- plugin_internal.inc.php 28 Nov 2004 09:15:30 -0000 1.10
+++ plugin_internal.inc.php 29 Nov 2004 09:55:11 -0000 1.11
@@ -751,7 +751,7 @@
$base = $serendipity['serendipityHTTPPath'];
}
- $link = $base . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] .'?/' : '') . 'admin';
+ $link = $base . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] .'?/' : '') . PATH_ADMIN;
$text = (($_SESSION['serendipityAuthedUser'] === true) ? SUPERUSER_OPEN_ADMIN : SUPERUSER_OPEN_LOGIN);
echo '<a href="' . $link . '" title="'. $text .'">'. $text .'</a>';
}
Index: functions_entries.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_entries.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- functions_entries.inc.php 27 Nov 2004 22:14:14 -0000 1.11
+++ functions_entries.inc.php 29 Nov 2004 09:55:11 -0000 1.12
@@ -1604,7 +1604,7 @@
<body style="padding: 0px; margin: 0px;">
<div id="mainpane" style="padding: 0px; margin: auto; width: 99%;">
- <div id="content" style="padding: 0px; margin: 0px;">
+ <div id="content" style="padding: 0px; margin: 0px; height: 100%">
<?php
// We need to restore GET/POST variables to that depending plugins inside the iframe
// can still fetch all that variables; and we also tighten security by not allowing
|