Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20349/include
Modified Files:
plugin_internal.inc.php
Log Message:
These things just keep sneaking in, sorry about that
Index: plugin_internal.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/plugin_internal.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- plugin_internal.inc.php 24 Nov 2004 18:44:32 -0000 1.7
+++ plugin_internal.inc.php 24 Nov 2004 18:52:21 -0000 1.8
@@ -751,8 +751,9 @@
$base = $serendipity['serendipityHTTPPath'];
}
+ $link = $base . ($serendipity['rewrite'] == 'none' ? 'serendipity_entries.php?/' : '') . PATH_ENTRIES;
$text = (($_SESSION['serendipityAuthedUser'] === true) ? SUPERUSER_OPEN_ADMIN : SUPERUSER_OPEN_LOGIN);
- echo '<a href="' . serendipity_rewriteURL('admin/') . '" title="'. $text .'">'. $text .'</a>';
+ echo '<a href="' . $link . '" title="'. $text .'">'. $text .'</a>';
}
function introspect_config_item($name, &$propbag)
|