<?php
$themeManager = $this->getThemeManager();
$theme = $themeManager->getCurrentTheme();
$stylesheet = $themeManager->getUrlTheme($theme) . $theme->getErrorPageStylesheet();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <link href="<?php echo $stylesheet ?>" rel="stylesheet" type="text/css" />
    </head>
    <body style="background-image:none;text-align:center">
        <div id="login">
            <h1><?php echo $this->getConfig()->get('hometitle') ?></h1>
            <form action="" method="post">
                <p>
                    <?php echo $this->t("main.code_request") ?>
                </p>
                <p>
                    <input type="password" name="key" id="key" style="width:10em;" />
                    <script type="text/javascript">
                        document.getElementById("key").focus();
                    </script>
                </p>
                <p>
                    <input type="submit" class="button" style="width:11em;" value="<?php echo $this->t("main.log_in") ?>" />
                </p>
            </form>
        </div>
    </body>
</html>
<?php
$themeManager = $this->website->getThemeManager();
$theme = $themeManager->getCurrentTheme();
$stylesheet = $themeManager->getUrlTheme($theme) . $theme->getErrorPageStylesheet();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <link href="<?php echo $stylesheet ?>" rel="stylesheet" type="text/css" />
    </head>
    <body style="background-image:none;text-align:center">
        <div id="login">
            <h1><?php echo $this->website->getConfig()->get('hometitle') ?></h1>
            <form action="" method="post">
                <p>
                    <?php echo $this->website->t("main.code_request") ?>
                </p>
                <p>
                    <input type="password" name="key" id="key" style="width:10em;" />
                    <script type="text/javascript">
                        document.getElementById("key").focus();
                    </script>
                </p>
                <p>
                    <input type="submit" class="button" style="width:11em;" value="<?php echo $this->website->t("main.log_in") ?>" />
                </p>
            </form>
        </div>
    </body>
</html>
Fix page where site key is entered
Fix page where site key is entered
