}
$tplVars['summarizeLinkedTags'] = true;
+$tplVars['pageName'] = PAGE_BOOKMARKS;
$templateservice->loadTemplate($templatename, $tplVars);
#### System ####
$sitename = 'SemanticScuttle'; #The name of this site.
-$welcomeMessage = 'More than tags...'; # The welcome message of this site
+$welcomeMessage = 'Welcome to SemanticScuttle! More than a social bookmarking tool.'; # The welcome message of this site
$root = NULL; # Set to NULL to autodetect the root url of the website
$locale = 'en_GB'; #locale used in /locales/ {de_DE en_GB fr_FR ...}
$cookieprefix = 'SEMANTICSCUTTLE'; # cookieprefix : The prefix to use for the cookies on the site
define('CRITICAL_MESSAGE', 203);
define('CRITICAL_ERROR', 204);
+// Page name
+define('PAGE_INDEX', "index");
+define('PAGE_BOOKMARKS', "bookmarks");
+
+
// Miscellanous
// INSTALLATION_ID is based on directory path and used as prefix (in session and cookie) to prevent mutual login for different installations on the same host server
$tplVars['cat_url'] = createURL('bookmarks', '%1$s/%2$s');
$tplVars['nav_url'] = createURL('index', '%3$s');
$tplVars['summarizeLinkedTags'] = true;
+$tplVars['pageName'] = PAGE_INDEX;
$templateservice->loadTemplate('bookmarks.tpl', $tplVars);
background: url('logo_24.png') no-repeat 10px;
padding: 0.5em 0.5em 0.5em 50px;
}
-html > body div#header #welcome {
+/*html > body div#header #welcome {
position:absolute;
left:75px;
+}*/
+#welcome {
+ border: 10px solid #FFCC00;
+ width: 66%;
+ padding: 10px;
+ text-align:center;
+ font-size: medium;
}
+
+
h1 a {
color: #000;
}
$logged_on_userid = $userservice->getCurrentUserId();
$currentUser = $userservice->getCurrentUser();
$currentUsername = $currentUser[$userservice->getFieldName('username')];
+$pageName = isset($pageName)?$pageName:"";
$this->includeTemplate($GLOBALS['top_include']);
include('search.inc.php');
?>
+<?php if($pageName == PAGE_INDEX):?>
+<p id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></p>
+<?php endif?>
+
+
<?php
if((isset($currenttag) && $GLOBALS['enableCommonTagDescription'])
|| (isset($hash) && $GLOBALS['enableCommonBookmarkDescription'])):?>
}
?>
<? if(!isset($_GET['popup'])):?>
-<span id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></span>
+<!--span id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></span-->
<?php endif; ?>
</div>