]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
new feature: add welcome message (configured in config file)
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Fri, 11 Jan 2008 08:35:12 +0000 (08:35 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Fri, 11 Jan 2008 08:35:12 +0000 (08:35 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@7 b3834d28-1941-0410-a4f8-b48e95affb8f

config.inc.php.example
scuttle.css
templates/top.inc.php

index c78f3610d4c0ce3c5377d805d742677c60e888e2..648f03d5c5f963add3500840a59cdd227259f842 100644 (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';
index e22914036b97a30c4a03d4cc81e8437a593dc2f1..4ab1da12b999b90c177bba89e7ef101bd6a591be 100644 (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;
 }
index 64213fd25fa5303a6d619574a4588d38ce223bd6..28fa4fcb489b027387b72a71d1327b2dc8d7f3c1 100644 (file)
@@ -32,6 +32,7 @@ if(isset($_GET['popup'])) {
         $this->includeTemplate('toolbar.inc');
     }
     ?>
+<span id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></span>
 </div>
 
 <?php