[horde] using motd.php

A. Schulze sca at andreasschulze.de
Mon Oct 6 20:12:23 UTC 2014


A. Schulze:

> I like to display different content (hints) on login vs. signup page.
> Both pages use motd.php.
>
> It should be possible to distinguish the context motd is used.
> But no idea about the syntax. Could somebody advise?

was easy, for the archive I answer myself:

<?php if ('/signup.php' == (string)Horde::selfUrl()): ?>
     this is the signup page
<?php else: ?>
     this is the not the signup page
<?php endif; ?>





More information about the horde mailing list