aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-11 08:35:12 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-11 08:35:12 +0000
commit9cbba1119c8817ee5b41a8006042daf5b6c49df1 (patch)
tree7ee76b9686236250a5a9e6d7116b39a7644e8d86
parent639d8e15db8e2256b0c4bd7f518c76fe8674c6a7 (diff)
downloadsemanticscuttle-9cbba1119c8817ee5b41a8006042daf5b6c49df1.tar.gz
semanticscuttle-9cbba1119c8817ee5b41a8006042daf5b6c49df1.tar.bz2
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
-rw-r--r--config.inc.php.example4
-rw-r--r--scuttle.css4
-rw-r--r--templates/top.inc.php1
3 files changed, 8 insertions, 1 deletions
diff --git a/config.inc.php.example b/config.inc.php.example
index c78f361..648f03d 100644
--- a/config.inc.php.example
+++ b/config.inc.php.example
@@ -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';
diff --git a/scuttle.css b/scuttle.css
index e229140..4ab1da1 100644
--- a/scuttle.css
+++ b/scuttle.css
@@ -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;
}
diff --git a/templates/top.inc.php b/templates/top.inc.php
index 64213fd..28fa4fc 100644
--- a/templates/top.inc.php
+++ b/templates/top.inc.php
@@ -32,6 +32,7 @@ if(isset($_GET['popup'])) {
$this->includeTemplate('toolbar.inc');
}
?>
+<span id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></span>
</div>
<?php