From 9cbba1119c8817ee5b41a8006042daf5b6c49df1 Mon Sep 17 00:00:00 2001 From: mensonge Date: Fri, 11 Jan 2008 08:35:12 +0000 Subject: [PATCH] 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 --- config.inc.php.example | 4 +++- scuttle.css | 4 ++++ templates/top.inc.php | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) 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'); } ?> +