new feature: add welcome message (configured in config file)

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@7 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2008-01-11 08:35:12 +00:00
parent 639d8e15db
commit 9cbba1119c
3 changed files with 8 additions and 1 deletions

View File

@ -39,6 +39,7 @@ $dbname = 'scuttle';
# System Configuration
#
# sitename: The name of this site.
# welcomeMessage: The welcome message (or tagline) of this site
# locale: The locale used.
# top_include: The header file.
# bottom_include: The footer file.
@ -85,7 +86,8 @@ $dbname = 'scuttle';
# reservedusers : An array of usernames that cannot be registered
######################################################################
$sitename = 'Scuttle';
$sitename = 'SemanticScuttle';
$welcomeMessage = 'More than tags...';
$locale = 'en_GB';
$top_include = 'top.inc.php';
$bottom_include = 'bottom.inc.php';

View File

@ -104,6 +104,10 @@ html > body div#header.popup h1 {
background: url('logo_24.png') no-repeat 10px;
padding: 0.5em 0.5em 0.5em 50px;
}
html > body div#header #welcome {
position:absolute;
left:75px;
}
h1 a {
color: #000;
}

View File

@ -32,6 +32,7 @@ if(isset($_GET['popup'])) {
$this->includeTemplate('toolbar.inc');
}
?>
<span id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></span>
</div>
<?php