Link Search Menu Expand Document

Web templates for $MadelineProto->start()

The web template used for the $MadelineProto->start() and API ID web UIs can be changed.

The change is made in the settings », \danog\MadelineProto\Settings\Templates class.

By default, it is equal to:

<!DOCTYPE html>
<html>
        <head>
        <title>MadelineProto</title>
        </head>
        <body>
        <h1>MadelineProto</h1>
        <form method="POST">
        %s
        <button type="submit"/>Go</button>
        </form>
        <p>%s</p>
        </body>
</html>

The new template must have a structure similar the the default template.

Next section