Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30803
Modified Files:
serendipity_sidebar_items.php
Log Message:
- Rename some constants
- Change wording for some strings
- QuickJump => Calendar
- Superuser => Blog Administration
- $su - => Open administration / Open login screen
- Nuke some more orphaned constants
Index: serendipity_sidebar_items.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_sidebar_items.php,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- serendipity_sidebar_items.php 10 Aug 2004 17:59:30 -0000 1.82
+++ serendipity_sidebar_items.php 14 Aug 2004 11:54:57 -0000 1.83
@@ -34,7 +34,7 @@
{
global $serendipity;
- $title = QUICKJUMP;
+ $title = CALENDAR;
if (!isset($serendipity['GET']['calendarZoom'])) {
if (!isset($serendipity['GET']['range'])) {
@@ -513,7 +513,7 @@
{
global $serendipity;
- $title = SUPERUSER . ':';
+ $title = SUPERUSER;
if ($this->get_config('https', 'false') == 'true') {
$base = str_replace('http://', 'https://', $serendipity['baseURL']);
} else {
@@ -521,8 +521,8 @@
}
$link = $base . ($serendipity['rewrite'] == 'none' ? 'serendipity_entries.php?/' : '') . PATH_ENTRIES;
-
- echo '<a href="' . $link . '" title="' . $title . '">$ su -</a>';
+ $text = (($_SESSION['serendipityAuthedUser'] === true) ? SUPERUSER_OPEN_ADMIN : SUPERUSER_OPEN_LOGIN);
+ echo '<a href="' . $link . '" title="'. $text .'">'. $text .'</a>';
}
function introspect_config_item($name, &$propbag)
@@ -578,7 +578,7 @@
{
global $serendipity;
- $title = POWERED_BY . ":";
+ $title = POWERED_BY;
?>
<div class="serendipityPlug">
<?php if ( $this->get_config('image', 'true') == 'true' ) { ?>
|