Skip to content

Broken links on Kolibri index #45

@richsegal

Description

@richsegal

I figured this was the best place to report module bugs as they do not have a repository of their own. Please let me know if there is a better place to report this bug.

The Kolibri index module provides links at the bottom of its tile to jump to the Kolibri create account page and Kolibri login page. Both links do not work due to the use of an incorrect syntax for embedding PHP variables in strict literals. The line of code:

echo "
    <p style='margin-left: 130px;'>
        You can <a href='<?php echo $host ?>/user/#/create_account'>create an account to track progress</a>.
        Later, you can <a href='<?php echo $host ?>'>login again and continue where you left off</a>.
    </p>
";

should read:

echo "
    <p style='margin-left: 130px;'>
        You can <a href='$host/user/#/create_account'>create an account to track progress</a>.
        Later, you can <a href='$host'>login again and continue where you left off</a>.
    </p>
";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions