[Pmwiki-users] Logo link to home only live if not home
Patrick R. Michaud
pmichaud
Thu Apr 1 11:16:45 CST 2004
On Wed, Mar 31, 2004 at 07:15:10PM -0700, H. Fox wrote:
> Is there a way to have the $PageLogoFmt not be redundant link?
> That is: if you are already on the main page(*) it's only an image,
> otherwise it's a link to the main page...
> (*) Where main page == wiki/ or wiki/pmwiki.php
if ($pagename=='' || $pagename=='Main.HomePage')
$PageLogoFmt = "<img src='\$PageLogoUrl' alt='\$WikiTitle' border='0'>";
Pm
More information about the pmwiki-users
mailing list