<?php
/**
 * Note: Automatic homepage creation is not yet functional.
 */
$UserName = $user->getId();
$DefaultMessage = sprintf(_("Describe %s here."), $UserName);

$UserPreferencesMessage[0] =
    sprintf(_("You can personalize various settings in %s."),
            _("UserPreferences"));
$UserPreferencesMessage[1] =
    _("(Your preferences are stored as hidden data within this page.)");

$CalendarSubpage = sprintf('[%s]', SUBPAGE_SEPARATOR . _("Calendar"));
$calendarMessage = sprintf(_("The %s subpage enables simple weblogging."),
                           $CalendarSubpage);

$BackLinks = sprintf('<'.'?plugin BackLinks ?'.'>');
$FullTextSearch = sprintf('<'.'?plugin-form FullTextSearch s=%s ?'.'>',
                          $UserName);
/**
 * WikiMarkup with embedded PHP follows:
 */
?>
<?php echo $DefaultMessage?>

----
<?php echo $UserPreferencesMessage[0]?>%%%
_<?php echo $UserPreferencesMessage[1]?>_

<?php echo $CalendarMessage?>
----
<?php echo $BackLinks?>
<?php echo $FullTextSearch?>
----
<?php echo _("CategoryHomepage")?>
