]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
hide welcome message if it is empty
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sun, 20 Sep 2009 17:11:38 +0000 (17:11 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sun, 20 Sep 2009 17:11:38 +0000 (17:11 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@360 b3834d28-1941-0410-a4f8-b48e95affb8f

templates/bookmarks.tpl.php

index 3cd395320ce65bbe351d3cb79ffa30755748181f..e27bc3e64488bdde262548235e1e2d826b738886 100644 (file)
@@ -16,7 +16,7 @@ $this->includeTemplate($GLOBALS['top_include']);
 include('search.inc.php');
 ?>
 
-<?php if($pageName == PAGE_INDEX):?>
+<?php if($pageName == PAGE_INDEX && $GLOBALS['welcomeMessage']):?>
 <p id="welcome"><?php echo $GLOBALS['welcomeMessage'];?></p>
 <?php endif?>